New answers tagged

0

I found my answer. Started playing around with it by only loading PS.js, but when trying to do a simple const ctx = new PS.ProjectContext('https://server/pwa/my-pwa-instance'); I got a reference error 'SP' is not defined. So if SP is required, I figured all the other dependencies are required as well. private componentDidMount = (): void => { ...


0

Try using it like below: https://XXX.sharepoint.com/sites/pwa/_api/ProjectServer/Projects?$filter=(Id eq guid'xxxx' and Tasks/Name eq 'xyz')&$select=Id,Name,StartDate,Tasks/Id,Tasks/Name&$expand=Tasks


0

You could try flipping the query around to use the Project ID as a filter, like: /_api/ProjectServer/Projects?$filter=Id eq guid'xxxxxxxx'&$select=Tasks&$expand=Tasks


Top 50 recent answers are included