web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Checkout/CheckIn A pro...
Power Apps
Unanswered

Checkout/CheckIn A project

(0) ShareShare
ReportReport
Posted on by 69

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

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    on at

    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

  • freedumz Profile Picture
    69 on at

    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)

  • freedumz Profile Picture
    69 on at

    No one has an idea?

  • freedumz Profile Picture
    69 on at

    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"

  • Emerald64 Profile Picture
    22 on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard