Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I was trying to get data from ServiceEffectivity to a String and I tried to convert it to NmCommandBean as shown in the figure. When I tried to compile it I am now getting a error as String cannot be converted into NmCommandBean. How should I solve this problem?
I am now working on a customization where I have to create an export of Parts List data in that particular Information Structure based on the Service Effectivities present in the Service Effectivity Filter. When I am trying to get the Service Effectivity of a Parts List object it is giving me zero value though the service effectivities has been defined in it. I was trying to use these methods to get the service effectivity of a Parts List object. Method 1:ServiceEffectivityDataServiceFactory serviceFactory1 = new ServiceEffectivityDataServiceFactory();ServiceEffectivityDataService service1 = serviceFactory1.getServiceEffectivityDataServiceDelegate(partsList);List<Persistable> effectvityonPartandPLItem = service1.getEffectivitiesForPersistable(persistable); Method 2:QueryResult qr = ServiceEffectivityHelper.service.getEffectivitiesFor(partsList); Could you suggest me what mistake I made or is there any other alternative way to get the service effectivities of a part
Hello Community, My client is looking for a way to continuously synchronise data from PROD to DEV server. For example, if an assembly is modified in PROD, the same updates need to be propagated to DEV system so that any update that they may do in DEV will utilize the latest BOM. Could you tell me if you have faced with such requirement and what is the best possible way to go about the same? Thanks,Sha
Hi All,I want to clear attribute for specific use case is it possible to set Empty value for floating point or Long data type in windchill.Is it possible to set the attribute value as Empty for FloatingPoint data type.Thanks,Basheer
How to automatically transfer data (documents) from windchill project link to another windchill instance?
Hi All,I want to disable project email notification it should be enable only for creation of project can we able to configure it in such a way?Thanks,Basheer@HelesicPetr
Hi All,I want to customize the Promotion Request Notification Template can we able to configure it ?Thanks.@HelesicPetr
I want to add custom action on a windchill workspace GUI , if any body done then please share the details.
Hi everyone,we are uploading documents exported from another pdm (being deleted...) using a mass migration tool developed by an external company. I have to check if all the documents (pdf,doc,...) are really loaded in db.I just found some documents not uploading and I don't know why.do i just need a SELECT * FROM WTPARTMASTER, WTPART, ...?to check if all documents have been imported and try to upload them again. Thanks for any help!
I have been trying to connect Jasper Studio to WC 12 to add more parameters to the OOTB Change_Notice_Summary_Report. Documentation is not getting me to full solution.I can get the datasetxxxx.jar from WC and place it in the Plugins folder along with the log4j-api.jar.I can open the report and do a simple edit and send it back to WC to run the updated report and I see the simple edit. I cannot , however, see any of my custom attributes inside of the Jasper studio when I add a table or field,Each time I preview the report it fails with errors that say:net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: new net.sf.jasperreports.engine.data.JRXmlDataSource($P{WINDCHILL_URL}+"?proc=com_ptc_windchill_enterprise_report_ReportTask%23ChangeNoticeSummaryHeader&contextOid="+$P{contextOid}+"&isDraft=" + $P{isDraft} +"&uid="+$P{USERNAME}+"&locale="+$P{LOCALE},"/datase
I am using Windchill PDMLink Release 11.0 and Datecode with CPS N/ARemote access invoke issue while executing Windchill API's from client machine using Eclipse.Referred to article CS254321 for RMI.Here are the errors that I facedjava.lang.NoClassDefFoundError: sun/rmi/transport/proxy/RMISocketInfo at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1013) at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) at java.base/jdk.internal.loader.BuiltinClassLoader.loadCla
I have written below files but giving error while loading business rule: Business Rule:<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE BusinessRule SYSTEM "standardX20.dtd"><BusinessRule><ObjectID><localId>wt.businessRules.BusinessRule:151031</localId></ObjectID><key>RELEASE_TARGET</key><selector>RELEASE_TARGET</selector><name>com.ptc.windchill.enterprise.change2.change2ClientResource:RELEASE_TARGET_RULE_NAME</name><description>com.ptc.windchill.enterprise.change2.change2ClientResource:RELEASE_TARGET_RULE_DESC</description><enabled>true</enabled></BusinessRule>Business Rule Link:<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE BusinessRuleLink SYSTEM "standardX20.dtd"><BusinessRuleLink><ObjectID><localId>wt.businessRules.BusinessRuleLink:151033</localId></ObjectID><ruleSet><ObjectReference><localID>wt.businessRules
Hello, I wrote an API that queries all WTParts that match a search string. The query, however, should only return those WTParts that are in a specific project. Currently I am using the following 2 Search conditions for this (only parts of the actual QuerySpec): This query works, but as I figured out it only returns WTParts that are IN the project and not just part of it. Most WTParts or WTDocuments are just shared to the project and existed before the project was created.Those parts and documents then have a different container than 'MyProject', so the query won`t be able find and return those. I tried a couple of things, I also searched through the database to find any connections between the shared parts and the project, but I was not able to find anything useful. Is there a way to query for all WTParts that are in the project (so basically what you see when you click the project in Windchill) Best regards
Hello All,I have one attribute in create Part Wizard the value of that attribute is dyanamic(comming from 3rd application) on the basis of that I want to show the other attribute Group(like bussiness, General) So How I can do this customization?Thanks,Basheer@HelesicPetr
Looking for API to set multiValue Attribute in create page of Promotion Request. Values are taken from another MultiValued attribute. EG: Product under which PR is getting created has attribute A with values A,B,C When I am creating Promotion request , attribute in PR should take values from that attribute of product (Multivalued and editable) Help would be appriciated.Thanks
I just tried this url: https://community.ptc.com/t5/Windchill/ECN-Change-Activity-Need-Date-reflected-as-the-Task-Deadline/m-p/91375 Which leads to "This Content was Archived" Who decides when useful content needs to be archived?? This particular post shows how to programmatically modify a task deadline. I have the url copied into the comments of a method I created back in Nov of 2021: * Used code from this post: * https://community.ptc.com/t5/Windchill/ECN-Change-Activity-Need-Date-reflected-as-the-Task-Deadline/m-p/91375
I am looking to insert something that interacts with the lightbox (yellow banner) only on the homepage invocation. Normally, I can figure out where that is generated but does anyone know the main JSP for the user homepage?
We've developed a customization that uses the lightbox (yellow message banner) that executes on the user's home tab to relay actionable information. Each time the page is refreshed, the message appears but would not like to throttle that message to be periodic. Some of our thoughts were: Accessing the user's session creation and spacing out execution based on that time. Accessing the user's login time and doing same thing. Creating a singleton which keeps track of the user's last execution time limiting based on some timer. For the last option, how would that work across multiple method servers? Would each MS having its own JVM, have its own copy of the singleton? Not a huge issue but is there a system wide solution? Example solution would be to display a message no more than once every two hours. Open to any other solutions.
Is it possible to use an attribute connected to a CREO parameter in Windchill that reads both string and integer? If not, is there an easy way to convert the parameter type to string or integer inside the model in CREO?
I would like to know what are the major impacts of giving a freehand to end users to skip revisions.1)Is there performance impacts in Windchill.2)Are there any downstream impacts due to the skipped revision sequence.3)What are the impacts on the search engine of Windchill
I want to customize the version synchronizations for the part, cad and drawing data we use in windchill. I don't want to do this manually. Is it possible to create a flow for this process and take part data codes from users in this flow and synchronize these codes to the most current version in the workflow? If we do the version synchronization process in the workflow, will there be a problem in connecting the data with each other?
I need to make a new update for the Promotion request process. After users submit WTParts to SAP, they draw their drawings, which causes confusion.For this situation,I defined an attribute called "DRWPART" in WTPart. When DRWPART value is selected as YES, we indicate that there is or will be found a DRW data belonging to WTPart.I want to check codes with DRWPART value of YES.When the DRW data is not added in the promotion of these codes, I want the user to be assigned a task and the process to proceed without adding the DRW data. How can I control this?
Do anyone have idea, if the revise validator can be enabled/disabled based on a IBA attribute values ? For Example, Prevent users from Revising the Object when the IBA attribute have value called "PENDING" Let me know if anyone has any idea or worked on such cases or any alternate solution for the same
How can I construct an Info* Engine Task to create a document and add attachments or content to it?
In getStructure API, Number of cad doc occurrences repeated because of quantity of the component in the document structure. how to fetch cad structure with Each component is only listed once with a consolidated total quantity ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.