cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Get data from project online

Hi everyone,

I see that I could get data from project server, I tried it but I get nothing

So I did: ProjectOnline.ListProjects("sharepointsitexxxx/sites/Projects/default.aspx") and that returns an empty item

I've some projects on my server and I don't have error message

Someone know the reason of my empty item?

 

Many thanks in advance

3 REPLIES 3
Highlighted
Helper I
Helper I

Re: Get data from project online

You will need to append to the end to include ".value" (without the quotes, of course)

 

ProjectOnline.ListProjects("sharepointsitexxxx/sites/Projects/default.aspx").value

Hoping this helps you.

Highlighted
Helper I
Helper I

Re: Get data from project online

Whoops!

 

Meant to remove the "default.aspx" from the URL.

 

ProjectOnline.ListProjects("https://YourSiteGoesHere.sharepoint.com/sites/Projects").value

 

Highlighted
Helper II
Helper II

Re: Get data from project online

Thanks you for your quick answer

I used the command: ProjectOnline.ListProjects("https://mysite/sites/pwa/").value (I tried with or or without / and others tests) but I have the message : Erreur Http(code 401) return by the server

But I'm log with my account which has acces to this site and when I copy and past the link, I reach my site

Any idea?

 

Thanks in advance

 

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,555)