Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I haven't tried, but I think I could do it this way:Starting with an EPMDoc, get the representation: VisualizationHelper vzh = VisualizationHelper.newVisualizationHelper();QueryResult rep = vzh.getRepresentations((Persistable) epmDoc);Then get content files in the rep: ContentHolder holder=ContentHelper.service.getContents(rep); Vector contents=ContentHelper.getContentListAll(holder);Iterate through the vector: data=(ApplicationData)contents.get(i);and check each filename (data.getFileName()) for the .ast extension which seems to be an annotation set.Seems like there should be some simpler method. Anyone know a better way?
HI all,I have followed the examples on how to write a web service and then compile it.I used the example athttp://support.ptc.com/cs/help/windchill_hc/wc101_hc/index.jspx?id=IEUG_WSFWriteJavaWS&action=showAnd then to connect to this service I have used the example athttp://support.ptc.com/cs/help/windchill_hc/wc101_hc/index.jspx?id=IEUG_WSFWriteJavaWSClient&action=showHowever, this is where it falls over. (The client example is for a different service, so I have modified it for the MyJavaService example). I can get it to run from the command line exactly as the example shows, but I need to be able to access it from other places of course.I have written a simple project in Eclipse to access this example and this is the codeimport com.ptc.jws.client.handler.*; import org.myorg.*; public class testproj { public static void main ( String [] args ) throws java.lang.Exception {
Is there any example to connect Windchill through web services client? Please share it if you have one....Basically I would like to download some documents from Windchill by running some trigger (scheduled tasks) from other application...Condition: Schedule Tasks should be executed from other machine to pull data from Windchill....
I would like to know, how to integrate Isodraw to Windchill and Creo2.0? For example: The 3D model which we update in Windchill with Creo 2.0 must be automatically updated in illustrations, which I have worked in Isodraw 7.1.
i am unable to get custom variables on task page of workflow in proper alignment. So what should i do to bring them in a proper format?
hi all,I have to get the task level comments from an adhoc task which is getting generated from a adhoc activity . I want to get the comment in a variable. Please suggest a way on how i can achieve it?
We have a custom action that creates a popup window and have a requirement to set the height attribute to the client's available screen height. I have been successful doing so using javascript after the window has loaded, but with unintended consequences. Our customers like to manually resize the window and have it stick for that session, but each time they reload it (which is often) it resizes to the javascript settings.Is it possible to use custom actions in a way that screen.availHeight can be evaluated prior to loading the popup window? I've been very creative with configuring the moreurlinfo attribute but have had no luck.Thanks
What is the difference in usng Jax-ws java webservices vs using info-engine tasks?
Hi!I modify team of the promotion notice by code. But inside the workflow promotion notice team have the default value. What can be wrong?
hi
I'm trying to implement a custom action with inline message feedback in Windchill 10.0 M030.Here's my custom-actions.xml{code}[...]<objecttype name="part" class="wt.part.WTPart"> <action name="ps_send_to_plm"> <command class="ext.xxx.connect.menu.SendTo" method="execute" windowType="no_content" /> <resources> <label>Transfer to SAP</label> <tooltip>Triggers transfer to SAP</tooltip> <icon>xxx.gif</icon> </resources> </action> </objecttype>[...]{code}The menu entry is visible in the "Actions" menu for WTParts but when I click on it a inline message appears saying:"CONFIRMATION: Successful copy Hello World object(s) copied to the clipboard"The "Hello Worlds" comes from my ps_send_to_plm.jsp and I figured out that the rest is coming from a JS method showCBMess which seems to be a method handling clipboard operations (e.g. copy).What am I missing here?
For a project I'd like to customize Windchill 10.0 M030 in order to have a menu entry which will call a Java class method and won't open a popup, wizard or refresh the UI.I already customized menu entries which opened a JSP and there I could of course do the Java part but I'd like to have no JSP appearing as popup.
Hi All,Need a help. Can anybody suggest which Windchill API can be used to automate "Build Associate Part" from a CAD Document in Windchill 10.0. Any help will be highly appreciated.Thanks,Prerna
Hello together,I have the task to find out if it is possible to add a new filter for parts as customization/plugin.I worked myself through the custumization document, but coudn't find out with that.Can you give me a hint where to start.Thank you
Hello,I'm trying to import a FMEA worksheet previously exported from another system in the same project but I always receive the same error message: The current record does not have a valid FMEA Tree Item or FMEA Identifier. Please selec the FMEA Tree Item and FMEA with which to associate this record. I tryed to export the FMEA worksheet. All the possible fields has been exported in an excel file, than I imported the same excel file in a different system using the automap to be sure to avoid any possible error. Nothing to do, the error is always the same mentioned above. Windchill doesn't find a valid FMEA Tree Item or FMEA Identifier in the file to Import. What can I do to try to solve this annoying problem?Obviously I can select the proper FMEA Tree Item but it's a huge waste of time to do this same thing in a tree with a lot of items.Thank you,Francesco
We run a query via XML that performs a project search and translates the results using XSL.We have the Query-Objects xml & xsd file on the server.The result is an XML that shows projects & attributes.The problem is in this output, the COLLECTION & INSTANCE is listed in a manner that Business Objects does not understand. When this is generated, Windchill adds the "wc:" in front of COLLECTION & INSTANCE. If we remove this, Business Objects can create the connection OK.Does anyone know if we can modify this output to remove the "wc:"?<?xml version="1.0" encoding="UTF-8"?><wc:COLLECTION xmlns:wc="http://www.ptc.com/infoengine/1.0"> -<com.amcorrigid.AM_PROJECT STATUS="0" TYPE="Object" NAME="output"> <wc:INSTANCE> <AM_PROJ_SEGMENT>xxxxxxxxxxxx</AM_PROJ_SEGMENT> <AM_PROJ_DESCRIPTION>xxxxxxxxxx</AM_PROJ_DESCRIPTION> <AM_PROJ_NAME>xxxxxxxxxxxxxx</AM_PROJ_NAME> <AM_CREATED>01/04/2010</AM_CREATED> <AM_PROJ_
Before rendering the tree table, condition is provided to check the value of Radio button from NmCommandBean. Then tree table is rendered correctly incollapsed mode as per setting on next page in wizard. Then I am trying to expand it by clicking on “+” icon.After that again focus goes to tree table builder code where NmCommandBean is null. And the expansion goes in infinte loop.Is there any way to solve this?
How to persist multi value IBA using event listener (Create and Update of object)
How to persist multi value IBA using APIFor example, I have an attribute called "IBAATTR", for this attribute, I need to store multi value (Value1, Value 2 and Value 3);Is there any API available?
how to add new roles not existed by default in windchill
Hye,I have a report to do with Query Builder (Windchill 8.0).However, I can not see objects that I created , but I can see others already existing .Can you tell me if there is a parameter or attribute to specify in modeling statement or a properties file to update ?Thank you for your help.Sebastien
Hi I am trying to develop a quick excel macro that will open a number of Windchill searches and pull certain data from each page. Any tips on how to manipulate the URL to open a particular item in Windchill? And then how to pull particular data once I get there? ie... What to find DocFun. Type DocFun into excel. Use macro to construct a URL something like: http://windchill.com/GoTo=DocFun Once Im there pull one of the data fields for that doc back into Excel. Thanks!
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.