cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
edgar3tres
Level: Powered On

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
Level 10

Re: Attachment expression

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.

edgar3tres
Level: Powered On

Re: Attachment expression

@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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (7,530)