Problem using BPMN-VIEWER widget

I am trying to integrate the example given here: http://camunda.github.io/camunda-commons-ui/cam-widget-bpmn-viewer.html into a html page.

But my page does not display anything, and the part of the page occupied by “<div cam-widget-bpmn-viewer …>” does not change at all. No errors are reported either (nothing in the Javascript console), so I am unable to figure out what is wrong.

I have verified that the XML representing the BPMN is indeed being assigned to the field “diagramXML” of the scope. The XML is obtained (in the application server) by invoking the RepositoryService’s getProcessModel(processId) method (in the Java API), and the returned content is typed as “application/xml”.

How can I debug this problem?

Thanks for any help or hints.

Hello @sdg,

for questions outside of the bpmn.io sphere (bpmn-js, dmn-js, etc.) you should head over to the Camunda’s forum.

Cheers,
Ricardo