cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DeemaEmadaldin
Helper II
Helper II

Display Issue

Hello,

 

When I'm submitting the form (figure 1) nothing is shown in the second screen (figure 2).

The DefaultMode is : FormMode.New

 

Figure 1Figure 1Figure 2Figure 2

4 REPLIES 4
CNT
Super User
Super User

@DeemaEmadaldin Can you please share the code in the OnSelect of the tick icon.

StalinPonnusamy
Community Champion
Community Champion

Hi @DeemaEmadaldin 

 

Since the default mode is new. your screen/form will be empty. We need 3 properties to make a form behave appropriately. 

 

  1.  The form (2nd form) needs to set EditForm(FormName) // or ViewForm(FormName) based on what you are looking for
  2. Item property
  3. DataSource

For example, You are navigating from Screen 1 to Screen 2. You need to capture the ID of the saved record. So that we can show the record on screen 2.

 

In screen 1, Capture the ID that data saved recently by Set OnSuccess Property of EditForm to

Set(IDFromScreen1, FormName.LastSubmit.ID)

Item Property on screen form should be 

LookUp(DataSource, ID = IDFromScreen1)

 

Hi @StalinPonnusamy 

 

Sorry but I'm new to PowerApp, can you please tell me where I can get the ID?

Hi @CNT ,

 

Navigate('DCV for FAHU- Edit'), which is the screen 2.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,387)