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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,245)