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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

acl script adding multiple profiles to element

bfriesen
18-Opal

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

Announcements

Top Tags