Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
We are trying to configure a custom Windchill worker to generate Creo View Representations in PDF formatof AutoCAD dwg, dxf files referring to this article: https://www.ptc.com/en/support/article/CS40919 We are currently experiencing an error: "..cannot produce output file xxx.out ". How to solve this problem?
We have a user that is no longer available that has set up subscriptions for many groups. I am hoping to edit/delete these as many are not needed or need updates. Is this possible? If so, how?
I am trying to find specific assigned activities in a workflow process so that I can programmatically close them (with a vote if possible) and keep them in the tasks completed tables, rather than have them disappear. I can go from activity to process, but cannot see anything to go in reverse from process to activity... and I can see the WorkflowHelper/Service that can list WorkItems but do not know the relation of these to the assigned activities. Is there a basic cheat sheet in the help guider anywhere that I can read and begin to try things without always begging for help from the community?
How to create a Save-as-History link between two WTDocuments in windchill12.1?Which api should I use to create a link between two WTDocuments?
Hello, I have a problem using an attribute value in an Document OIR. I want to use the project number to be in the attribute naming. This gives me an error: <AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator" ignore="false" force="false" final="false"> <Arg>CALC-1234567-</Arg> <Attr id="MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|ProjectNumber"/> </AttrValue> If I try it with the name for example, it works fine. What is my error?:MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|containerInfo.name <-- works fine!MBA|containerReference^WCTYPE|wt.projmgmt.admin.Project2~MBA|ProjectNumber <-- does not work! Thank you very much!
Hi All,On the SAVEAS action we have SaveAsDependencyAndEditJSTableProcessorand in that class we are using JSTableDescriptor for my requirement I have extended the class and trying to hide one column using setHidden method so it is working in WC11 but after successful execution it is not working in WC12 any hint what should be the issue?@HelesicPetr Thanks,
Is there a way to mass assign Distribution Targets (DTs) in the Change Task Resulting Objects table? Suppose I have 2000 objects in my Resulting Objects table of a Change Task and I do not know if they all have a DT assigned yet or not. Each view has its own DT i.e. a "New York" view of an Object needs to have the "New York" DT assigned to it. Is there a way to enable me to sort my table by view, make mass selections by view, and assign a DT to that view group selection? What I am describing is an "ideal" way of assigning DTs from my perspective, but it may not exist. Regardless, my question to the community is if this exact or similar functionality exists in Windchill PTC.
{ "code": "CONFIGURATION_ERROR_CONFLICTING_DOMAIN_VERSIONS", "message": "Conflicting versions of domain ChangeMgmt are being imported: Versions 5 and 6" }
Hello Everyone, We are trying to implement a "Staggered" Approval Promotion process in Windchill. Apart from "Approvers", the workflow must also include "Reviewers" to be aware of the objects being promoted, but not need to perform any actions. I have added a couple of "Review" tasks similar to what was available in the OOTB "Two Level" Approval Process. However, even after adding all the necessary participants for the respective "Review Tasks", I am unable to view the "Reviewer" column in the "Select Participants" window of a Promotion Request. How could I achieve this?BWorkflowBest Regards,Irfan
I need a windchill API which gives all cad documents url in output. For every partnumber, i need url for the files .prt, .asm, .drw.
This is command using, windchill wt.load.LoadFromFile -d <path/loadfile> -CONT_PATH \"/wt.inf.container.OrgContainer=Test_org\" -username/-password
When i try to import the jspf file, windchill is throwing an error message as attached in the screenshot. Is there any solution to remove/fix this error? @HelesicPetr
Hi Communuty!I can reflect the change made in the wtpart data to the cad data by selecting the "publish to cad" option when checking in. When I want to check more than one wtpart data in the advance search section of this method, that option does not appear. How can I do this?If it is impossible to bring the "publish to cad" option on the check-in screen, can I bring the "Publish to cad" button in the actions menu on the details page to the advance searc actions menu?
I created a new ApplicationData and my intent is to just show the name of ApplicationData with a specific name, whenever the getFileName() is called. But the name would always return as {$CAD_NAME} Below is the code:EPMDocument epmDocument = (EPMDocument) object;ContentHolder contentHolder = ContentHelper.service.getContents((ContentHolder) epmDocument);ContentItem contentItem = ContentHelper.getPrimary((FormatContentHolder) contentHolder);if (contentItem != null ) { ApplicationData appData = (ApplicationData) contentItem;if (appData != null) { //appData should have this cad name. appData.setFileName(epmDocument.getCADName());}}---The issue with the above code is, the setFileName() would only show effect till I add the below line: - PersistenceHelper.manager.save(appData);But with the above line there would be a database change for ApplicationData, which I do not need. Is there a way to make the getFilename() of the Ap
Hi All, I have custom IBA on one of the WTDocument softype, I want to retrieve all the document with this IBA value. Please suggest how to add searchCondition in QuerySpec? Thanks,Vishvanatha
In ChangeTypeSQL utility, it is written that "Not supported for converting Non-Reference Documents that were linked to WTParts as a "Reference Document" refer below. •Converting a Reference Document to any other WTDocument type. Converting a non-reference document to a Reference Document is also not supported if WTParts are attached the document type. We are converting objects of a soft type that is created under wt.doc.WTDocument to a new soft type created under com.ptc.ReferenceDocument. based on the reference documents section in this article, it seems this is not advisable. on a lower env, we executed this conversion and ran some tests and results are good. Does anyone have more detail on this? what will fail here.
Jasper report is getting executed for hours and not generating the output.Please find the below image.Note :Successful preview in Jasper StudioNo errors in MS logs
Hi All, In Windchill 12.1 Vesion below API is not supported and any alternative API? SearchCondition sc = TypedUtility.getSearchCondition("WTYPE|WTDocument|my.softType", true); My requirement is to get wtdocument softype as searchcondition then add to QuerySpec. Thanks,Vishvanatha
Hi,I am working on some Windchill customization for a client. I did a Java program, called as onpublish.afterloadermethod. I call some external REST web services and get back JSON response, which I have to parse.As Java 8 doesn't have native JSON parser and I don't want to use third party Java JSON library (possible maintenance problems and additional work involved), I want to use some internal solution (like internal JSON library, used by developers), which must exist inside Windchill and will be available with future WIndchill verisons.Can anybody help me?Thanks.
Hello ,How can i get a list of product context that contain specific ROLE ?
Add EXTENSION attribute value (ex: EXTENSION - PART, set number like 123_PART.prt) as suffix to the number of the object using OIR.extension is a custom attribute created under wtpart.
Hi AllI've got a requirement to open the History Tab of a WTPart on the click of a link.I found that we can open Related Objects Tab by reconstructing the link as Windchill/app/#ptc1/tcomp/infoPage?tlnType=part&tlnAction=relatedPartsDocuments&oid=<some-oid-for-a-part>.. I'm unable to do the same for History Tab. Anybody got a workaround?Many thanks in advance.
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.