How to Query MAX SQLFunction by Query Builder?\
In order to query the latest WTpart 'version', etc A,B.C...etc. querySpec: QuerySpec qs1 = new QuerySpec(); qs1.setAdvancedQueryEnabled(true); int classIndex =...
View Articlebulk load EPMDocuments
Experts, I have a load of .asm and associated .prts, .dwgs etc on my local harddisk.Is there a way to bulkload these (and thereby create EPMDocs with contents) and associate pre-created WTParts to...
View Articlejava.sql.SQLException: Failed to get connection from Windchill:
Many time we are receiving below connectivity exception. java.sql.SQLException: Failed to get connection from Windchill:Failed to get connection in the method Query.obtainConnection() - this.connection...
View ArticleQuery builder for WTDocument
Hi, I would like to create a report with the query builder tool (Windchill 10.1).The request should display a specific type of Wtdocument and the size of the file on the primary content for each...
View ArticleCreate 99 sequences in MS SQL
Hi.I need create 99 sequences that differ by number. I'm using MS SQL.I tried to use something like that: DECLARE @intFlag INTSET @intFlag = 1WHILE (@intFlag <= 99)BEGIN CREATE TABLE...
View ArticleFind global attribute definition id
Hi.How to find global attribute definition id by logical identifier?I'm trying to use next code: /* attributeId is Logical Identifier of my global attribute */ long...
View ArticleGet standard icon for windchill object
Hi.I am using wrapper class for object in wizard table.But i need to show standard icon in column if windchill object is wrapped by my class.I defined data utility for icon column which returns...
View Articlegenerate PDF from drawings and store in Windchill
Hi, I have a range of drawings that I have stored on Windchill. How do I genereate PDF files of these drawings? And is there a way of storing them/ exporting them to an external location outside of...
View ArticleHow to Detete WTPart-EPMDocument associations through API (EBMBuildRule) ?
I want to delete owner link associations of different version of WTPart to single EPMDocument through API. Guide me some way to achieve this through API.
View ArticleResearching in windchill commercial parts
Boolean operator "different from" does not work in windchill, but it worked in Intralink. If I use operators "&" or "|" it works.Example:"1/4 & camozzi | inox" in the description space for...
View ArticlePRE_SELECTABLE_COLUMN
Hi.PRE_SELECTABLE_COLUMN works fine for table, but the same code does not work for tree. Why?Is it windchill's design? Or configure preselectable columns for tree differs from that for table?Thanks.
View ArticleUpdate (replace) primary content
Hi.I have data presented by outputstream or byte array (data contains excel file).How can i replace primary content of WTDocument by this new file?Should i use ContentServerHelper.service.updatePrimary...
View ArticleFamily Table issue
Issue is as follows: A family table is opened in Pro Engineer along with an assemly. There is no modification done on any generic or instance of family table (it is not checked out). After doing all...
View ArticleNeed to pass the number, iteration and the version of my document to a query....
Hi, Need to pass the number, iteration and the version of my document to a query. But I'm not getting to version. How can I do this? My code: public static void main(String[] args) throws WTException {...
View ArticlePTC_WM_CREATED_BY and PTC_WM_MODIFIED_BY in WC 10.2
For those that are using PTC_WM_CREATED or PTC_WM_MODIFIED on their drawings, this came through from PTC today: https://www.ptc.com/appserver/cs/view/solution.jsp?source=subscription&n=CS146447...
View ArticleIssue with seeing comments from workflow
Hello I was wondering if any of you had any ideas on how to sort out an issue that I am having. I have a pretty simple review, approve release workflow that is initiated every time a certain type of...
View ArticleLifecycle based document type
Hello I have a problem that I need to resolve in a fairly manual non integrated manner. I need to be able to have a system where a s ingle object can have two data types based on its lifecycel...
View ArticleInclude new participants after the workflow has started.
Hi!I have a workflow starts, it opens a task for a role. But I have been asked to include new participants after the workflow has started. For new entrants to access the task we perform Reassign Life...
View ArticleWindchill 10 Eclipse Configuration
Hi, I have install Windchill 10 with Information modeler in my System but I think I have missed some jar file to configure I am getting compilation error while using the annotaions class and some other...
View ArticleMVC components
Hi! I create the jsp page with two MVC components: <jsp:include page="${mvc:getComponentURL('mytable1')}"/><jsp:include page="${mvc:getComponentURL('mytable2')}"/> And I have two questions:...
View Article