Recent posts

#91
General Archi Discussion / Re: Connections Points
Last post by Jean-Baptiste Sarrodie - October 10, 2023, 11:19:52 AM
Hi,

Quote from: khairop on October 10, 2023, 10:36:16 AMIs any way to have a connection point on view_rac23 and a similar connection point on view_rac35. in ths way, the diagrams will be more simple without a lot of lines in between them?

If you are speaking about Junction, then yes, like any other element, a same junction can be reuse in multiple diagrams, so you can have a "half" relationship on one diagram and the "second half" on another. When using the visualizer (or any other model navigation feature), the junction will be shown with both incoming and outgoing relationships.

Quote from: khairop on October 10, 2023, 10:36:16 AMIs any way to create assosiation realtioships accross devices in different views (view rac23 and rac35) WITHOUT showing in the main diagram

Not sure that's what you mean, but in Archi (and any other ArchiMate compliant tool), you decide what you show in a view, so yes, you can create a realtionship involving whatever device you want and decide to show it or it hide depending on the view (just remove it from the view).

Regards,

JB
#93
General Archi Discussion / Connections Points
Last post by khairop - October 10, 2023, 10:36:16 AM

Good Morning

We would like to design some infrstrcture diagrams with archi and since there are a lot of racks and servers we would like to separate parts of the data center via views. In this way, the diagram will not be crowded and condensed. We were plannignto use views for different parts of the data center, for example dc_view_rack23 and dc_view_rack35. One of the problems that we have is the best way to connect some switches from view_rac23 and view_rac35. we have some ideas
I1. Is any way to have a connection point on view_rac23 and a similar connection point on view_rac35. in ths way, the diagrams will be more simple without a lot of lines in between them?
I2. Is any way to create assosiation realtioships accross devices in different views (view rac23 and rac35) WITHOUT showing in the main diagram

any other ideas or comments are welcome.
Thank you in advance
#94
General Archi Discussion / Re: Label expression evaluated...
Last post by Phil Beauvoir - October 10, 2023, 10:28:51 AM
Hi, as you say, label expressions resolve to diagram objects and connections not model objects. So $association:source{name} will follow the path of the first Association connection of the given object to the source object of the connection on the view. This has been a design decision from the start in order to support visual contexts.

Perhaps we might consider something like "msource" and "mtarget" as extra expressions for model source and model target. See https://github.com/archimatetool/archi/issues/713#issuecomment-800313058
#95
General Archi Discussion / Label expression evaluated aga...
Last post by jogga - October 10, 2023, 10:17:48 AM
My question in general is how to calculate a label based upon data in the repository (and not the view) and more specific how to label a flow relation with the business/data objects associated with the flow relation.

Background
In the Archimate reference for relationship flow, there is an example of labeling the relationship with "what" is flowing. https://pubs.opengroup.org/architecture/archimate32-doc.singlepage/#_Toc112154926 (Example 13).

From a modelling perspective I interpret the labeling as the same thing as connecting a business or data object(s) to a flow with an association to the flow relationship. https://pubs.opengroup.org/architecture/archimate32-doc.singlepage/#_Toc112154922 (Example 10)-
That way I got a nice repository where I can query for "all exchange of orders between processes" and "integrations of employee data between applications".

But the labeling version is so much more compact and easier to understand. Minimizing arrows and squares when talking to outsiders are always a goal. So how do you I get the compact notation, but still keep a correct Archimate repoistory in Archi?

Used Sparx EA before and by stretching the tool (and standard) I can accomplish this by connecting a business/data object to the labeling. I still need to model the association from the object to the flow relationship.

Now, I would like to accomplish this in my favorite tool Archi  ;) . Going for label expressions and succeed with
$association:source{name}But not being a frequent user of label expressions, I didn't realize that the expression was executed within the scope of the view and not the scope of the model. So when removing the the business object from the view, the label becomes empty  :( .

So back to my initial question. Anyone with an idea? Can I somehow address the model to find the association?
#96
General Archi Discussion / Re: HTML Report and SharePoint...
Last post by Alberto - October 02, 2023, 21:49:31 PM
That did it.

Per Microsoft's security recommendation and default is to not allow custom script in SharePoint sites (see https://learn.microsoft.com/en-us/sharepoint/security-considerations-of-allowing-custom-script).  To be able to host static HTML content with JavaScript, CSS, BootStrap on a SharePoint Online, you need to disable disable the DenyAddAndCustomizePages setting (set to zero).  You have to be a Global Tenant Admin (or at least a tenant-wide SharePoint admin), to run the PowerShell and execute the command to disable the DenyAddAndCustomizePages setting. You can do this on a site by site basis.

Here's an example using the SharePoint Management Shell
PS C:\windows\system32> Set-SPOSite https://domain.sharepoint.com/sites/sitename -DenyAddAndCustomizePages 0

You will also have to rename all .HTML files and references to .ASPX for it to work.  I'm submitting this as a request via GitHub.

Note: If you have a HTML file converted to ASPX before executing the command, it may not work. To make it work delete the ASPX files and upload it again to the document library.
#97
jArchi / Re: jArchi 1.5
Last post by jsimoncello - October 02, 2023, 16:55:46 PM
Thanks ! I realized last week there was no way of setting iconColor through jArchi and you added it, great !
#98
jArchi / jArchi 1.5
Last post by Phil Beauvoir - October 02, 2023, 11:45:44 AM
Hello jArchi scripters!

jArchi 1.5 is available at the usual outlets.

This release fixes some issues and adds a few new features.

Change log - https://github.com/archimatetool/archi-scripting-plugin/wiki/Change-Log

Cheers,

Phil
#99
jArchi / Re: iconColor
Last post by Phil Beauvoir - October 02, 2023, 11:44:40 AM
Quote from: JoCriSem on September 30, 2023, 10:31:58 AMExcellent. Any idea when the next release will be Phil?

Today.  :)
#100
jArchi / Re: iconColor
Last post by JoCriSem - September 30, 2023, 10:31:58 AM
Excellent. Any idea when the next release will be Phil?