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 / 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.

Snapshot_2023_8_28_14_39_46.png
Snapshot_2023_8_28_14_43_0.png
Categories:
  • Ricky24 Profile Picture
    166 on at

    Snapshot_2023_8_28_14_37_7.png

    issue picture

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee 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
    Microsoft Employee 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

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 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard