Custom App dynamic fields

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.

Hi @Apoorva_Jakati,

It seems you would like to use nested RPC’s. I.e. an RPC that is triggered based on an input that is given by in the UI (the dropdown option). Read the following documentation: https://docs.make.com/apps/app-structure/rpcs/types-of-rpcs/dynamic-options-rpc#select-parameter-with-nested-rpcs

The output of the preceding RPC (the dropdown) can be passed as a value to the nested RPC. The nested RPC inherits the value as a parameter and will execute and return field based on the selected option in the dropdown.

Henk
Certified Make Expert and Partner
Book a consult with me

2 Likes