Skip to main content
18-Opal
May 13, 2022
Question

acl script adding multiple profiles to element

  • May 13, 2022
  • 1 reply
  • 1150 views

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.

1 reply

bfriesen18-OpalAuthor
18-Opal
May 13, 2022

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