Hi,

An error message gives "can't find method com.aris.modeling.common....."

Please help me. I don't know what's the problem.

        // repetition of queried data:

            for(var i=0; i<p_aModel1.length; i++) {

            var linkTarget = p_aModel1[i].ObjOccListFilter(Constants.OT_INFO_CARR)   

            var spr_dia= new Array

            spr_dia.push("c3c5b0a1-8f99-11e6-5b61-000c299c49e7")   //directory document

            spr_dia.push("3d1c8381-7e6e-11e6-5b61-000c299c49e7")  //directory roles

                      

           for(var j=0; j<spr_dia.length; j++) { 

           for(var k=0; k<linkTarget.length; k++) {

           var mod=ArisData.getActiveDatabase().FindGUID(spr_dia[j], Constants.CID_MODEL)

           if(linkTarget[k].ObjDef().OccListInModel(mod).length==0) { 

               

            print(p_output, linkTarget[k].ObjDef().Name(nLocale))

            print(p_output, linkTarget[k].ObjDef().Attribute(Constants.AT_TYPE_6, nLocale).getValue())

            print(p_output, "Document/ roles is not in the directory")

               

           }    

           }

           }

 or register to reply.

Notify Moderator