cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Form Detail not Visiable once running App

The follow is a test app to view certain data

 

The first Gallery is Master dataset (Test Companies) connect to Sales data in a one to many relation

Test Company.JPG

And the second Gallery (Test Sales)has its items set to:

Filter('Test Sales','Company Name'.'Company Name'=Gallery1.Selected.'Company Name')

And all that works great. However the detail form has its items set too:

Gallery2.Selected

Sales Form1.JPG

 

Everything seems like it should work, but once I run the App I get this:

Run Form.JPG

 

I cannot see the details Form no matter what I try, unless I use the NewForm function, which is not helping.

 

Any Ideas?

 

Regards

4 REPLIES 4
Highlighted
Super User
Super User

Re: Form Detail not Visiable once running App

Hi,

 

This looks like you are using an Edit form, rather than a Display form - with the Display Form, it only needs to have the selected item from the gallery, but with an Edit form you would need to use the EditForm(formName) function to edit that item.

 

If you are only looking to use the View functionality to view the details of that order, then you should insert a Display form:

image.png

 

Could you try that and let me know if you're able to make that work for you?

 

Thanks,

ManCat


@iAm_ManCat

Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Highlighted
Community Support
Community Support

Re: Form Detail not Visiable once running App

Hi @JasonF ,

If you are using an edit form, you need to set the form's DefaultMode TO FormMode.Edit.

Or you could also use display form, like @iAm_ManCat  talked.

I think you need to know more about form's mode.

Now let me tell you:

1)Form has three modes: edit ,new and view.

 

2)If you use edit form, its default mode is edit.

The form is used to edit one existing record.

In this situation, you need to set the form's item to one spefic record, or else it will display "No item to display".

If you set the edit form's mode to new, then you do not need to set its item property. In this situation, the form is used to create new record.

Please note that it you submit the form, the form's mode will change back to edit automatically.

 

3)If you use display form, its default mode is view.

In this situation, you need to set the form's item to one spefic record, or else it will display "No item to display".

The form is used to diplay one item's detail information.

 

Here's a doc about these three forms for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-form

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper III
Helper III

Re: Form Detail not Visiable once running App

Hi ,

Thank you for time and consideration. I thought I understood forms pretty good, but I am just a novice user. I just wanted to clarify a few things in the hopes of getting a solution:

1. The default mode of the form is FormMode.Edit

2. The button shown in the screen above executes a EditForm(Form1) command on the form, with no effect

3. The Items of the form is set to the above gallery Gallery2.Selected, so the form should be seeing a item

4. I have also used the View Form with the same results.

 

I hope this clarifies some of my problems. I do not want to create a record. I simply want to see the details of the gallery above and thought it would be super simple.

 

Helper III
Helper III

Re: Form Detail not Visiable once running App

Correction: I tried this with a Display Form not  View Form(FormMode.View)

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,196)