estruyf / node-sp-alm

SharePoint solution ALM actions
MIT License
7 stars 0 forks source link

Sites and AbsoluteURL options not working #1

Open DarrenXu94 opened 4 years ago

DarrenXu94 commented 4 years ago

Hi,

I'm trying to use gulp to deploy my spfx component to a specific site catalog. I have changed my config to

const spAlm = new sppkg.ALM({ "username": "your-username", "password": "your-password", "tenant": "your-tenant-name (ex.: contoso)", "site": "sites/foo", "verbose": true });

and have also tried

const spAlm = new sppkg.ALM({ "username": "your-username", "password": "your-password", "tenant": "your-tenant-name (ex.: contoso)", "absoluteURL": "https://my-tenant-name.sharepoint.com/sites/foo" "verbose": true });

but the extensions are ignored and it adds the app into the root site

estruyf commented 4 years ago

I do not see anything wrong with the config, but how are you using the add/deploy methods? Did you specify the optional parameter?

Screenshot 2020-09-28 at 13 59 42