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 / how to get data in vie...
Power Apps
Unanswered

how to get data in view form from SP list

(0) ShareShare
ReportReport
Posted on by 30

please tell me;

How to get the data from SP list.

I want to make some screen regarding to new, edit and view. And if it make new file or title, it effect on view screen.

 

here are details;

I insert Forms, then choose data source:SP list, and i select Fields.

I added field, but it seems it can't have the data.

attach.PNG
I have the same question (0)
  • v-monli-msft Profile Picture
    on at

    Hi @tsunatsuna ,

     

    It seems that you are using the custom form created from SharePoint list. If so, may I know why you want to have 3 screens just for different display mode of Form control? Because by default, the custom form should have one form, and it will change its mode to View/Edit/New according to what user select on SharePoint list interface.

     

    See more information about custom form here:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/customize-list-form

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-form-integration

     

    But if you insist to do so, you could follow below steps to achieve this:

    1. Set below formula in the OnView property of SharePointIntegration control:

    ViewForm(SharePointForm1);Navigate(showscreen,None)

    2. Then set below formula in the Item property of FormViewer1:

    If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First('YourListName'),SharePointIntegration.Selected)

     

    Regards,

    Mona

  • tsunatsuna Profile Picture
    30 on at

    Thank you so much!@

     

    I would like ask you two more things;

    1.

    I made a FormViewer, and I set action (sharepointintegration>advanced>action>ViewForm).

    But error occur like this;

     the function expects an editable form as its input,

     the function has some invalid arguments.

     

    2.

    I set OnSelect action which Launch(ListBox1.Selected.AbsoluteUri & "?web=1"), meaning I can open attached file in online.

    But I think it depends on whether Form and action. I made two form and two action.

    sharepointintegration>advanced>action>ViewForm(Formname): not available Onselect(I can't click and can't open file)

    sharepointintegration>advanced>action>EditForm(Formname): available Onselect(I can click and open file)

    I want to use ViewForm and when I click attached file I can open the file online.

    please tell me how to solve this.

    eroor.PNG
  • tsunatsuna Profile Picture
    30 on at

    @v-monli-msft 

     

     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 445

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 321 Super User 2025 Season 2

Last 30 days Overall leaderboard