Notifications
Announcements
Hi everyone
I'm trying to checkin/Checkout a project to be able to edit it
So I use these functions :
ProjectOnline.PublishProject(Gallery1.Selected.Id;"https://SharepoinSite.com/sites/pwa/Projects.aspx")
ProjectOnline.CheckoutProject(Gallery1.Selected.Id;"https://SharepointSite.com/sites/pwa/Projects.aspx")
The function Checkout works well but when I tried to publish (so check in) my project I get the following error message: Error Http(code 0) returns by the server
Any idea of what I'm doing wrong?
Thanks
Hi @freedumz,
Not sure why your CheckOut process worked but according to below documentation, the URL should be on the first position and project id should be the last one.
https://www.carlosag.net/PowerApps/Connectors/Project-Online#_Toc492EB964PublishProject
ProjectOnline.PublishProject (string siteUrl, string project_id)
Please try to change the order and see if you still get the error.
Regards,
Mona
Hi @v-monli-msft
Thanks for your quick answer but now I have a new error: u is null and when your write Publishproject, powerapps gives this order: (ProjectID, site URL)
No one has an idea?
Nobody has never publish a project with app?
I have the same error message with Flow
I tried to hardcode my project ID but I have always the same error: "u is null"
i have the same problem: ProjectOnline.PublishProject("https://ind.sharepoint.com/sites/pwa/Projects.aspx";lb_IDProj.Text) or ProjectOnline.PublishProject(lb_IDProj.Text;"https://ind.sharepoint.com/sites/pwa/Projects.aspx") maintaining the project in check out....and the message said me: {"status code": 404 "message": "resource not found"}
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268