SDM IT 7/10/2022 6:13:33 AM Hi Pierre,
Thanks for the pointer! I did come across this writing and have used the passthrough blocks in Call URL. What I was hoping is that I can put the whole JSON data construction into a formula-JSON column, and then in the Call URL body uses just a single <%...%>. That way when we edit the content we don't have to go to edit the action which requires to and flo from columns to actions. But after I posted the suggestion, I found that the formula-XHTML can take JSON data like this:
{ "D/T Connect": "<%Format(Now(),'yyyy-MM-ddThh:mm:ss')%>", "Id": "<%[Id]%>", "Name": "<%=[Nama]%>", "Mobile Tel": "<%=[Mobile Tel#]%>", "Foto URL": "<%=[Foto URL]%>" }
The result JSON text is correct like this:
{ "D/T Connect": "2022-07-10T06:02:10", "Id": "4", "Name": "Ilfan Nugroho", "Mobile Tel": "+6281281581158", "Foto URL": "https://sudamanik.teamdesk.net/secure/db/99999/image.aspx?fid=36349703" }
But the formula looks a bit unsightly:
'{\n\t"D/T Connect": "'&XHtml(Format(Now(),'yyyy-MM-ddThh:mm:ss'))&'",\n\t"Id": "'&XHtml([Id])&'",\n\t"Name": "'&XHtml(Nz(ToText([Nama])))&'",\n "Mobile Tel": "'&XHtml(Nz(ToText([Mobile Tel#])))&'",\n "Foto URL": "'&XHtml(Nz(ToText([Foto URL])))&'"\n}'
I think if TD can drop the XHTML (meaningless here) it would be perfect.
By the way, I have tried a few more no-code tools and am trying FlutterFlow now.
|