MK
hello all,
i have been doing customs reports in aris for a while and i am facing trouble as to
how to show report for relationship among model objects.
eg.
if i have function say abc and that is done by Mr. xyz ( Person type).
hope , i have made my self clear.
if any one has a solution to this problem please help me out.
thanks
mohan
Hi Mohan,
if I understand you correctly, this could help you to show the relationship between model objects in a xls output :-)!
//get all functions in model var oFuncOccs = oSelModel.ObjOccListFilter(Constants.OT_FUNC); oFuncOccs = ArisData.sort(oFuncOccs, Constants.SORT_X, g_nLoc); for (var j = 0; j < oFuncOccs.length; j++) { oOutputFile.TableRow(); oOutputFile.TableCell(oFuncOccs[j].ObjDef().Name(g_nLoc),.....); //name of function //connections var aCxns = oFuncOccs[j].Cxns(Constants.EDGES_INOUT,Constants.EDGES_ALL) for(var z=0;z<aCxns.length;z++){ var oSourceObjOcc = aCxns[z].SourceObjOcc(); oOutputFile.TableCell(aCxns[z].CxnDef().ActiveType(),......); //name of the connection oOutputFile.TableCell(oSourceObjOcc.ObjDef().Name(g_nLoc), ......); //name of soucre object for example person type } oOutputFile.TableRow(); }
Regards,
Eva
Thanks Ms. Eva Klein,
i got the desired result from the help you provided to me , i am gratefull to you for the help.
regards
mohan