cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Fetching attachment name

attachattach

 

My user will be uploading attachment in the above shown "Attachments" field and i need give some logic that will take the name of that attachment and show in "PO Number" column as shown above (all before submitting form)

 

Any way out ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hi @vish_p

 

I am not sure I understand your full requirement, but if you would to get a handle on the name of the attachement that is currently selected in the Form, you can check what the Card Value control name is, and then use the following formula to extract the name.

First(DataCardValue2.Attachments).Name

 

Let me know if you don't come right.

 

twitter: @dawidvh

youTube: https://www.youtube.com/channel/UCIMe_ErQZP5chbI9UyW0xLw

>>If you found this reply helpful, please mark this as the answer to close the topic and make it easier to find for other people with similar questions.<<

View solution in original post

3 REPLIES 3
Super User II
Super User II

Hi there.

 

You can use the following to get the displayname

First(First(Filter('AttachmentsList',ID = ThisID)).'{Attachments}').DisplayName

Let me know if you don't come right.

 

Highlighted

i guess this is taking the name of attachment which is already there in that list item/after uploading attachment ,but my requirement is to fetch the name of attachment that user want to upload and selected that attachment in the "attachments" field but not yet uploaded

@DavesTechTips

Highlighted

Hi @vish_p

 

I am not sure I understand your full requirement, but if you would to get a handle on the name of the attachement that is currently selected in the Form, you can check what the Card Value control name is, and then use the following formula to extract the name.

First(DataCardValue2.Attachments).Name

 

Let me know if you don't come right.

 

twitter: @dawidvh

youTube: https://www.youtube.com/channel/UCIMe_ErQZP5chbI9UyW0xLw

>>If you found this reply helpful, please mark this as the answer to close the topic and make it easier to find for other people with similar questions.<<

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (4,347)