Configuration
In order to setup the Azure Service Bus configuration you need the following:Message
The message will send the following data.Example of usage
- JavaScript
- JSON
Content schema with Azure Service Bus destination
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
| Setting | Description |
|---|---|
| ConnectionString | The connection string to the Azure Service Bus |
| QueueOrTopicName | The name of the queue or topic in the Azure Service Bus |
{
"id": "gid://Environment/2052b78d-6c34-4f11-bea5-296cf2d26968/Source/053b598b-c3d1-46fb-91e3-53115169cdb2/Entity/1234/View/product", // the Enterspeed view id
"originId": "1234", // the origin id of the entity
"type": "product", // the type of the entity
"action": "Deploy", // can have the value of Deploy or Remove
"url": "https://weu.delivery.enterspeed.com/v2?id=gid://Environment/40bb2d76-3b71-4121-b9b6-238cf4f325c4/Source/9e78f134-cf84-4ec5-9180-0b72b94949be/Entity/1099-en-us/View/home" // the absolute url for the delivery api to fetch the view
}
/** @type {Enterspeed.FullSchema} */
export default {
triggers: function(context) {
context.triggers('cms', ['content']);
},
actions: function (sourceEntity, context) {
context.destination('service-bus');
},
properties: function ({properties: p, url}, context) {
return {
product: {
url: url,
title: p.title,
content: p.text
}
}
}
{
"triggers": {
"cms": ["content"]
},
"destinations": [
{
"alias": "service-bus"
}
],
"properties": {
"url": "{url}",
"title": "{p.title}",
"content": "{p.text}"
}
}
Was this page helpful?