Hello,
I am moving an app from UI Kit 1 to UI kit and I’m stuck with its behaviour.
Basically it is a macro with custom config. In the config there is a Select where the user picks a space from a list (list created using a API call), then this is passed on for processing.
The macro itself use the space in the config to create a page in that space (which requires its own api call).
Now, according to the Forge documentation I can have only 1 resolver/handler per macro, but I need to make different calls from the Config and the App itself.
I tried creating export functions in the resolver folder and calling them from the frontend but no luck.
What is the right approach?
Should I invoke the same resolver and then branch depending on whether the call if from the App or the Config?
Thanks!