Invoke External Service Extension
Setting up the extension
- Head to the library configuration sheet in your project, refer to the documentation here for setting up a generic custom extension.
- Enter this key and value for pairs for setting up the extension
- Title – Invoke External Service (Recommended)
- Path - https://main--{YOUR_SITE}--{YOUR_ORG}.aem.live/tools/invoke-service.html
Setting up extension registration
- Head to the root of your project
- Create a folder named config
- Create a sheet inside the folder, with the name placeholder
- Create a table inside the sheet, with columns, key and value
- Add the keys external-service-url and external-service-payload
- As default, you can provide the Workfront Fusion Webhook URL provided here, and leave the payload empty.
- Optionally, you can provide the URL to a custom service and payload, depending upon your demo use-case, the extension sends a HTTP POST request to the specified URL, with the provided JSON payload.
- Once ready with the configuration, make sure to preview and publish the sheet.
NOTE
The default service provided by Reference Demo Fusion Flow, is intended to be a review workflow, which would create a new project based of a template in Adobe Workfront, creates a review task and assign it to you for review and approval.
Usage
- Once the extension is setup in your library, you can access it from any page in your Library
- Head to Library → Invoke External Service
- As you click on the extension you see a confirmation screen for executing your external service
- Click “Confirm” to execute the service
- Once the execution finishes, you get an appropriate, success or failure message