justinlee - Monday, September 17, 2012 3:06 AM:
Hi friends,
How can I change permission_id property of item by C#!
Steven.
Brian - Thursday, September 20, 2012 8:48 AM:
Hi Steven,
It would probably help to get an answer if your question was a bit better explained.
I think what you are saying is you want to change the permission_id property in say an onBeforeUpdate triggered ServerEvent method.
Inside such a method you should be able to retrieve the existing permission_id with:
string permis = this.getProperty("permission_id");
To set it to something else useL
this.setProperty("permission_id","new value");
Does this help?
Brian.
justinlee - Friday, September 21, 2012 1:56 AM:
Hi Brian.
Thanks for your help.