Hello dear,
I use report script to generate xls file with specific information about application type objects. Now I would like to retrieve the url of the fact sheet that match those objects. Is it possible ? :)
Thank you for any ideas or feedback !
Stéphane
Kay Fischbach on
I'm generating Connect links to models (basically the same thing as creating links to object fact sheets) and overall I'd say it is possible, although it may not be as pretty as you may would want it to be. It involves perparing some data in advance, since you can't directly retrieve the data with a report (or at least I wouldn't recommend it/have not found a nice way to do it).
What you need for the data preparation:
How to get the data you have to prepare in advance:
I also put the javascript code that builds Connect links into the Common files like this:
It does use the Jackson Databind library, which is a standard library included in any modern ARIS installation. Feel free to read and understand the provided code, it doesn't do anything other than assembling connect link strings.
How to use it:
where yourObjectOrModelGoesHere is a variable that points towards an ARIS Model or Object.
It'll return a String -> that's your connect link.