Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I want the users to be able to edit only few columns(Comments or Disposition Comments), and make the other columns/fields read-only in this table. Is it possible with basic customization/configuration?
HiWe have some EPMDocuments as "DefaultEPMDocument" type in a Particular Library.How we can change all the data in this particular library to some other SubType, say "StandardPartType"As of now i can change one item at a time using "wt.epm.util.SoftTypeChangeUtility" 1. how can i change items of a particular library in batch mode? 2. how can i pass username password in single document mode command itself?Thank you.//Rakesh
Hi , Anyone aware if we can get the "Set Location" value changed during the check in of CAD object from workspace. 1. User will create a CAD Document in Workspace with Context is (ABC)2. User will change the context using Set Location available in Check In options (XYZ)3. the CAD object is created in ABC only is there a API to get the changed location value ? above options are not based on UI, we have some customization to check the valid objects to valid container which the validation is handled via listener during check in.
We automated the process of duplicating the ManufDS and associated Process Plan from the MAPSB by extracting the number and name of the ManufDS and filling them into the corresponding fields of the Process Plan. To achieve this, we developed a custom class that extends the default DuplicateProcessPlanAssociationCopyOverDelegate class and modified certain methods. Subsequently, we replaced the default class with our custom class in the mpmlink.service.properties.xconf file. <Option cardinality="singleton" requestor="com.ptc.windchill.mpml.processplan.MPMPartToProcessPlanLink" selector="mapsb_duplicate" serviceClass="com.ptc.windchill.mpml.CustomClass"/> this worked smoothly in version 11, but unfortunately, it is not functional in the current version 12.1. and the line corresponding to DuplicateProcessPlanAssociationCopyOverDelegate is no longer exists in the mpmlink.service.properties.xconf file.11:12.1: We would greatly appreciate
Has anyone tried to create a custom input page for a Jasper report with an itempicker? I see that the ootb ChangeSummary report uses one - I tried to copy the pattern where it uses a .js script to set the contextOid (of the selectedobject) as a hidden input (and verify it is set when I debug) and submits the form but it is not getting passed to the report task.xml. Thanks.
My Creo version is 5.0, and windchill version is 11.0.When I use IE as inner browser , It is working(yes, some dialogue show : some scripts make your browser running slowly, do you want to stop running them). Are there some configurations in windchill server side not right?Would anyone know how to fix this problem.Thanks in advance!
Hi all, Looking at customizing lifecycle states in a sandbox, adding my own states, I should have access to a "Customize Modeled Enumerations panel" under Site - Utilities - Type and Attribute Management. However, I only see the usual five "Manage,,," panels. Guides tell me not to do this directly in files, but use the utility.I'm trying to find out what I'm missing, but no luck so far in PTC help pages here. Can someone point me in the right direction, please? https://support.ptc.com/help/windchill/r12.1.2.0/en/index.html#page/Windchill_Help_Center/etutil/TypeMgrModeledEnumEnumSelect.html#wwID0EEWEW
Hello, I would like to retrieve the constraints of a classification attribute (Valid Range, Legal Value List, String Values, etc).I tried it like mentioned in https://www.ptc.com/en/support/article/CS240966 PersistableAdapter persistableAdapter = new PersistableAdapter(manuPart, null, SessionHelper.manager.getLocale(),new DisplayOperationIdentifier());AttributeTypeSummary attrDesc = persistableAdapter.getAttributeDescriptor(internalAttrName);attrDesc.getLegalValueSet();attrDesc.getConstraints(); getLegalValueSet() always returns null, even though all attributes I tried have at least 1 constraint.getConstraints() is deprecated and also returns null. I tried so many different approaches, nothing worked. I found another post from last year, where the same problem was described. Is there another way to query attribute constraints, is there some kind of service for that? Thanks and best regards
As per the original post. Hi @cblaumeier , I am currently having the same issue. I am not quite sure what you mean. I tried loading all classifications branches from where the attribute lies up to the root. I also tried some other approaches but no matter what I try, I always receive null when executing .getConstraints() or .getLegalValueSet(). Could you please explain this in more detail. What exactly do I need to load before loading the attribute itself? Best regdards
Hello the Community. I'm trying to update the "Variance Summary Report" in JasperSoft Studio.I want to add tables that would include Attributes we added to the Variance.I understand I need to create the new Fields in the dataset.I added some to the DatasetForVRHeader and made sure to match their name with the attribute's internal name.In addition, I aslo found that those reports are relying on Info*Engine.Therefore, I updated the related .xml to include the attributes I want to display in my report.I updated tasks/com/ptc/windchill/enterprise/change2/reports/VarianceSummaryHeader.xml and ChangeItemSummaryHeader.xml. (tomcat and Info*Engine caches were cleared)When compiled, the report seems not to understand the changes I made (the added attributes are displayed without value).Does anybody succeeded in making chenges to those "Info*Engine" generated reports ? Regards.François
Hello,I have developed a custom action menu on WTPart (a default object in Windchill), but for some reason, the same action menu is appearing on its child objects as well.I would like to know how I can limit the display of this custom action menu only to the main WTPart object and not its children.Regards,Shrikant Bhosle
How can I assign a value to the attribute flow defined in WTPart?
Hello experts.We have a few old templates created by folks who have long left the company.It looks like they call out roles that we have in or RoleRB file and a few we do not.I think they also call out the Permissions on Roles for those none RoleRB roles?Any guidance would be helpful
When i create a CN1(Full Track) with Part XYZ(BOM top Level) with revision A.2 in released state as affected object only and do submit later.Create a Redline 1 for the Part XYZ and then move the CN1 to Pending Implementation state.Then i create a CN2(Fast Track) for the same Part XYZ with revision A.2 in released state as affected objects and do submit later.Create a Redline 2 for Part XYZ and then do a revise in implementation plan and the Redline 2 is successfully incorporated into Part XYZ B.1Now when i cone back to the CN1 which is in pending implementation state. The affected object shows Part XYZ in A.2 version and does not get refreshed to Part XYZ B.1 Released version.What needs to be done so that the Affected objects are refreshed automatically.
Hi Community, I need to control some attributes in the flow, but I have controlled them, except for a few cases.The first error is if EN_LANG attributes in WTPart are empty, it gives an error for null value.The second error is that SURFACE_M2 attributes are defined with com.ptc.core.meta.common.FloatingPoint type, but SURFACE_M2 attributes can receive values automatically from creo, and when this value is an integer (for example 1), it gives an error in getting the value.I tried to get the values of these attributes in the code below com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(part,null,java.util.Locale.getDefault(),new com.ptc.core.meta.common .UpdateOperationIdentifier()); obj.load("EN_LANG","SURFACE_M2"); EN_LANG=(java.lang.String) obj.get("EN_LANG"); SURFACE_M2=(com.ptc.core.meta.common.FloatingPoint) obj.get("SURFACE_M2");
Add ability to customize task notification emails.More than...The handful of additional calls that can be added to the subject/body an message per the Help (Workflow EMail Notifications - activityAttributes, activity NotificationUrl and getDeadline).Or the suggestion of using Email Robots or Expression Robots that require updates to all workflows and does not work for previously started processes. It seems as if modifying the General.html (and locale) and registering a custom template processor is not a supported customization because it impacts all emails.
Hi community, I want to get the value of an attribute in the code below. The attribute is of type real number, defined by the com.ptc.core.meta.common.FloatingPoint class. When I try to get the value it doesn't give me any results. Can you help me? com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(part,null,java.util.Locale.getDefault(),new com.ptc.core.meta.common.UpdateOperationIdentifier()); obj.load("SURFACE_M2 "); SURFACE_M2 = (com.ptc.core.meta.commmon.FloatingPoint) obj.get("SURFACE_M2");
@HelesicPetr
I recently imported a number of bills of material into Windchill Risk and Reliability 11.1It would appear that the part numbers for a few parts were recognized by some form of library. For these parts, the classification, category and subcategories were filled in.What I noticed, though, was that there were consistently mixups between inductors and ICs. How can I locate the library that these parts are being identified from? We have not put these parts into proprietary libraries that we created, my guess is that the libraries must be part of our Windchill install. I want to track the source of this down. Doing so would also give me some experience with setting up our own libraries of parts from our analyses. Thanks, Chris
Hi Community, How can I get the information of the attributes in the stream I created in the task I designed with JSP?
Dears, I have customized two attributes in the part subtype which have a cascading relationship, attribute A has roughly 70 values, attribute B has roughly 1000 values, attribute A is level1, attribute B is level2, attribute A is one-to-many for attribute B. I am considering if there is a performance issue if I create 70 rules in cascading? If there is a performance issue, is there any other suitable way to handle such attributes? Thanks BR,Chason
I want to add an activity in one of our ECN flows that runs in parallel to the rest of the approval so that the reviews and so on continue and a part can get released but the ECN itself wouldn't be resolved until that last parallel activity is completed. The idea is that the release of a part isn't gated by that one activity that can happen throughout the ECN flow. Looks like paralle expressions are ok. Any pros/cons to doing this with activities? Any pitfalls? Or perhaps a different approach?
Hello, Is there any 'acceptable way' to customize the "new Project" wizard to make this "Identify out-of-sync shared objects" be enabled by default? I know there is a way to do it through file "showCheckBoxes.jspf" but I'm pretty sure that modifying JSPF file is not acceptable. I can't find any other way, and seems there are no preferences for modifying this. Best regards,Mateusz Walendziuk
Hi All,Could we make comments field mandatory in a workflow task depending on routing option chosen.For example:A task has Approve and Rework option. If user chooses Rework option comments should become mandatory. If chooses Approve its not mandatory.Any inputs how we can achieve this.Thanks in advance. Regards,DK.
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.