cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

acl script adding multiple profiles to element

bfriesen
16-Pearl

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.

1 REPLY 1

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

Top Tags