Please "Click" or "Ctrl+Click" Simultaneously To Activate/open Hyperlinks Below. Many Samples of Windchill Development Can Be Found On My Site @
Please "Click" or "Ctrl+Click" Simultaneously To Activate/open Hyperlinks Below. Many Samples of Windchill Development Can Be Found On My Site @
http://www.datajett.com/windchill/wc_dev
=============================================================================================
Java class to read a Windchill Windu (Windchill Diagnostic Utility) Domain Policy Rule output file
(DomainPolicyRule.txt)
& create multiple text files (for ACL viewing) & loadfromfile xml files.
Method to pass ACL (Access Control List) from 1 server to another. Same functionality as export from one server
& loadfromfile on another. But there is no such functionality in Windchill for the ACL Access Policy area. So this
tool is very functional for server/install move/rehost &/or upgrades.
One is its benefits of this program is that if you try to manually duplicate ACL’s from one system to another, it’s
very hard from a Policy Administrator page/applet. Especially if you have years of ACL’s to pass across. It’s also
very hard to read a long DomainPolicyRule.txt file. But this program helps by splitting up the
DomainPolicyRule.txt into separate Domain/Container files. All same format as DomainPolicyRule.txt.
The best part of this program is that it generates 1 long xml for loadfromfile on new server/install, which can be
ran from one loadfromfile command:
<csvAccessRule handler="wt.load.LoadUser.createAccessRule">
<csvuser></csvuser>
<csvdomain>[/]/</csvdomain>
<csvtypeId>wt.fc.WTObject</csvtypeId>
<csvpermission>+</csvpermission>
<csvprincipal>Administrators</csvprincipal>
<csvpermissionList>-1</csvpermissionList>
<csvstate>ALL</csvstate>
</csvAccessRule>
Another benefit is that the loadfromfile command line needs no CONT_PATH argument, because the xml
contains the full <csvdomain> path.
Zip with java source, class, sample DomainPolicyRule.txt & sample output files (xml & txt)
http://www.datajett.com/windchill/wc_dev/ACL_Windu_2_XML_TXT.zip
Run Windu from Windchill shell & point this java class to the newly created DomainPolicyRule.txt file.
http://www.datajett.com/windchill/wc_dev/TeamRoleParticipants.zip
Output:
JSP/JAVA to auto download DRW PDF or PLT from EPMDocument Product/Folder page or individual details/info
page.
http://www.datajett.com/windchill/wc_dev/Download_PDF_or_PLT.zip
Readme file included, which details full install/configuration for actions xml, resource bundle file (.rbInfo), etc.
The tool is configurable to allow user to download the PDF/PLT to their choice of folder location or change JSP
to set download folder (C:\TEMP).
=============================================================================================
http://www.datajett.com/windchill/wc_dev/AttributesReport/AttributesReport.zip
AttributesReportRad_1.0.jsp is the latest/most enhanced version. The program uses WCA & its new UI tag
libraries for radio buttons & table (jca:getModel & jca:renderTable).
Its functionality is to allow selection (radio buttons) of any/all Windchill object types & display with the new WCA
table renderer. Mainly for Windchill development/admin usage, but shows usage of the new WCA.
attr2name = windchill java method to query &/or rename windchill name attribute to be the same as another
existing proe/windchill attribute. Some firms have had name & number same (after migration or such), where they
actually prefer the object/model name attribute to be more descriptive of what the part/assy does.
So this program allows an admin to change object/model name attribute to be the same as a more descriptive
attribute, such as TITLE or DESCRIPTION.
http://www.datajett.com/windchill/wc_dev/attr2name/attr2name_readme.txt
http://www.datajett.com/windchill/wc_dev/attr2name/attr2name.java
http://www.datajett.com/windchill/wc_dev/attr2name/attr2name.zip
=============================================================================================
Windchill java method & wvs.properties settings to mass ProductView Publish (through representations
scheduler) by particular LifeCycle State. All Released or Prototype LifeCycle States. Adjust code if other states
are desired.
http://www.datajett.com/windchill/wc_dev/Publish/ScheduleJobsExt.zip
http://www.datajett.com/windchill/wc_dev/Publish/ScheduleJobsCustom.zip
http://www.datajett.com/windchill/wc_dev/Publish/ScheduleJobsExt.java
http://www.datajett.com/windchill/wc_dev/Publish/ScheduleJobsExt.txt
=============================================================================================
=============================================================================================
LifeCycle reAssign jsp (webjects – Query-Objects, LifeCycle-History) to reassign LifeCycle & LC State for many
multiple windchill object types (epmdoc, wtdoc, wtpart, PR/ECR/ECN/Chg Activity, etc). Allows for container
selection (product, library or project) at multiple levels (Site/Org). It should be placed in your IE (InfoEngine) JSP
folder: <WT_HOME>\codebase\infoengine\jsp\
http://www.datajett.com/windchill/wc_dev/reAssignLC_1.1.zip
=============================================================================================
Java command line method & JSP to Html Reporting: Zip (with java source, classes & jsp): cmReport16.zip
=============================================================================================
Here is a windchill java method to create list of EPMDocuments (cad objects) & show each of their Version
(Revision.Interation): http://www.datajett.com/windchill/wc_dev/epmList/epmList_1B.java
http://www.datajett.com/windchill/wc_dev/epmList/epmList_1B.csv
=============================================================================================
http://www.datajett.com/windchill/wc_dev/epmDown.java
windchill epmDown <content type> <download path > <number search string>
=============================================================================================
http://www.datajett.com/windchill/wc_dev/getEpmContents.java
=============================================================================================
Some companies choose to auto truncate the extension on their cad data files (epm-docs) & wtparts, through ini
file settings:
<WT_HOME>\codebase\com\ptc\windchill\cadx\cfg\default\cadxhtmlui.ini
UploadDropNameFileExtension=true
UploadDropNumberFileExtension=true
AutoAssociateDropNameFileExtension=true
AutoAssociateDropNumberFileExtension=true
This tool was generated to rename existing whole windchill database & all it's objects *epm-doc & wtparts
number fields, prior to changing to truncate method as described above:
Command line (to query objects 1st):
java lj_cust.ObjMan_06
The rename program will rename all data files/objects that previously contained file extensions.
It renames windchill epm-doc (drw, prt, asm) & wtpart objects to truncate the extension of the windchill oracle
number field.
Some firms link to name their asm & prt files the same for integrated/inseparable parts. This program will rename
the .PRT to .P, so there is no duplicate objects numbers:
http://www.datajett.com/windchill/wc_dev/lj_cust/PA_Ren_06.java
=============================================================================================
Windchill, Oracle or Intralink JSP SQL Query Tool for standard info:
<WT_HOME>\codebase\infoengine\jsp\
http://www.datajett.com/windchill/wc_dev/jsp/dbjett_jsp.zip
Java Command Line Method to SQL Query of a Windchill, Oracle or Intralink Database. Used to query Windchill,
Oracle or IntraLink for standard info (same as above JSP Query, but this is a java application & output can go to
html, txt, csv, etc):
=============================================================================================
=============================================================================================
http://www.datajett.com/windchill/wc_dev/lj_cust/lifecycleState.java
http://www.datajett.com/windchill/wc_dev/lj_cust/lifecycleState.class
Example:
wt.lifecycle.State[0]: ACCEPTED
wt.lifecycle.State[1]: APPROVED
wt.lifecycle.State[2]: ASSEMBLY
wt.lifecycle.State[3]: ASSIGNED
wt.lifecycle.State[4]: CANCELLED
...............
=============================================================================================
Java to query most Windchill Object types: WTOrganization, WTPartMaster, EPMDocumentMaster, WTDocument,
WTContainer, WfProcess, ApplicationData
http://www.datajett.com/windchill/wc_dev/lj_cust/LJ_Objects_05.class
http://www.datajett.com/windchill/wc_dev/lj_cust/LJ_Objects_05.java
java lj_cust.LJ_Objects_05