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 / formviwer doesn't work
Power Apps
Answered

formviwer doesn't work

(0) ShareShare
ReportReport
Posted on by 166

I have a summary page with a Gallery to show the data I have submited , and I add another screen to show the form, I have inserted a formviwer in this page, but this page doesn't work. The formviwer item ,I have tryed input  gallery.selected or data source all doesn't work.

Categories:
I have the same question (0)
  • Ricky24 Profile Picture
    166 on at

    Snapshot_2023_8_28_14_37_7.png

    issue picture

  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @Ricky24,

    ViewForm() function only refers to a form name instead of a record value like Gallery.Selected.

    ViewForm(FormName)

     

    In this situation, you just need to add a form control, and set the Item property as:

    Gallery.Selected

    You could also set its default mode as Edit so that it will always display the gallery selected item within.

  • Ricky24 Profile Picture
    166 on at

    Ricky24_0-1693205976027.png

    I add a button and input {viewfrom(formviwer1)}still a error

  • Ricky24 Profile Picture
    166 on at

    and the formViewer doesn't have default mode like new or edit.

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    HI @Ricky24,

    I have a simple demo for your reference:

    1). Set the OnSelect of the navigate icon as below:

    Navigate(ScreenName)

    Note that ScreenName is the screen where your form viewer exists.

     

    2). Then set your FormView the following settings:

    vqiaqimsft_0-1693206977496.png

     

  • Ricky24 Profile Picture
    166 on at

    yes, previously I had an app, the setup is the same as your demo, so I don't why the new APP doesn't work.

    tomorrow I will try it again.

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