cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Tamras
Level 10

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

Tamras
Level 10

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,016)