TomMcCann
Posts: 0
Joined: Sat Aug 17, 2013 2:27 am

How to set the acl field in a database object by using JavaScript

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?

TomMcCann
Posts: 0
Joined: Sat Aug 17, 2013 2:27 am

How to set the acl field in a database object by using JavaScript

ive seen that code. but where does it go?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to set the acl field in a database object by using JavaScript

Add JS option for service request parameter 'ACL'.

TomMcCann
Posts: 0
Joined: Sat Aug 17, 2013 2:27 am

How to set the acl field in a database object by using JavaScript

Please. I am so utterly frustrated. I don't have a service request parameter for ACL. How do I get this?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

How to set the acl field in a database object by using JavaScript

Go Service-Request tab-Enter new parameter name-Add.
Then go Screen- Data tab-Add datasource (Service)-Edit mapping-Request tab- Add JS.

TomMcCann
Posts: 0
Joined: Sat Aug 17, 2013 2:27 am

How to set the acl field in a database object by using JavaScript

Ok Thank you. I don't know how that escaped me. Thank you very much.

Return to “Issues”