cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

Attachments in DataTable

Is there a way to change the text when including attachments in the datatable? I'm getting appres://datasources.... rather than the file name with extension

 

I can't figure out where to place this First(DataTable3.Selected.'{Attachments}').DisplayName

It displays the name I want but not where I want it. We are also on GCC account and recently found out not everything is available in GCC. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Attachments in DataTable

Hi @Tamras ,

 

What is the data source of this data table? Is it a SharePoint list? I think this cannot be achieved so far. I just checked and for the attachment field in data table, there is no such property to change the display data. 

Capture.JPG

 

Regards,

Mona

 

So, if you want to show the items' attachments' displayname, please try to use a Gallery control instead. Insert a list box control in the first part of the gallery and set its Items property to:

ThisItem.Attachments.DisplayName

1.JPG

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Attachments in DataTable

Hi @Tamras ,

 

What is the data source of this data table? Is it a SharePoint list? I think this cannot be achieved so far. I just checked and for the attachment field in data table, there is no such property to change the display data. 

Capture.JPG

 

Regards,

Mona

 

So, if you want to show the items' attachments' displayname, please try to use a Gallery control instead. Insert a list box control in the first part of the gallery and set its Items property to:

ThisItem.Attachments.DisplayName

1.JPG

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Kudo Kingpin
Kudo Kingpin

Re: Attachments in DataTable

Thanks @v-monli-msft I figured it was imposibble so I started exploring gallery. I'm glad I was on the right track.  

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,104)