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

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Windchill needs a way to perform mass edits on contexts

Windchill needs a way to perform mass edits on contexts

I would like to see the capability added to Windchill to perform mass edits on multiple contexts of a single type.  For example, adding a role and team member to all Products or Libraries or Projects.

3 Comments
ChrisPLM
9-Granite

I have not seen the admin interface in 10.2 but I agree that certain activities are very cumbersome and very inefficient to perform.

For instance, applying access right for an object type for each state. This is another very time consuming exercise

Marco_Tosin
20-Turquoise

Marc,

I voted up, but in the mean time you can use scripts I had from my consultant.

XML files is the loader to add role to all products site and batch files is the source list for them.

Add a line for every product/library you want to add.

<?xml version="1.0" ?>

<!DOCTYPE NmLoader SYSTEM "standardX20.dtd">

<NmLoader>

  <csvAddPrincipalToRole handler="wt.inf.team.LoadContainerTeam.addPrincipalToRole">

    <csvcontainerClass></csvcontainerClass>

    <csvcontainerName></csvcontainerName>

    <csvrole>XXXXX</csvrole>

    <csvprincipalNameOrDN>XXXXX</csvprincipalNameOrDN>

    <csvserviceName></csvserviceName>

    <csvuseSharedTeam></csvuseSharedTeam>

  </csvAddPrincipalToRole>

</NmLoader>

Below first line of batch file you have to recall from a Windchill shell:

java wt.load.LoadFromFile -d your_file.xml -u your_site_admin -p site_admin_pwd -CONT_PATH "/wt.inf.container.OrgContainer=your_organization/wt.pdmlink.PDMLinkProduct=context_name"

olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.