Hey, here I have a really difficult one, I hope somebody can help me to solve my problem.
I have a flow, that creates the translation of the canvas content of a sitepage.
Most of the content of the page underneath
webPartData.searchablePlainTexts is working fine, e.g. the title (items('Alle_Webparttitel_übersetzen')?['webPartData']?['serverProcessedContent']?['searchablePlainTexts']?['title']) can we translate and replace it later (Replace Canvas Content).
But if you have e.g. the webpart type of "quicklinks", then you got under searchablePlainTexts
an object with dynamic values. e.g. "searchablePlainTexts": { "title": "Weiterführende Links",
"items[0].description": "Die Webseite ist grün.",
"items[1].description": "Die Übersetzung muss getan werden",
"items[0].title": "Weiterleitung zu einer Webseite",
"items[1].title": "bitte übersetzten"
}
If we setup a description the the link, then the item[*].description appears or not.
can you help me to create from this object an array to create the translation of the titles of the links itself?
Examples could also be like this:
{
"title": "Weiterführende Links",
"items[1].description": "Die Übersetzung muss getan werden",
"items[0].title": "Weiterleitung zu einer Webseite",
"items[1].title": "bitte übersetzten",
"items[2].title": "Another linktitle",
"items[3].title": "Another linktitle 2"
}
If that is done we need again the searchablePlainTexts as an object in that format you see in the examples.
I hope somebody can help me with my problem.