Script on ACL of type processor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2016 11:36 AM
Hello,
I have been trying to modify the availability of the email icon.
An acl which is always true works, makes it available for all users, but is for all tables.
I want to make it available only for one table. Is it possible to retrieve the table name from this acl?
current.getTableName() and current.sys_class_name don't seem to work.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2016 11:48 AM
I think the only way the processor knows anything about the table is if you pass it as a sysparm_ value in the URI and retrieve it with g_request.getParameter(). Take a look at some of the other processors and you'll get the idea.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2026 03:36 AM
Hi @snowtech1,
May I ask whether you were able to resolve this issue? Were you able to get the table name in the processor ACL script?
@Chuck Tomasi and @Pradeep Sharma would you mind elaborating on your suggestion? Several processors are of type "java" and thus don't have possibilities for scripting, e.g., ExcelOutputProcessor, CSVProcessor, ...
Best regards
Martin
