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 / 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:
I have the same question (0)
  • 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

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