cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tom_Slosse
Memorable Member
Memorable Member

Usage of the ETag

Hey all,

 

 

In my Flow at one point I want to send a link that opens a generated word document in Microsoft Teams in View mode.

I found a way to open it but everytime the document opens I get an error.

 

 

So I need a link like this, with the ETag in Bold:

https://teams.microsoft.com/_#/docx/viewer/teams/https:~2F~2F<tenant>.sharepoint.com~2Fsites~2F<TeamName>~2FDocuments~2F<FolderName>~2F<FileName>.docx?threadId=19:<Channelid>@thread.skype&baseUrl=https:~2F~2F<tenant>.sharepoint.com~2Fsites~2F<SiteName>&fileId=285CAB80-E9E9-441E-822C-3A486EDFA7F4&ctx=files&viewerAction=view

So I retrieve the ETag from the previous step that contains the creation of a document.

But when my flow runs the ETag is returned this way in the link:

"{A6994BF5-8008-46C0-8BA4-970435CD2AD3},1"

So now my question is how can I get rid of the quotes and brackets so I only have the ETag numbers.

If this can be solved my Flow would be finished finally.

 

Thanks in advance

 

Kind regards

 

 

Tom



If this reply has answered your question or solved your issue, please mark this question as answered.

Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

1 REPLY 1
ChristianAbata
Super User II
Super User II

hi @Tom_Slosse  you can use now the expressions replace to delete all the quotes and brackets , like this

replace('Your STRING', '{') or replace('Your STRING', '"') to replace the quotes



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,024)