cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
edgar3tres
Helper II
Helper II

Attachment expression

I'm using this expression join(split(items('Apply_to_each_2')?['AbsoluteURi'],' '),'%20')

 

but there's no new line break between attachement links, is there a way I can get a new line break between them? I'm populating a word document but the attachment links show like the picture attached instead of 

 

https://xxxxxxxx/sites/xxxxxxxx/Lists/xxxxxx/Attachments/16/DWU%20Colony%20Water%20Supply%20Line.kmz

https://xxxxxxxx/sites/xxxxxxxx/Lists/xxxxxx/Attachments/16/Image%202019-03-29%20at%203.03.20%20AM.jpeg

https://xxxxxxxx/sites/xxxxxxxx/Lists/xxxxxx/Attachments/16/Image%202019-03-29%20at%203.03.20%20AM.jpeg

 

Also, is there a way to replace all that link with somethinh shorter like:

Link1

Link2

Link3

attachments.PNG

2 REPLIES 2
v-zhos-msft
Solution Sage
Solution Sage

Hi @edgar3tres ,

I suggest you use replace(items('Apply_to_each_2')?['AbsoluteURi'],' ','%20'for a try.

I have made a test on my side, and it can keep the line break.

Capture2.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-zhos-msft I tried using your expression but I'm still getting the same issue it doesn't add a new line between Links.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,193)