Using forge customUI how to use Macro Configuration and how i define it in the manifest ?
Hi @GhattasHaithem
You can follow this link.
In your src folder in the root of the project you should add a file like macro-config.jsx written with Forge UI.
In your manifest.yml you describe your macro like this:
modules:
macro:
- key: macro
resource: macro
resolver:
function: resolver
title: Macro title
description: Hello world
config:
function: config-macro
And you should describe your “config-macro” function that you have passed as a config in your macro module:
function:
- key: config-macro
handler: macro-config.config
2 Likes