I have a flow built in my app that will allow the user to export the filtered gallery to excel. I have tested the function with ignoring unsupported types using the code below:
ClearCollect(
colOrderExport,
OTT_Gallery.AllItems
);
Set(
varFileLink,
'PowerApp->OrdersTask'.Run(
JSON(
colOrderExport,
JSONFormat.IncludeBinaryData & JSONFormat.IgnoreUnsupportedTypes
)
)
)
But there are data that needs to be included and when I do not ignore unsupported types I get the error of "The JSON function cannot serialize tables / objects with a nested property called 'Icon' of type 'Control'.
I've tried a different method to get the columns I want but the column name references a 'Control'.
ClearCollect(
colOrderExport,ShowColumns(
OTT_Gallery.AllItems,
"Task#"
)
);
Set(
varFileLink,
'PowerApp->OrdersTask'.Run(
JSON(
colOrderExport,
JSONFormat.IncludeBinaryData
)
)
)
There are controls that have data in them that I would like to have in the excel sheet.
Is there a way I can include the data in the controls in my excel sheet when I export?