Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Version: Windchill 13.0 Use Case: I added an expression robot to one of our ECN workflows and noticed that it sometimes stalls out, not allowing the workflow to progress. Is it possible to somehow skip this expression robot in the workflows that are stalled so that the rest of the ECN workflow can progress to resolution? Description: I wrote a custom bit of code into an expression robot to extract and put into a workflow variable the WTPart dispositions so that these can be emailed downstream to other parts of the company. Some of the workflows seem to stall out on this expression robot. Is it possible to "un-stall" the workflows that are stuck here? Ideally, I'd just move on to the next item - ECN Approved email? I'm reviewing the code in the interim but would like the handful of ECNs that are stuck here to get through to resolution.
Version: Windchill 12.1 Use Case: Analysis of Stream dataDescription: Analysing the stream data - count of object types per organization
Version: Windchill 12.1 Use Case: How to use the PTC.ProdMgmt.GetBOM with the POSTMAN App?Description: Hello community, In my case i want to fetch some data from my BOM (in the picture) so i need to fill the parametersI've used the PartID from the first picture in the URL, the CSRF NONCE i got from this Link http://<Windchill HOME>/Windchill/servlet/odata/PTC/GetCSRFToken() and copied the code in the CSRF_NONCE Fieldi am not sure what to type in the body can I let it emty?when I click Execute i get the Link with error code 400 Thanks in advance
Version: Windchill 13.0 Use Case: We have a requirement to display default BOM attribute values when "IBM Part Usage" link instance is created . We have created a custom link type "IBM PART USAGE" inherited from "Part Usage" link and added some custom attributes.I am using navigation Part -> Structure -> Uses -> Insert Existing to add a child part.The custom attributes are displayed in the ""Usage Soft Attributes" section , in Step#2 of the Insert Existing wizard. I need to display default attribute value on Edit "Part Usage Link" dialog, based on the child Part its being connected to or set the value as soon as a new link is created between parent and child part/s.Description: I set datautility to the attribute in "Part Structure Usage Edit" layout , but its not getting invoked during link creation using Insert existing part.I wanted to set link attribute values using OIR , but I dont see an option to set OIR for Part Usage Link.Does anyone know which formpro
Good mornig,I tried to use this code on WNC 12.1, replacing LWCNormalizedObject (deprecated) with PersistableAdapter: private static void setIbaOnPartUsesOccurrence(PartUsesOccurrence puo, String ibaName, String ibaValue) throws WTException {System.out.println("--------- Import.setIBAonPartUsesOccurrenc invoked on occurrence "+ puo.getName() +", with ibaName=" + ibaName + " and ibaValue=" + ibaValue);wt.occurrence.UsesOccurrenceUserIBAs iba=wt.occurrence.UsesOccurrenceUserIBAs.newUsesOccurrenceUserIBAs(puo);com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(iba,null,java.util.Locale.US,new com.ptc.core.meta.common.UpdateOperationIdentifier());obj.load(ibaName);obj.set(ibaName,ibaValue);obj.apply();wt.fc.collections.WTKeyedMap usesOccurrencesAndData = new wt.fc.collections.WTKeyedHashMap();wt.fc.collections.WTCollection relatedUsesOccurrenceData = new wt.fc.collections.WTArrayList(); relatedUsesOccurrenceData.add(iba);usesOccurrencesAndD
I am trying below piece of code to publish publication structure using publishing rule. Can anyone guide me if anything wrong in what I am trying. Publisher pub = new Publisher();String objRef = ObjectReference.newObjectReference(pubStruct).toString();if(!(WorkInProgressHelper.isCheckedOut(pubStruct))) { String actionString = "<wvsoptions>pubrulename=PS PDF **** Publishing Rule"; boolean result = pub.doPublish(false, true, objRef, (ConfigSpec) null, (ConfigSpec) null, true, "Sample_Rep", "Sample_Rep_Desc", Publisher.EPM, actionString, 0);}I am getting the below error in methodserver. wt.wvs.content.FileHelper - null java.lang.NullPointerException at wt.pom.PersistentObjectManager.expand(PersistentObjectManager.java:1409) at wt.fc.StandardPersistenceManager.expand(StandardPersistenceManager.java:3121) at wt.fc.StandardPersistenceManager.navigate(StandardPersistenceManager.java:497) at jdk.internal.reflect.GeneratedMethodAccessor357.invoke(Unknown Source) at java.bas
Hello Everyone, I need to update the verification status of each instance in the family table using the Windchill API.I am currently able to update the attributes of both the generic and instance entities using the following API:EPMWorkspaceHelper.manager.setAttributes(ws, epmAttributeMap);Has anyone worked on this before or have any insights on how to proceed?
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.2.0We need to intercept the checkin event of a wtpart when the user does the following operations: checks out a wtpart, modifies only its structure links (or adds documents) and checks it in without changing its attributes.
Hello, When I try to search for WTparts with specific attributes, it returns results that are not the latest revision although I specifically say that I want only the latest revision: I also tried to change user preferences to show only latest revision, but with no effect:Anyone can help?
Version: Windchill 13.0 Use Case: I am trying to access an API in the change management domain which GETs some data and i want to make a get call using a filter by the name "Owner" which is of PTC.PrincipalMgmt.User type, trying to build a simple filter query here but when using queries like Owner eq " OwnerName " I get an error : { "error": { "code": null, "message": "The types 'PTC.PrincipalMgmt.User' and 'Edm.String' are not compatible." } } which clearly signals that the query format is wrong since i need to pass the object and i have passed string. So what change do i need to perform in my GET call.Description: I am trying to access an API in the change management domain which GETs some data and i want to make a get call using a filter by the name "Owner" which is of PTC.PrincipalMgmt.User type, trying to build a simple filter query here but when using queries like Owner eq " OwnerName " I get an error :{"error": {"code": null,"message": "The types 'PTC.PrincipalMgmt.User' an
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.1.0Trying to fetch BOM data with ID e.g.OR:wt.part.WTPart:455420, in the WRS Domain under Product Management Domain under POST GetBOM i enter Parameters and CSRF TOKEN from /servlet/odata/PTC/GetCSRFToken()the ParametersName Description$selectstring(query)$select$expandstring(query)Components($expand=Part($select=Name,Number),PartUse,Occurrences;$levels=max)CSRF_NONCE *string(header)wq4/k91jTdavRJ8Olv9d34oJDJLcCNM5s4FQ37gbFbObF/hh+pgU+ocrf73iE647gcNW1vIIfeuVdag68ZsHq+1Te+6ZcKVD9MgO9q8Nda/VEKp9p5xwyqlUKJnnfMVHl95c9u87err1D9NMgMplqqsAcA==PartId *string(path)OR:wt.part.WTPart:455420body *object(body)Edit ValueModel{"navigationCriteriaId": ""}and click executeHere are the errors that I facedwhen i paste the link in the POSTMAN I am getting error{"error": {"code": null,"message": "The syntax of the JSON document is not valid."}}
Hi Team,I need to be provided with the few admin privileges for some groups. How to provide any solution and suggestion for this requirement?1. Access for all contexts (products)2. Access for undo-checkout of all objects3. Access to search data which are not checked in (Present only in user workspace)4. Access to view all the users and groups5. Access for deleting the latest revision of an object or all revisions6. Access to Job monitor for checking the status of the published jobs7. Access to restart the workflows in case of issues (set state or reassign lifecycle)8. Access to reset Innoface transfer attributes9. Access to republish or Create new representation10. Access to reassign workflow tasks
I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.1.0Hi PTC Team,We want the change all the change Task template to different Change Task Sub Type, is there any API or code do we have to convert the Sub Type?
I have created attribute in windchill that attribute values should reflect in the xml file
Hello, I have a resulting String with values and need to be shown as a second column in custom table builder for example below, I have a first column with IBA's for my WTPart and in second column need to fetch resulting values with some calculations incode via buidComponentData and display "NValue" column in the table Can anyone assist me with this Nutrient NValueEnergy363 kcalTotal Fat35.3 gSaturated Fat18.2 gCarbohydrates21.0 gSugars0.9 gProtein1.3 gSodium806 mg
Version: Windchill 12.1 Use Case: how to find the list of object types which as attachment tablesDescription: how to find the list of object types which as attachment tables
Version: Windchill 13.0 Use Case: Project Plan Creation - Customization Description: So, When the Project Plan is created, there is an EstimatedFinish2 that needs to be auto-populated based on the EstimatedFinishDate. How can this be done? Is any Java customization required, or can it be achieved through changes in XML files? Thanks,
Version: Windchill 13.0 Use Case: want to create multiple usage link in single shot with one time iteration of Parent partDescription: WTPartUsageLink newUsageLink = WTPartUsageLink.newWTPartUsageLink(parentPart, childPart.getMaster());this API iterate every time parent part
Does anyone have experience calling and generating a Jasper Report from a Workflow expression. The challenge here is that the workflow runs on Master node, which only has BGMS and no foreground MS, in the cluster configuration. Reports can be generated successfully in a monolithic setup where Jasper, BGMS and MS are on same machine.
Version: Windchill 13.0 Use Case: I want to give the user the possibility to access directly sharepoint info pages to gain information and/or launch external applications etc.Description: Is there a possibility to customize the UI of the Workgroup Manager such as adding a TAB or RIBBON with ICONS as you can do in PTC Creo?Other idea is to have the possibility to add more browser tabs with different (home) pages.I have looked in the ini file but it seems that this is very limited.Any idea or suggestion?
Version: Windchill 12.1 Use Case: WRS How to get Change Notices by Context Name/ID in Thingworx/WRS?Description: WRS How to get Change Notices by Context Name/ID in Thingworx/WRS?
How to integrate s1000D schema files in windchill?
Hi @GregoryPERASSO , Thanks for the update this. But I would like to handle remove user while clicking remove icon in setup participants pop message appear in at least one user should be mandatory to available blow role. This case, I have created validator but my validator only working Action->Remove option selected. If I selected against of remove icon not working. I checked both action name is same. If previously tried anyone? If you have any idea, please let me know.
I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.1On Desktop Integration, we are trying to pull the electronic signature of the user. we are currently able to fetch the signature and process the signature but unable to add it to word.What is the action setup for the DTI client to get the image (jpeg or png) assign signature.
Version: Windchill 12.1 Use Case: am trying to retrieve the primary content of WTDocument, Am trying to use "type":"Edm.Stream", but insuccessful. Could you please suggest the right approach Description: download primary content using Odata Rest Service
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.