Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi,I am trying to write a program that will check WTUsers to see when they last logged into Windchill. I have code that worked against our LDAP, but ran outside of Windchill. We need to move this inside Windchill in order to keep WTUser and LDAP User in sync. I've written Listeners before that will listen for an event, but I haven't written any scheduled services yet. Is there any examples that can help me? I can get the functionality working based on my previous code, but I'm not sure how to make it "scheduled" in Windchill.
Greetings, I am just starting the process of configuring Supplier Management. After creating a few Vendor Parts and selecting a Vendor (Org) for each I have found that I can see all the vendor items from a Suppler (Browse / Supplier List / View info for Vendor / then it shows all the Vendor parts. What I can not see is a way to view who the Suppler is from a Vendor Part? That would be nice if we could see who the supplier was from the Vendor part: I can add an attribute (category) and manually enter in the name of the Suppler but that seems a little unnecessary when WC already knows the association as I can see the part from the Supplier. What am I missing?
I configured SSL & HTTPS using CS159762 But IE and Chrome are both not safe!I installed it on a trusted root certificate authority through View Certificate in IE.After that, the certificate status shows "This is a valid certificate." But Chrome is still marked as unsafe! Why is not it safe?When configuring SSL & HTTPS, can not it be self-signed to be marked safe?Thank you Note openssl.cnf has not been modified
Greetings Windchillers, I have a question. We are going to be using the Deviation action in Variance to document our nonconforming items. Everything works well except we have one issue. For a Deviation that is not Resolved by an ECN, we are seeking a method to set it to Resolve besides Resolving it administratively. We thought about putting a timer robot to resolve it 90 days after the Approval, but that is not flexible, in case we need to change a date. Any ideas? Thanks in advance. James Hall PLM Administrator/Analyst Swisslog Healthcare (North America) Windchill 11.0 M030 , WGM 11.0 M030, Inventor Pro 2017, Windows 10
Has anyone ever created the need to soft type a work item? Is it even possible? We can soft type it in Type/Attribute Manager. But I'm not sure if we can configure Windchill to use that soft type that was created. This question has come up because we want to add several attributes to the work item. If we can soft type it, then those additional attributes can be limited to just 1 organization in Windchill. And the other organizations won't be bothered with these extra attributes if they don't want to see them. The same question has come up regarding Affected data for both the Change Request and the Change Activity. We would like to create several additional attributes, but limit the scope to just 1 organization.
Hi all, The idea is to create a new attribute that is read only until the value of the Default Trace Code Attribute is set to Serial Number. Once set to Serial Number the new attribute can be selected. Did anyone try something similar? Alex
Hi, I'm interested to see how Electronic signatures appear in Windchill, do any of you use them? I see detail on setup and I'm having issues but I'd like to see how they appear when used.
Hi. I'm trying to add form submission validation for Promotion Request creation wizard. But it doesn't work. So: 1) i have my own validator class ext.nikiet.validators.CreatePRValidator with implemented validateFormSubmission method2) this class is registered in codebase/service.properties wt.services/svc/default/com.ptc.core.ui.validation.UIComponentValidator/CreatePRValidation/null/0=ext.nikiet.validators.CreatePRValidator/duplicate 3) this validator is added to action in PromotionRequest-actions.xml <action name="create" .... afterVK="CreatePRValidation"> But CreatePRValidator is not created, and its method validateFormSubmission is not invoked during promotion request creation.In jcaDebug mode DefaultUIComponentValidator is displayed for wizard ok button.What am i doing wrong?Thanks. ps: windchill version 11.0 M030-CPS05
Hi all, We are experimenting using the distribution target in PDMLink to create an XML with Part, BOM information etc. But we are missing the AML/AVL data. How can we add that data to the XML export? Thanks
We recently found that Query Builder is creating SQL that performs very poorly (full table scans) specially if ProjectLink and/or SUMA was used and wanted to know if anyone else has seen this? We think we found out why and wonder it it might be affecting commonly used customization code as well. We are heavy users of Query Builder and have some very large clients with large DBs, One recently reported very poor performance of a large QB query and asked us to investage. We discovered that the SQL generated was doing full table scans and was taking many minutes to execute. We looked at the SQL and found that there was a union on a table called WorkItem and ProjectWorkItem. We wrote some example code using java to mimic the creation of SQL. It turns out that the ORM model of Windchill means that if includeDependencies is on the API uses this union structure in the SQL that is causing the full table scan. Q1. Can I stop QB using the setDescendantsIncluded when it bui
Hello,I am looking to trigger a catia macro prior to or post PDM actions. Our intent is that when a user performs an action such as Save, or check in from either the CATIA app or WGM Workspace, a CATIA macro would be triggered before or after the event.Would the WGM toolkit be the solution for creating and implementing this type of functionality? Are there any references available to better my understanding of the logic?Thanks!
My company is using PDM Essentials. We're on Release 10.2 M020-CPS08. Is it possible to add/update parameters and designate them without checking out part/assembly files? If so, how?
I am having troubles defining custom data types in a workflow and would appreciate it if someone can give me some advice. To create a new variable in an activity, the "Type Name" has to be selected from the existing data types. It is possible to import a custom class using "Windchill classes", so I tried using the com.acme.Pet (from the tutorial) but this only shows the label and there is no field to assign the value to. How can I specify the type of the value? If I want to have a dropdown, like for the wt.org.WTUser, with dog, cat and Gerbil, how should I proceed? Thank you for your help in advance!
We're having issues with publishing Creo and Solidworks files on a test environment with the latest Creo Adapters. The workers are set up, configured and seemingly functioning. For both Creo and Solidworks, the "Test Server" comes back successful but on publishing we get an error. I've looked thru the community here and there are a couple of topics dealing with the --15 error. I tried implementing some of the solutions but no luck. Can someone point me in the right direction? WVS Job Monitor Jan 26, 2018 9:14:22 AM:LOGID: worker_1.logJan 26, 2018 9:14:23 AM: Registering ServerJan 26, 2018 9:14:37 AM:Failed to register Windchill server "https://pdm.intel.com/windchill" "publish4649990951327963307tmp" - -15
Hello, if I externalize some code from a Workflow (right click over workflow -> Externalize Expressions), how can I modify it? Is it possible to modify the generated .java file and recompile it somehow afterwards?Thank you very much in advance
I recently ran into a problem when trying to use an attribute (attribute1) value for the number using OIR code like this: <!-- set the number to attribute1 value plus a generated number --> <AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator"> <Attr id="attribute1"/> <Arg>{GEN:wt.enterprise.SequenceGenerator:WTDOCUMENTID_seq:7:0</Arg> </AttrValue> The NumberGenerator algorithm concatenates the numbers together, but using the value of attribute1 seems to be a problem when using an enumeration constraint with the attribute. Even though the value of attribute1 might be a number in the UI, the internal name of the enumeration is added before the attribute value when used in the OIR. For example, the value of attribute might be 15, but <Attr id="attribute1"/> in the OIR above returns attribute1_enum_15, where attribute1_enum is the internal name of the enumeration. This i
Hello, I found this article https://www.ptc.com/en/support/article?n=CS251134 but I can't read everything, because we have some problems with maintenance. We already create PDF, DXF for a drawing in windchill, but it would be great to also have a high resolution JPG. According to the given article, it should be possible, but I can't find how it's done. Does somebody know, what the steps are to get a jpg? Thanks in advance
I have created and designated a few feature parameters for a Cable, the Windchill WTPart is set to accept these parameters, the Cables have been designated via Model Intent > Designate, and WTParts get created for the cables upon check-in, but the WTPart parameters don't get populated with the designated feature parameter values. Has anyone had any luck with this?
On Windchill 10.2 I have a large number of promotion requests across our business all within varying product folders, is there a way to run a report or search which can show all promotion requests and which part of the work flow they are in? Our set up is such that we send a file for approval which then has two approvers after approver A has approved it moves on to approver B, I would like to be able to monitor where the approval is in its life cycle across all of the products we have at the ssame time to get an overview of the business as a whole and monitor how approvals are progressing. Does anyone know know how to do this or set up a search that would enable this?
The OOTB RuleAlgorithms available in Windchill for object initialization do not include a string concatenator that allows whitespace. The OOTB com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator algorithm will concatenate together strings and attribute values, but it trims whitespace. Using a few lines of code, I was able to create my own. It makes use of the StringJoiner class available in java 1.8+. package ext.company; import wt.rule.algorithm.RuleAlgorithm; import wt.util.WTException; import wt.inf.container.WTContainerRef; import java.text.*; import java.util.*; public class customStringjoinerRuleSpace implements RuleAlgorithm { public Object calculate(Object args[], WTContainerRef container) throws WTException { StringJoiner name = new StringJoiner(" "); if (args!=null && args.length>0) { for (int i=0; i<args.length; i++) { if (args[i] != null) { name.add(args[i].toString()); } } } return name.t
I have a 10.1 production server that needs the rbinfo files implemented onto my 11 dev server, how would I go about doing this and is their any documentation on this? Thanks,
We have a workflow for submitting a file to a library. As part of that workflow, once an EPMDocument is approved, we want to move it to a specific folder. There's sample code listed on the support page that (after correcting typos) doesn't work. Instead, it comes up with a "Context not found: "Windchill PDM"" error. I tried changing the folder path in place of the default "System" but that doesn't change anything. Where should I look to next? What am I missing? // Check if a PBO has been assigned to the process if (primaryBusinessObject !=null) { try { wt.folder.Folder f = wt.folder.FolderHelper.service.getFolder( "/System"); //move the PBO to the '/System' folder wt.folder.FolderHelper.service.changeFolder((wt.folder.FolderEntry )primaryBusinessObject, f ); } catch ( wt.util.WTException wex ) { System.out.println( "Cannot move "+ primaryBusinessObject.getDisplayIdentifier( )+"because "+ wex.getLocalizedMessage( )} } } else // if a PBO has not been assigned t
Recently I created a subtype of WTParts. I have now went into the View Administration of Site and created new views hierarchy: Manufacturing SupplyChain1 SupplyChain2 SupplyChain3 I now need to assign these views to my created subtype and then call the objects with the new views in a Product Structure. I'm unsure of what this really means, let alone how to complete this task. What would be the best way of doing this?
Is it possible to make the value in the Trace Code Column of a structure non-editable?
This a customization question is for an existing Test Request document which is stored in a Test Library. I want to add an attribute called "Project" to the Test Request document. To populate the attribute, I want to be able to search and select from all existing Projects in Project Link to populate the attribute. Is this possible, and if so, how?
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.