Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
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?
Hello, Is it possible to retrieve groups and roles of a deleted user? Thank you.
Hello, I have an attribute loaded for the WTChangeActivity2, and I want to map the attribute for the associated resulting objects of that change activity using Alias attribute concept. Please let me know the feasibility of doing the same. Thanks in advance. Regards, Sha
Hi all, Can you help me on how to create a custom picker which can retrive all versions of WTParts in the picker?I want to use this functionality via custom jsp page, is there any way to do this?
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.5i want to create one custom REST API to create a part in windchill actualley i have already created one rest api in swagger UI in windchill but i am getting one error as "error": "no response from server" so can you please give us some sample code for that.
Hello, I am trying to execute a jasper report from a document object's actions menu. However, it is failing. The infoengine url works and the jsp also is able to call the jasper report. But, it doesnt generate the final report on the UI. I am sharing the logs below. Kindly provide any suggestions on how to resolve this. Thanks,
How can I customize below two functionality and I should be able to send email to users which i want (Able to select hardcoded recipient in UI or can be able to add manually if user is not available in hardcoded list).1) Multi-level BOM report2)Multi-level Component list report For Above two requirement kindly find attachement. Thank you in advance for your comment/suggestion/reply.
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.