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 / PowerApp Sharepoint cu...
Power Apps
Suggested Answer

PowerApp Sharepoint customised form different screens onnew and onedit

(0) ShareShare
ReportReport
Posted on by 37
I have been following https://www.youtube.com/watch?v=CSSRR3FPAMs video and I am trying to get this working better but for some reason it isnt working on Sharepoint.Integration OnNew I have the following code
Launch ("https://apps.powerapps.com/play/e/default-tenantID/a/AppID", {skipAppMetadata: "true", hidenavbar: "true", Navigate: "NewForm"},
LaunchTarget.New);
RequestHide();
and this works fine for new items as it loads the Newform screen.
On Sharepoint.Integration OnEdit I have the following code
Launch ("https://apps.powerapps.com/play/e/default-tenantID/a/AppID", {skipAppMetadata: "true", hidenavbar: "true", Navigate: "UpdateForm",ItemID:SharePointIntegration.SelectedListItemID},
LaunchTarget.New);
RequestHide();
 
But this just loads a new form not the update form there are no errors in the formulas any help gratefully appreciated
Categories:
  • Suggested answer
    Zdenka_Cech Profile Picture
    101 on at
    Hi there
    check the setup of the form Item is with the lookup parameter ItemID. It is around the 11minute and on. And the defaultMode is also set with the condition for Param.
    *Zdenka
  • Gskinner76 Profile Picture
    37 on at
     
    Yes I have done that bit it shows as LookUp('Tickets', ID = Value(Param("ItemID"))) but still doesnt work.  Some more information that might help is the reason I am doing it this way is because I have a requirement that the form opens in full screen or browser mode rather than a pop up window.  I NewForm and Updateform are in the same app just different screens.
     
    I can get the correct screen to pop up if I use the below lines on sharepoint.integration on edit and onnew
    Set(SharePointFormMode, "EditForm"); EditForm(SharePointForm1_1); Navigate (UpdateForm,ScreenTransition.None) 
     
    Set(SharePointFormMode, "CreateForm"); NewForm(SharePointForm1_1); Navigate (NewForm,ScreenTransition.None)
     
     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard