21-09-2016 12:57 PM - edited 21-09-2016 12:58 PM
Dear Community members ,
Can anyone guide us to update the reading access area thru VB marco . We tried to update with "Administrator" Role.
oobject = oRoot.GetCollection("Assessment Node").item("~TwHDONZuNzOT[Test] ")
GroupWide= oRoot.GetObjectFromID("~sTlVwxdH3100[Group Wide access]")
'the property doesnt work
''''''oobject.SetProp "~030000000180[Reading access area]", GroupWide
''''''oobject.SetProp "Reading access area identifier", GroupWide
''''''''oobject.GetProp("~030000000180[Reading access area]") = GroupWide
Appreciated if any suggestions!
-
Arunas
26-09-2016 06:26 AM
Thank you very much Jerome & Imran . It works 🙂
Great !
26-09-2016 06:22 AM
We usually use something similar.
obj.setProp("Writing access area",oRoot.getObjectFromId("~122322[administrator]").GetId)
23-09-2016 05:25 PM
Hello Arunas
The property 'Reading Access Area' and 'Writing Access Area' are not standard properties.
Update through the user interface is controlled.
If you can select the object using an ERQL query, you can consider to use the specific tools of Administration.exe.
Ex: window 'Object Protection' to update massively 'Writing Access Area'
You can also run API script in administration mode where UI permissions do not apply.