Hi,
I created template for project in Windchill but I don't know how to implement private access in load file template.
In manual creation you can simply choose Private Access: Project Members Only.
Solved! Go to Solution.
Hi Adybala,
Generally when we loading the project using LoadFromFile then Private access is always loaded as default when loading new projects from file.
Sample loader to Load the Project:
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standard11_1.dtd">
<NmLoader>
<!-- Create project 'PJL1' -->
<csvProject2Begin handler="wt.projmgmt.admin.LoadProject2.createProject2Begin">
<csvname><?loc-begin key="TEST_PROJECT1"?>Test Load Project 2<?loc-end?></csvname>
<csvdescription><?loc-begin key="TEST_PROJECT1_DESC"?>Test for Lori<?loc-end?></csvdescription>
<csvtemplate><?loc-begin key="GENERAL_PROJECT_TEMPLATE_NAME" match="ProjectLinkContainerTemplates.xml:GENERAL_PROJECT_TEMPLATE_NAME"?>General<?loc-end?></csvtemplate>
</csvProject2Begin>
<csvIBAValue handler="wt.iba.value.service.LoadValue.createIBAValue">
<csvdefinition>ProjectDescriptionTest</csvdefinition>
<csvvalue1>Test DescriptionValue</csvvalue1>
<csvvalue2></csvvalue2>
<csvdependency_id></csvdependency_id>
</csvIBAValue>
<csvendIBAHolder handler="wt.iba.value.service.LoadValue.endIBAHolder"/>
<csvProject2End handler="wt.projmgmt.admin.LoadProject2.createProject2End"></csvProject2End>
</NmLoader>
This Loader help to load the project with Global attributes.
Thanks,
Pravin Shinde
Hi Adybala,
Generally when we loading the project using LoadFromFile then Private access is always loaded as default when loading new projects from file.
Sample loader to Load the Project:
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standard11_1.dtd">
<NmLoader>
<!-- Create project 'PJL1' -->
<csvProject2Begin handler="wt.projmgmt.admin.LoadProject2.createProject2Begin">
<csvname><?loc-begin key="TEST_PROJECT1"?>Test Load Project 2<?loc-end?></csvname>
<csvdescription><?loc-begin key="TEST_PROJECT1_DESC"?>Test for Lori<?loc-end?></csvdescription>
<csvtemplate><?loc-begin key="GENERAL_PROJECT_TEMPLATE_NAME" match="ProjectLinkContainerTemplates.xml:GENERAL_PROJECT_TEMPLATE_NAME"?>General<?loc-end?></csvtemplate>
</csvProject2Begin>
<csvIBAValue handler="wt.iba.value.service.LoadValue.createIBAValue">
<csvdefinition>ProjectDescriptionTest</csvdefinition>
<csvvalue1>Test DescriptionValue</csvvalue1>
<csvvalue2></csvvalue2>
<csvdependency_id></csvdependency_id>
</csvIBAValue>
<csvendIBAHolder handler="wt.iba.value.service.LoadValue.endIBAHolder"/>
<csvProject2End handler="wt.projmgmt.admin.LoadProject2.createProject2End"></csvProject2End>
</NmLoader>
This Loader help to load the project with Global attributes.
Thanks,
Pravin Shinde
Hi,
Thanks for the file. It's really working. I don't need Iba so by executing this I have started project with Private Access: Project Members Only:
<NmLoader>
<!-- Create project 'PJL1' -->
<csvProject2Begin handler="wt.projmgmt.admin.LoadProject2.createProject2Begin">
<csvname><?loc-begin key="TEST_PROJECT1"?>Test Load Project 2<?loc-end?></csvname>
<csvdescription><?loc-begin key="TEST_PROJECT1_DESC"?>Test for Lori<?loc-end?></csvdescription>
<csvtemplate><?loc-begin key="OWN_PROJECT_TEMPLATE" match="ProjectLinkContainerTemplates.xml:OWN_PROJECT_TEMPLATE"?>OWN Project Template<?loc-end?></csvtemplate>
</csvProject2Begin>
<csvProject2End handler="wt.projmgmt.admin.LoadProject2.createProject2End"></csvProject2End>
</NmLoader>