Hello,

Can someone help here. Expected output is Role Name in 1st column which is attached to a Functions and then followed by Fxn name in 2nd column and Fxn description in 3rd column.

Unfortunately after  "l_func[k].getConnectedObjOccs(Constants.ST_ORG_UNIT_1)" It is not accepting any Javafunction

   l_func=ArisData.sort(l_sort,Constants.SORT_GEOMETRIC,g_nLog);
 
     g_outputObject.TableRow();
     var l_funConcat="";
     var l_funcDescConcat="";
     var l_roleUnique="";
     for(var k=0;k<l_func.length;k++)
     {
        l_funConcat=l_funConcat+k+".\t"+l_func[k].getObjDefName(g_nLog)+"\n";
        l_funConcat=l_funcDescConcat+k+".\t"+(l_func[k].ObjDef()).Attribute(Constants.AT_DESC,g_nLog).getValue()+"\n";
    var l_RoleDef=l_func[k].ObjDef();

        g_outputObject.TableRow();
        g_outputObject.TableCellF(l_func[k].getConnectedObjOccs(Constants.ST_ORG_UNIT_1),20,"Template10");
        g_outputObject.TableCellF(l_func[k].getObjDefName(g_nLog),30,"Template10");
     var l_funDef=l_func[k].ObjDef()
        g_outputObject.TableCellF(l_funDef.Attribute(Constants.AT_DESC,g_nLog).getValue(),50,"Template10");
     }

==============================================

With the Above Code I get the below output. How can i get the Role Name in first column

Thanks In Advance

 

 or register to reply.

Notify Moderator