GW

Hello all,

I am writing a  report (running over a model) and trying to add a document (.doc) that attached to the Attribute Documentation on an object of type Function.

I think i managed to find the maintained functions and retrieve an ExternalDocument Entity, but now I can't figure out how to add these is my report.

if (FunctionObjectList[i].ObjDef().Attribute(Constants.AT_DOCUMENTATION,g_nloc).getExternalDocument ( ).isValid ( ))
        {
          var DocumentConnected =  FunctionObjectList[i].ObjDef().Attribute(Constants.AT_DOCUMENTATION,g_nloc).getExternalDocument ( ).getDocument ( )
}

The report includes some other tables and model graphics.

Thank you very much in advance,

Gilad

by Vladimir Bis
Posted on Wed, 01/04/2012 - 08:00

Hi Gilad,

I can't see AT_DOCUMENTATION within attribute constants in documentation. Is this your custom attribute?

1
by Gilad Wilk Author
Posted on Wed, 01/04/2012 - 09:34

Hello,

This is not a custom attribute, his type number is 4015.

i am running Aris ver - 7.2.2.589499

Thanks,

Gilad

1
by Vladimir Bis
Posted on Wed, 01/04/2012 - 10:32

Hi Gilad,

I have 7.1.0 version :(  ... but there is system attribute Link 1 (AT_EXT_1) in function. You can place there file name and you can have placed this file on server directory:

Context.getTempPath()

Then you can show this file in report:

Dialogs.shell("example.doc");

I don't know if this is good solution, maybe this new AT_DOCUMENT attribute is better.

1
by Gilad Wilk Author
Posted on Mon, 01/09/2012 - 06:58

Hi Vladimir,

Thank you very much for the response,

I will try it, but i need a solution for the documentation...

the attribute let you maintain a document on the aris and not on a server directory.

Once again, thanks

Gilad

1

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock