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 / Power Apps Form - User...
Power Apps
Unanswered

Power Apps Form - User to add SharePoint File Location

(0) ShareShare
ReportReport
Posted on by 9

I've designed a Power Apps form that requires users to include the URL link to a specific folder within SharePoint so the receiver of the form can go directly to that folder & in the future I'll be utilizing this URL to Power Automate further.

 

My question - is there a better design such as a File Directory the user can select from rather than copying and pasting large URL links into a form text box?

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @JFrench ,

     

    Do you want to retrieve data based on the file storage structure of the library(Just like in SharePoint)?

    Do you want to auto-populate the textinput control based on the user's selection in Gallery?

    If so,please try this solution:

     

    1\My library is picc

    2\Add a Gallery and set it's items property to

    If(CountRows(TheLog)=0,Filter(picc,CountRows(Split('Folder path',"/"))=2),Filter(picc,'Folder path'=Last(TheLog).Value)) /*TheLog is my custom collection*/

    3\Set the left arrow's OnSelelct property to:

    If(ThisItem.IsFolder,Collect(TheLog,ThisItem.'Folder path'&ThisItem.'File name with extension'&"/"))

    vbofengmsft_0-1668478774929.jpeg

     

    4\Add a button and set it's OnSelelct property to

    Clear(TheLog)

    Text

    "Return to the root directory"

    vbofengmsft_1-1668478775085.gif

     

    5\Set the textinput control's Default  property to

    GalleryName.Selected.'Link to item'

     

    Best Regards,

    Bof

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard