Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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”