Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello, I am currently developing an app that need to create links between WTDocuments through the Rest API for WIndchill 12.0_2_7. I already found this article about creating Describe links between Documents and Parts, which I've implemented successfully, but cannot find any information on creating Usage links between two Documents. Here is the article: Article - CS285572 - How to create WTPartDescribeLink / WTPartReferenceLink using Windchill REST Services in Windchill PDMLink (ptc.com) Is there any documentation on how to implement this? Is it possible at all? Thanks!
Hello All,I have a requirement to add a custom action which will remove Objects in resulting Items table on wt.workflow.work.WorkItem -> Resulting Objects TableI need help on how to apply Post Select Validation Logic to remove only required Object type from the Selected Objects in the Table?
Is there any limit to have maximum number of queues?
Hello, Does somebody has moved from the NuGet RESTSharp 106 to 107 or higher (110 in my case)? They have change a lot of things and I'm not able now to complete the stage 2, to upload the file on Windchill server. I've used Postman to create the different steps and it's working perfectly on Postman: I try to use the C# code provided by postman, but not able to reproduce the same in my program. When I start the stage 2, it seems that the request is well executed but nothing is send to the server: the content info in return is empty:{ "contentInfos":[]} Should have a retun like that:{ "contentInfos": [ { "streamId": 76030, "fileSize": 2, "encodedInfo": "76035%3A2%3A150329%3A76035" }]} Previously, with version 106 of the RestSharp, I've got no issue. Thank you for your feedback and help.
Team Is it possible to GET OData data from within JSP code? It would GET from the local Windchill (localhost). Do I have an authentication problem?
Hi Anybody using ContainerTeamHelper.service.findContainerTeamGroups() method to get groups from a container? I'm using this and getting the exception java.io.NotSerializableException.Anybody else facing the same with Windchill 12?I require a common method to get groups from PDMLinkProduct, Library and Project.
Hello, I am populating some attributes from CAD to WTPart using Parameters. I want those attributes to be populated to associated WTDocuments as well. Looking for the best solution to achieve the same, please pour your ideas. Thanks,HS
Can I create a document using the program from the object in the attachment table?
I want a file to be created in the product when the user starts the workflow process. I prepared a code for this, but I could not proceed further because I received an error in the expression. How can I perform such an operation in the workflow? What are the errors in my code? CODE: try { wt.org.WTPrincipal wtPrincipal = wt.session.SessionHelper.manager.getPrincipal(); wt.org.WTPrincipalReference principalReference = wt.org.WTPrincipalReference.newWTPrincipalReference(wtPrincipal); // Assuming productId is defined somewhere in your code wt.folder.Folder productFolder = wt.folder.Folder.newFolder(); productFolder = wt.pdmlink.PDMLinkProduct(productId); wt.folder.Folder newFolder = wt.folder.Folder.create(); newFolder.setName(name); newFolder.setDescription(folderDescription); wt.folder.FolderHelper.service.addToFolder(productFolder, newFolder); wt.fc.PersistenceHelper.manager.save(newFolder); System.out.println("Folder created successfully under
Hi All,I tried creating a custom picker using data utility. It is coming on UI but custom picker callback is not working.I am getting following error:"It seems that you have not defined the callback function or the there is some error in it: testCallBack exception: ReferenceError: testCallBack is not defined" Picker Callback: function testCallBack(objects, pickerID ) { alert("in testCallBack"); var updateHiddenField = document.getElementById(pickerID); var updateDisplayField = document.getElementById(pickerID + "$label$"); var myJSONObjects = objects.pickedObject; for(var i=0; i< myJSONObjects.length;i++) { var oid = myJSONObjects[i].oid; //Here “name” is the displayAttribute requested var displayAttr = eval("myJSONObjects[i].name"); updateHiddenField.value=oid; updateDisplayField.value=displayAttr; } }
Hi PTC-Commuity,I need to use a NX PMI Options for my CreoView Adapters (pmiOption = "THIS_LEVEL_ONLY").The local NX Configuration on my Workers will be ignored, (see Article - CS406664 )In the WindchillHelpCenter I see, that the Option is not available. (NX Output Options for JT (ptc.com))Can you help me, how to implement this Option into my configuration?ThanksbrMax
Hii'm trying to build an Creo utility that adds "non latest" version of epmdoc to WS.Unfortunately, this is not supported through the toolkit - as specified in Article - CS7762So, i'm thinking to add epmdoc to WS using Windchill api first and then connect to relevant WS using Creo API.did any of you tried this approach ? any other suggestions/ideas ?i'm planning to facilitate AddToWorkspaceAction for that. Many thanks,
Hi Community, Do we need Windchill DS up and running in Replica Server?
Hi Community, I want to add rules for subtasks that I start with Ad Hoc Activity. I want the task to not close and see the error message unless the user adds a document. I can do this for normal activities. but I couldn't add a rule for subtasks started with Ad Hoc Activity. Is there a way I can do this?
Hello All,Is there any API which can help to update existing WTUser with another WTUser.For Example, If john is one user who is part of many groups and change processes and he leaved the company now I want john should be replace with Max. All the existing task which was with john should be assigned to Max. Thanks @HelesicPetr
We currently have over 15 different attributes to (optionally) fill in when creating a part and for users it's getting a bit hard to understand all of them. It would be nice to add a way to find extra information on that attribute, but we can't seem to really find something.Possible things we would like:A tooltip on long hover with a explanation of what this attribute does:Or just a text block explaining what you see.Make the attribute label a hyperlink that links to a knowledge base.Is any of these possible in Windchill? Or maybe something else? Any help or insights would be much appriciated!
Good dayI am a newbie with Windchill and I would like to find out if it is possible to have the numbering sequence start from 1 with every new product created. So when I check in my first document on a new product the numbering starts at 1 and not from the system where many other documents have already been checked in. Regards
Hello, I am unable to carry out the rehost process.I need to change the server name so that Windchill doesn't lose communication. Would you help me ? I've seen the PTC documentation but it didn't help, it doesn't say which parameter I have to change so that the system understands the new server name.
Hi Community, I need to check the Attachments table on launched streams.How can I find out how many files are in the table from Expression? I will check the number of files that need to be uploaded according to this quantity.For example, in the task step, the user needs to upload 3 PDFs, but he uploaded only one. How can I prevent that task from closing by having it checked?
The PDF's of the drawings are being published in Windchill completely outside the format we use in CREO drawings. The font of the letters, their size, the color, everything is outside the standard we use, and we don't know how to solve this problem.
I want to create a new FMEA Worksheet table format for new/future system files, but retain the old version for ongoing projects. The documentation I've found isn't clear if creating a new table format revision will lock the DATA in the "old" tables, or just lock the FORMAT of the old tables. Ongoing projects will need to be editable for a few years yet. I don't want to have a bunch of different date stamped table formats defined for different system files as we evolve our configuration. Any ideas?
This is a generic problem but one that I face now and then moving code changes through GIT and wanted to get your thoughts. I have some integrations where properties files store the connection information to that other database. That database will be different for Dev/Test and production so that file needs to have the right connection information. Just recently, I have changes to my security labels and am calling out a group for Agreement Managers. That org tied to that group is different in my Dev server and my production server. Obviously, this needs to be changed during deployment. As I moved toward more automated deployment methods, how based do we handle these server specific file alterations? I am considering moving many of these specific parameters to an .xconf file and out of the GIT repo. This will take some refactoring. The securityLabelsConfiguration.xml is another story. Do I just have to create a special deployment task which is to update all of these known plac
Good dayI would like to add another column in the Folders table (left pane) not the Folder Contents table (Right pane)Currently the only column is "name" and i can only sort by name.I need a description column that displays the description of the folder.See attached picture
Hi All, I am trying to create WTpart by using "Create-Object" webject. When i try to execute this, getting below exception : (wt.folder.folderResource/5) wt.folder.FolderException:Object "TOP_PARENT" must be assigned to a folder. Kindly help me to solve this. Regards, Vivek Here is my task file, ========================================= <%@page language="java"%><%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie"%><%!static final String[] PART_NAMES={"TOP_PARENT","PARENT_A","PARENT_B","PARENT_C","CHIELD_PARENT_A","CHIELD_PARENT_B","CHIELD_PARENT_C","CHIELD_PARENT_D"};%><ie:webject name="Query-Objects" type="OBJ"> <ie:param name="INSTANCE" data="$(@FORM[]supporting-adapter[*])" delim="!" valueSeparator="!" default="<%=com.infoengine.au.NamingService.getVMName()%>"/> <ie:param name="GROUP_OUT" data="product"/> <ie:param name="TYPE" data="w
When using the Windchill REST API, I am limited to receiving only 25 records by default due to the stiptoken=25 parameter. However, I want to retrieve all the data, so how can I remove the stiptoken parameter via the API? Can you assist me with this?
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.