Hi all,
I was trying to send a table to power automate.
The table has around 15 columns.
I have used showcolumns functions to list out the 10 columns that I needed.
But when it reach power automate, it only received 4 of them.
my code is like :
myfunction.Run(
Thanks a lot! @a33ik
The textbox can only show 3-4 columns , but I got the idea.
Eventually I have to create a hidden gallery for this table and add textboxes for all the columns.
Then I used JSON(Gallery1.AllItems, JSONFormat.IgnoreUnsupportedTypes) to call back the json string and pass to Power Automate.
Works Now!
Did you check if it get properly serialized at the first place? Like adding textbox to the app and assigning
JSON(
ShowColumns(
mydatasource,
GUID,
'Line No',
Number_text,
name,
Description,
Quantity,
Currency,
Amount,
ExchangeRate,
'Unit Cost',
submissiontypevalue
)
)
to the Default property?
Thanks for pointing out.
It is just a typo when I copy the script to here.
My script would have failed and not receive anything on the Power Automate end if I missed the quotation marks.
myfunction.Run(
Your Unit Cost field has space inside your formula. Shouldn't it be 'Unit Cost'? Are you sure your formula is exactly what you use in your app? I doubt it is.
WarrenBelz
146,653
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional