How to identify macros in Forge?

Hi,

I would like to store separate data in each macros. I’m using Storage API, so I need an unique macro key (like macros id) to get the required data. Is there any unique macros indentifier and how can I access it?

Thanks!

P.S.: I’m going to use custom UI.

Hi @veloti!

The localId property in the context argument passed to your Custom UI resolver is a reference to the instance of the macro that the resolver was invoked for.

cheers,
Tim

1 Like