Hello everyone,
I am working on a custom app that involves a dropdown list populated via an RPC call. Once an option is selected from the dropdown, the selected value needs to be passed as a query parameter to a second RPC call. This second call should then return dynamic fields based on the selected option. The RPC call should be triggered every time the dropdown option is changed.
Here is my code
[
{
“name”: “collectionName”,
“type”: “select”,
“label”: “Collections”,
“mappable”: false,
“required”: true ,
“options” : {
“store”: “rpc://getListOfCollections”
},
“mode” : “edit”
},
“rpc://getAttributesOfCollection”
]
- selected collectionName should be passed to “rpc://getAttributesOfCollection”
Could anyone assist me with resolving this issue?
Thank you.