cancel
Showing results for 
Search instead for 
Did you mean: 

JavaScript Examples - Error

former_member340765
Discoverer
0 Kudos

Hi,

I wanted to add some simple javascript/html based business method to get a feeling of how the Streamwork API works. I downloaded the "hello world" sample, modified the title and the corresponding bundle.xml entries and uploaded it. I was able to add the method via the tools catalog and it was displayed by Streamwork. But "get_data" and "set_data" didn't work. I could click the buttons and than an alertbox with Streamwork style opened and told me "something went wrong". But the return_msg function wasn't executed.

I tried a simple alert-command without the handler and it worked (alerbox, which displays the elemetId).

Therefore I think the problem is somewhere at the handler.clientChannel.publish... - call. Maybe something with the data: {path: statemennt? I'm not realy sure, what to enter as data path - the example referred to "myData" which is the data element given by the bundle.xml as initial data.

Maybe someone had similar problems before and can help me?

Thanks,

Hendrik

Accepted Solutions (0)

Answers (1)

Answers (1)

RuedigerMueller
Advisor
Advisor
0 Kudos

Sorry for this very late reply - I just in process of cleaning up the forom.

The samples have been updated already some time ago and they were working for me.