AnsweredAssumed Answered

Aikau publishTopic

Question asked by redraccoon on Jan 31, 2017
Latest reply on Jan 31, 2017 by redraccoon

Hello, a quick question about the Topics in Aikau

 

when I click publish on a simple button it's working perfect

****************

 

aikau code : 

name: "alfresco/buttons/AlfButton",
config: {
   publishTopic: "REDRACCOON"
}

results in logs : 

Object {type: "PUBLICATION", topic: "REDRACCOON", payload: Object, publisherId: "alfresco_buttons_AlfButton___7b2f8a01-5fd4-473f-8d96-0d50763de145", publisher: Object}

****************

 

but now let's try in a simple form

 

****************

 

aikau code : 

name : "alfresco/forms/Form",
config : {
okButtonPublishTopic : "REDRACCOON",
widgets : [ ]

            }

results in logs : 

Object {type: "PUBLICATION", topic: "0a785910-a2a8-4b51-8988-edf6e9334b390a785910-a2a8-4b51-8988-edf6e9334b39REDRACCOON", payload: Object, publisherId: "uniqName_1_76", publisher: Object

****************

with the bad topic I can't intercept my payload 

 

 

I'm making this post because I often went trought this without understanding why sometimes the topic is changed like this ?

I remember having the same issue with topic on "_valueChangeOf_" before  but can't remember how I fixed and I really would like to get the mechanics 

 

Thank you

Outcomes