acl script adding multiple profiles to element
May 13, 2022
04:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 13, 2022
04:02 PM
acl script adding multiple profiles to element
We have a script that automatically adds the index tag to our parts catalog. I want to take it one step further and would like to add two profiles to the index element.
In the acl script it has an entry
insert_tag(indexterm)
oid_modify_attr(oid_caret(),"audience","value","otherprops","value 2");
If I do this I get a to many arguments warning.
Labels:
- Labels:
-
Other
1 REPLY 1
May 13, 2022
04:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 13, 2022
04:17 PM
Another issue is by itself the profile for otherprops works
insert_tag(indexterm)
oid_modify_attr(oid_caret(),"otherprops","value2");
if I change it to this it does not seem to work
insert_tag(indexterm)
oid_modify_attr(oid_caret(),"audience","value");
If I manually adjust the element in editor I can add both at the same time
Bryon
