Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Saving project as local .mdzip will trigger MD migration. The tag values will be replaced with local element ids (except for document).

 

image-20240508-021842.png

 

Adding it to server, will triger replacement again. Tags will get server element ids.

 

image-20240508-021906.png

 

So the challenge will be documentId and siblingId

 

So, to recap:

  • Publish a new document with the same template as the original

  • create a paragraph element on web app, commit to TWC, update project in client

  • In containment tree, under the model,  you should now have package which has the same name as the new collaborator document.

  • It should have <<CollaboratorDocument>> stereotype applied.

    • Open specification window of that element -> Tags

    • <<CollaboratorDocument>> -> id

      • Value of original document should be changed to document.id#document.branch.id – this is how document knows where to store its elements (comments/paragraphs)

  • delete new document

  • <<CollaboratorDocument>> will have elements package – inside will be comment elements with <<CollaboratorParagraph>> stereotype

    • Open specification those comments -> Tags

    • <<CollaboratorParagraph>> ->

      • documentId = should be changed with the new one

      • siblingId – this id says the order of paragraph in section. It will require manual adjustment.

  • republish new document with option “update existing document”

  • No labels