I’m writing to you about my current project, I’m building a metamodel to build my Capella model (Process Organization). I’m based on the Operational Analysis layer.
My question is: is it possible to open a file (Word, Excel…etc) from an object in Capella ?
The file must be stored in the online database.
Example : associate a link (from a Word file) to an object “Activitie”, I click on it and open the file that has been associated.
In advance, I would like to thank you for your answers.
You can create links in the description tab (properties view)
See Help->Capella Guide->User Manual->User Interface->Capella Properties View->Introduction-> Description Section
When you double-click on a constraint in Capella, it will open its property view. You can then go to the description tab, where you can put a link to an external document, I suppose.
If your need is to change the behavior of the double-click, then it will probably require some custom development. You can contact us for that.
Stephane Lacrampe
Obeo Canada
I have tried but in my case the links are not even ‘clickable’. They are displayed as normal text. Actually what it feels like is that the editor creates the text but there’s no link information behind the text.
Even the sample project of the In-Flight Entertainement System which I know has a documentation tab full of links (as @SamuelRochet showed in his reply above) but there’s no links informations behind the texts.
You have to “Unblock” this file: capella\eclipse\plugins\org.eclipse.nebula.widgets.richtext_1.2.0…\org\eclipse\nebula\widgets\richtext\resources\template.html (see the image attached).
Let me know if it fixed your issue.
Once this is solved, you should be able to add to your documentation not only links to diagrams but also links to external files.
But then again, if your need is to change the behavior of the double-click, then it will probably require some custom development. You can contact us for that.
I am writing to you again because I have encountered some problems.
To open external files (Word or Excel) I get this window (the screenshot below). Even though I updated the browser, it’s still the same window that opens every time I try to open the document link.
This is probably because it is trying to open your link/file using the Eclipse internal browser, which is a pretty old one.
You can try to go to Window->Preferences->General->Web Browser and choose “Use external Browser” and pick the one you want. Not sure it is going to work though.
Stephane
As far as I know, Capella doesn’t directly open external Word or Excel files from a model object, but you can usually store a file path or hyperlink in the object’s description/properties and launch it externally. For documents that contain embedded images or diagrams, I’ve also found wordimageextractor.com useful when I need to pull content back out of a Word file for reuse in documentation. Not directly related to opening files from Capella, but it can help when managing linked artifacts.
Interested to see if anyone has implemented a more integrated solution through an add-on or customization.