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

Announcements

News and Announcements icon
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
    Microsoft Employee 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 432

#2
Valantis Profile Picture

Valantis 362

#3
timl Profile Picture

timl 337 Super User 2026 Season 1

Last 30 days Overall leaderboard