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

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.

2 Comments
Regular Member

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

Tanzanite

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"