Hi All,
I am new in ARIS scripting.
Please help me on this report...I need script for below ,
Report should show all group names and last user of selected model.like if I have same model in different group then report all the group names which have same model.
I hope i will get good response from Aris Community .
Thanks in Advance.
Robert Goldenbaum on
Hello,
oModelList = ArisData.getSelectedModels();
for (i = 0; i < oModelList.length; i++){
oModel = oModelList;
// output the name, group and last user...
sValue = oModel.Name(g_nLoc);
sValue = oModel.Group().Path(g_nLoc);
sValue = oModel.Attribute(Constants.AT_LUSER, g_nLoc).getValue()
}
Well, that is the basic - you will have to define the output object and output the three sValues to either cells in a table or lines in a word file...
Otherwise I would strongly recommend to have a look at the scripting examples provided in this forum.