Page 1 of 1
How to set the acl field in a database object by using JavaScript
Posted: Sat Aug 17, 2013 2:27 am
by TomMcCann
I'm designing a database and I want each user's record to be editable only by that user. I know that the 'acl' field exists for this purpose and I know what contents to put in the field. What I don't know is how to actually do it.
Question: how can I set the field by JavaScript? What event do I attach the JavaScript to?
How to set the acl field in a database object by using JavaScript
Posted: Sat Aug 17, 2013 2:45 am
by Alena Prykhodko
How to set the acl field in a database object by using JavaScript
Posted: Sat Aug 17, 2013 2:46 am
by TomMcCann
ive seen that code. but where does it go?
How to set the acl field in a database object by using JavaScript
Posted: Sat Aug 17, 2013 2:52 am
by Alena Prykhodko
Add JS option for service request parameter 'ACL'.
How to set the acl field in a database object by using JavaScript
Posted: Sat Aug 17, 2013 2:55 am
by TomMcCann
Please. I am so utterly frustrated. I don't have a service request parameter for ACL. How do I get this?
How to set the acl field in a database object by using JavaScript
Posted: Sat Aug 17, 2013 2:58 am
by Alena Prykhodko
Go Service-Request tab-Enter new parameter name-Add.
Then go Screen- Data tab-Add datasource (Service)-Edit mapping-Request tab- Add JS.
How to set the acl field in a database object by using JavaScript
Posted: Sat Aug 17, 2013 3:01 am
by TomMcCann
Ok Thank you. I don't know how that escaped me. Thank you very much.