com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Publishing Events to WSO2 DAS via JS API

Overview

Function

publishEvent(event, success, event)

Description

Returns the events published to WSO2 DAS.

OutputA JSON object containing the response text in the ‘message’ element within the argument of the success callback.

Example

var event = {
    streamName : "TEST",
    streamVersion : "1.0.0",
            payloadData : {
                name : "John",
                married : "false",
                age : "27"
},
metaData : {
    NIC: "12345678"
},
correlationData : {
},
arbitraryDataMap : {
}
};
client.publishEvent(event, function(data) {
    console.log (data["message"]);
}, function(error) {
    console.log("error occurred: " + error);
});

Sample output

 "Event published successfully"
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.