<<If: true>> something <<EndIf>>
will automatically include a comma. So it will produce
something,
That lead to some issues.
If I am missing on using the <If: >> statement, please let me know.
Thanks
Please read this thread
Hi @Phil
Related to https://community.appsheet.com/t/does-a-start-expression-output-a-comma-be/936/8
I understand that adding comma between members of a list will be tricky but “if” statement should not be a problem.
In terms of syntax , can you add new expressions?
E.g <<start1>> or <<if1>> and within those new expression, no comma will be added. That will be similar to how frameworks introduce new functions without breaking old ones.
Thanks @Marc_Dillon for the link.
Hi @Steven_Aung just wondering if you found a solution or workaround to this problem in a JSON template?
I've encountered this issue with a Webhook POSTING JSON to a external API. I want to control the value of a specific JSON property based on the value of an Appsheet field, like so:
// rest of JSON template omitted for brevity
Just FYI for anyone finding this thread, I raised the issue with Appsheet support, who gave the solution of replacing <<If>><<EndIf>> with an Appsheet If() expression. This worked in my case of a webhook posting a JSON Payload to an external API, so just sharing here in case it helps others.
User | Count |
---|---|
40 | |
34 | |
29 | |
23 | |
17 |