Author Topic: Changing Referenced View  (Read 113 times)

DaveVint

  • Active Member
  • ***
  • Posts: 51
Changing Referenced View
« on: September 08, 2021, 09:54:19 AM »
Hi,

The 'getRefView' capability was added recently, so that we can now query the target view of a diagram-reference-model object. Is there any way to set it, or do I need to create a new view reference object and delete the old one? 

Context in case it helps: I've set up a 'Table of Contents' canvas which has a view reference to it on every diagram. I forgot that doesn't get exported to the open exchange format, so have created a new exportable ToC in an ArchiMate diagram. I want to change all of the existing references to the canvas view to point to the new view instead.

Cheers,

Dave

Phil Beauvoir

  • Administrator
  • Hero Member
  • *****
  • Posts: 1619
  • Code Punk
    • Archi
Re: Changing Referenced View
« Reply #1 on: September 08, 2021, 10:18:34 AM »
Hi Dave,

it's not possible to set it. This would have to be done in the core Archi code, and I'm not sure what the ramifications of that are. I'll investigate.

Regards,

Phil
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

DaveVint

  • Active Member
  • ***
  • Posts: 51
Re: Changing Referenced View
« Reply #2 on: September 08, 2021, 11:26:53 AM »
Thanks Phil.