LinkingTool.temporaryLink and Bindings


if I do this:

goDiagram.toolManager.linkingTool.archetypeLinkData = { label: pathName };
goDiagram.toolManager.linkingTool.temporaryLink = createGoTemporaryLinkTemplate();
goDiagram.currentTool = goDiagram.toolManager.linkingTool;

and in the createGoTemporaryLinkTemplate() method I create a link object that has some properties that bind to ‘label’ and also some properties that have binding with .ofModel() set…

why don’t those binding work? :(

I can live with not having bindings to archetypeLinkData… but I would much prefer to be able to have model bindings in there…


Data binding only works in those Parts that are created from model data.

You could try setting data on the temporary link that you create.

thanks… doing this: = $.extend({}, archetypeLinkData, goModel.modelData);

solved my problem