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 / Is it possible within ...
Power Apps
Answered

Is it possible within PowerApps to launch an attachment without having a form

(0) ShareShare
ReportReport
Posted on by 1,302

Hi 

 

Is it possible to be be able to launch a an attachment without being in a form ?

 

So rather than ThisItem.{Attachments}.AbosluteUrl cannot I :-

Set(ListId,Lookup(<listname>, title=varGUID));

Launch(ListId.{Attachments}.AbsoluteUrl)

 

That way I can check to see if there is an attachment without the hassle of having a form.

 

Having 3 or 4 of these forms on the screen is a nightmare getting them lined up and not overlapping each other.

 

Better to get the ListIDs of the forms and then having a OnSelect event of a text or html box that has the Launch command on  it.

Also would not be getting the dreaded "Getting Your Data" message if did not use the form and there was not an attachment.

 

Thanks

 

Nigel

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @NigelP ,

     

    Could you tell me:

    Do you want to use a combo box control to display all attachments?

    When using combo box control to select an attachment, do you want to press the button to open it?

     

    If my assumptions are correct, please try the formula below:

     

    1\ Add a button control and set its onselect property to:

    ClearCollect(Test,0);ClearCollect(Test2,Filter(Ungroup(ForAll(Sequence(CountRows(your list name)),Collect(Test,Last(Test).Value+1);Last(FirstN(your list name,Last(Test).Value)).Attachments),"Value"),!IsBlank(Id)))

     

    2\ Add a combo box control 'ComboBox1' and set its Items property to:

    Test2

     

    3\ Add a button control and set its onselect property to:

    Launch(ComboBox1.Selected.AbsoluteUri)

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard