Hi
here in the documentation: https://developer.atlassian.com/platform/forge/manifest-reference/modules/trigger/ its says that the property “function” is only required when using UI Kit 1.
How would one use it with UI Kit 2? What would the manifest.yml look like?
Does someone maybe have an example?
Thanks!!
Hi @TaskManagement, sorry about the confusion, I think there might be some templating going on causing the description to be what it is, but triggers are totally independent of the UI.
The “function” property that you need is this function. If you would like an example to reference, there is a template available which you can get via the Forge CLI. The steps are:
- run
forge create
Select a category
→ Triggers and validators
Select a product
→ Show All
Select a template
→ product-trigger
1 Like