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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Update Existing Product Containers

pwilliams-3
12-Amethyst

Update Existing Product Containers

Hi Everyone,
I need to "touch" all of our Product and Library containers to update their ACL's for new object types. I will also have to create new folder domains for these ACL's. I heard that the LoadFromFile command can be used to accomplish this task. Is this true? How was it done? Is there a better method for doing this (do I have to write a massive java program)?

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image001.jpg@01CE6DBE.44B3A200]

8 REPLIES 8

Patrick - If you are creating brand new ACLs, Load From file is the way to go. It does have issues in updating the existing ACLs (ex: Add Delete permission to an existing ACL). In 9.1 it could only flip the switch of Grant/Deny. I am not sure if it behaves any different in 10.1

Raju Pulavarthi
Sr. Systems Analyst - PLM Applications
Global Information Technology

Raju,
Thanks for your response. Could you send me a csv and xml example of a load file that you used to accomplish this? I'm currently reading the Windchill Data Load Guide for 10.1 and on page 54 it seems be walking through this process but it's a bit unclear.

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image002.jpg@01CE6DC2.2AD99A70]
avillanueva
22-Sapphire II
(To:pwilliams-3)

Export the product as a template and get the XML file. Edit the product to include your new domain and ACLs. Export the modified product as a template. Look at the new XML file and do a diff on it. New entries should be there. When you upload that XML file, you should be able to just change the product you are linking it to.

Ok let me play that back.


1. I should edit my existing product template through the UI (by creating a dummy product and modifying it) or through XML.

2. Create a new product template based upon my changes. Diff this new template with the old to see the changes.

3. When I upload the new xml template...this is where I get lost. What do you mean by upload and how do I link this new template to existing products and have all of it's domains and ACL's update?

Can you please elaborate a bit more?

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image002.jpg@01CE6DC2.ECE0EDD0]
avillanueva
22-Sapphire II
(To:pwilliams-3)

1. Take an existing Product and save it as a new product template. (shapshot) - Extract out the XML file it creates.

2. Edit that same product to make the changes you need (ACLs, domains,etc)

3. Save the product again as a new product template - Extract out the new XML file and compare to the one in step 1 . It should have entries that will create the domain and ACLs.

Other user was right that using Load from File will create new entries but not modify or delete existing entries.

What do I do with the entries that will create the domains and ACL's? Do I run them on a command line? Also, this process seems to be tedious. I need to do this for about 1800 products!

Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image002.jpg@01CE6DC3.FD7B9C70]
avillanueva
22-Sapphire II
(To:pwilliams-3)

That can be scripted. All that changes is the product name. Damn, 1800. I thought I was bad with 150.

Patrick,

Unless all your products have different ACL needs for each one, I would strongly consider moving your definitions up a level to the PDM or Org level. You can define rules for roles within your various contexts at that level thereby applying to all in one step. May be painful to change the first time around, but no worse than what you're already going to have to go through.

If they are different, you might want to consider creating a domain hierarchy under PDM and group like product containers under the corresponding domain. This would at least allow you to limit the number of items you'd have to change. I'm speculating a bit here as I haven't actually had to do that, but I believe it can be done.

Jason Schrader
Kalypso
Delivering on the Promise of Innovation
m. 336.455.0919
o. 336.303.8482
[">http://kalypso.com/sigs/sig_smalljewel.png]<http: kalypso.com=" smalljewel=">
[[http://kalypso.com/sigs/sig_facebook.png]<http: www.facebook.com=" kalypsolp=">[http://kalypso.com/sigs/sig_twitter.png]<http: twitter.com=" kalypsolp=">[http://kalypso.com/sigs/sig_linkedin.png]<http: www.linkedin.com=" company=" kalypso=">[http://kalypso.com/sigs/sig_youtube.png]<http: www.youtub...
Announcements


Top Tags