cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vish_p
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

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
DavesTechTips
Super User
Super User

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.

 

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

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (53,552)