cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nmoffatt
Helper III
Helper III

Sharepoint Link to Item broken

My Sharepoint "Link to Item" isn't working. It is now adding spaces instead of "%20", which breaks the link. This only started happening within the last 5 days. Has there been an update or something?

 

Broken link (sent today):

Broken examp.JPG

 

Correct Link (Sent 5 days ago):

Correct examp.JPG

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @nmoffatt,

 

You could use uriComponent() function convert the blank space to "%20", for example:

uriComponent(outputs('Get_item')?['body/{Link}'])

 

Screenshot 2021-01-28 134339.jpg

 

Best Regards,
Community Support Team _ Lin Tu
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

7 REPLIES 7
v-litu-msft
Community Support
Community Support

Hi @nmoffatt,

 

You could use uriComponent() function convert the blank space to "%20", for example:

uriComponent(outputs('Get_item')?['body/{Link}'])

 

Screenshot 2021-01-28 134339.jpg

 

Best Regards,
Community Support Team _ Lin Tu
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

@v-litu-msft , Thanks for the response.

 

I tried that but the email it is sent in still doesn't replace the spaces, although the run history in power automate does show it replaced.

 

Email:

Broken 2.JPG

 

Power Automate Run History:

correct 2.JPG

nmoffatt
Helper III
Helper III

@v-litu-msft  I ended up using the "replace" function instead but you got me thinking down the right track. Thanks!

Hi @nmoffatt ,

 

Could you please show me how you used the replace function to fix the link?

 

Thank you

nmoffatt
Helper III
Helper III

@DTTN 
Yeah no problem. The function is in the picture below:

Solution.JPG

Let me know if it doesn't work for you. Might be a small detail

 

I had to tweak it slightly but it's working for me now. Thank you!!

Just curious, did the 'Link to item' break on just one workflow for you? Or did this happen with all workflows?

 

At the moment I can only see that this has caused an issue with one. Strange?

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,161)