Hello everyone,
I have (in my opinion) strange behavior in PowerApps, JSON function.
1. First, I'm creating Collection (CBCOLLECTFIN) by filtering SPList (CB-Cashbook_tbl) - it is OK. Working
2. Then, creating another collection (CBTEMP) by using DropColumns functions, which drops some columns from Collection (CBCOLLECTFIN):
ClearCollect(CBTEMP,DropColumns(CBCOLLECTFIN,"AWB_date","Account","Author","AutoNumber","ComplianceAssetId","DDS","EGN","Editor","Modified","Invoice","Product","Invoice_Billing","{Path}","{FilenameWithExtension}","{FullPath}","{Identifier}","{IsFolder}","{Link}","{ModerationComment}","{Name}","{Thumbnail}","{TriggerWindowEndToken}","{VersionNumber}","{ModerationStatus}","{TriggerWindowStartToken}")); - it is OK. Working
3. Navigate to another screen Navigate(DateRequestForm_FIN)
4. In this new screen, I have button.
OnSelect event is:
Set(varFormattedJSON,JSON(CBTEMP,JSONFormat.IndentFour));
EXPORTTOCSV.Run(varFormattedJSON)
PowerAutomate is working and creates CSV file successfully.
The problem is, that in this file there is no field "Supplier". There is no such field and in the variable varFormattedJSON.
In CBTEMP collection there is such field. After this command - Set(varFormattedJSON,JSON(CBTEMP,JSONFormat.IndentFour));
this field has gone.
Thanks in advance
Dimo Petkov

Report
All responses (
Answers (