I was trying to use RPC in interfaces but it seems not to work, even if I simplify it as much as possible:
RPC:
{
"response": {
"output": {
"name": "order",
"type": "text"
}
}
}
Interface:
[
"rpc://getFields"
]
It’s supposed to worked, as described here: https://integromat.gitbook.io/apps/app-blocks/interface#dynamic-interface-using-rpc
If I use it as mappable parameters, it works well. Any ideas ?
GIGO
2
Hey Claire_Champourlier
Your RPC and Interface looks correct.
Are you sure the name of the RPC and what you call in the interface is the same? (See first image)
- Also, whenever you do something to your code in the RPC, please [Test RPC].
- Delete the module in the scenario and re-add the module with the RPC.
- Then save the scenario, reload the scenario and test again.
I have observed that the RPC data takes a min or so the first time, befor it shows.
RPC:
Interface:
Scenario:
/Riko
1 Like
Thanks @GIGO ! Removing and adding the module did not help but starting fresh from a new scenario worked !
GIGO
4
Great, glad I could help or at least inspire.