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.
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
Proud to be a Flownaut!