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,


Tags: Report