Nov 10 2022 12:42 AM
Hi!
I want to display a field Text1 in the header of the flow launcher.
I tried to add this filed in actionParams -> headerText but failed.
Could you help me please, how can I display content from this field?
Nov 10 2022 03:35 AM
@Pavel48n0sh yes this is possible but Microsoft have changed the way the headerText works. Previously you could have a lot of characters and the text would wrap. But that has been changed to a maximum of 30 characters after which you get ...
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"txtContent": "Change Created By to name of page contact",
"customRowAction": {
"action": "executeFlow",
"actionParams": "='{\"id\":\"50097cde-b800-4c6c-ade9-95be7574f4e5\", \"headerText\":\" ' + [$Title] + '\",\"runFlowButtonText\":\"Go\"}'"
},
"style": {
"background-color": "#cf000f",
"color": "white",
"border-radius": "10px"
}
}
Rob
Los Gallardos
Microsoft Power Automate Community Super User