Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Is there a load file to rename a group?I didn't find any handler from csvmapfile.txt
I have some script that has been working for months... String varName = <some text>;String varDesc = <some text>;<some code>wt.change2.WTChangeRequest2 cr = wt.change2.WTChangeRequest2.newWTChangeRequest2();cr.setName(varName);cr.setDescription(varDesc);<more code>cr = (wt.change2.WTChangeRequest2) wt.fc.PersistenceHelper.manager.save(cr); The result was a new Change Request with my preset field values for my business case. As of today, this code fails on the cr.setDescription() call with the following message: Message: Resource bundle/Message key = wt.introspection.introspectionResource/21 I haven't found any reason or solution yet... but I am assuming someone has. Anyone have some ideas?
Is it possible to display name/number of drawing on a Change Notice? If so, is it possible to provide a link to drawing in the email, in the instructions?
let expand="Components($expand=Part($select=ID,Number),PartUse($select=ComPolarisindPolarisIndustriesEngineeringSequences);$levels=max)";let Json = Things["Polaris.Windchill-Odata-Connector"].GetPartStructure({$expand: expand /* STRING */,ID: PrevOID /* STRING */,$select: undefined /* STRING */,NavigationCriteria: undefined /* STRING */});Iam using the above code in thingworx to fetch windchill data for the oid. I have to compare data of two different oid. Is it possible to fetch the partnumbers which is present OID-1 but the same partnumbers which is not present in OID-2 in single API call???
Hello, I am trying to set OIR for a WTpart.I want to get the name from an Enumerated List assigned to an attribute GROUP.When I create the part I get is the Internal name of the attribute (see part of the code bellow).My question is how I get the display name of that attribute. ......<AttrValue id="name" algorithm="wt.rule.algorithm.BooleanBranch"> <Value algorithm="wt.rule.algorithm.EqualsTest"> <Attr id="genericType"/> <Arg>variant</Arg> </Value> <Value algorithm="wt.generic.rule.VariantNameGenerator"> <Arg>{GEN:wt.enterprise.SequenceGenerator:variantnameseq:20:0}</Arg> </Value> <Value algorithm="wt.rule.algorithm.StringConstant" <Attr id="IBA|GROUP"/>&nb
Hi All I'm getting the below errors logged while publishing though my publishing is successful. Please help me understand how to resolve this or the only way is to provide the access to the user? DEBUG [PublisherQueueXXX.PollingThread] wt.access.evaluation.report:2814 Administrator - "xxx" does not have Delete permission for "EPMDoc Config Spec - wt.epm.EPMDocConfigSpec:10593701025" in Administrative Domain "Site /User". DEBUG [PublisherQueueXXX.PollingThread] wt.wvs.viewmarkup.StandardViewMarkUpService:352 Administrator - ViewMarkUpService: Error postStoreDerviedImage (wt.access.accessResource/19) wt.access.NotAuthorizedException: ATTENTION: Secured Action. You do not have the necessary authorization for this operation. Contact your administrator if you believe you have received this message in error.at wt.access.StandardAccessControlManager.hasAccess(StandardAccessControlManager.java:11084)at wt.access.StandardAccessControlManager.checkAccess(
I've read that baseWhereClause can be used to filter objects in pickers. https://www.ptc.com/en/support/article/CS25075?source=search I added the clause to 'AddAffectedData' jsp in the server, but the UI is still returning objects in all states, the state.state = PRODUCTION filter is not being applied.
Hi All, Hi @HelesicPetr I have a Data Utility were I process the attribute values using the gatDataValue(). But the data utility does not get called for Common Attributes(allNonSchemaNonClassificationMinusClassificationRefIbas) in a WTPart. If the attributes are listed maybe I can assign the selector in the Layout attribute properties but for Common Attributes the attributes are not listed but I see just one cell with value "allNonSchemaNonClassificationMinusClassificationRefIbas". Can anybody help me know why?
Hi All,Trying to achieve attaching published files to go as attachments on WTPart.Got some info need to use after loader method.Any inputs on using custom Java file for same.Thanks in advance. Regards.
Not sure what I am doing wrong here but stumped on how to get the value to persist. I dont see the value in any of the method parameters (meaning if I select "No" in the drop down then nothing shows up in any of the method parametes aka BinaryLink, MethodContext, etc.) Not sure how this customization is supposed to work and the limited kb for this on ptc windchill help is not very helpful. Here is my github code. WCComboBox also I was trying to follow along to this :https://support.ptc.com/help/windchill/r12.1.2.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_BusLogicCust_ChangeMgmt_EditAttrChangeRelTable_Step3.html#
When a promotion request is submitted by a user, it sends the following message to a group of approvers. What I would like to do is add some text to the top and bottom of the sent message, stating that the email is UNCLASSIFIED. You have been assigned a Approve Promotion Request . Instructions: You have been selected as an approver for this promotion request. <PBO to be approved>1. Review the object displayed. 2. Review the promotion request. 3. Enter comments in the Comments text field below. 4. Click Approve, Reject or Rework. 5. Click Complete Task to advance the promotion request. Requested Promotion State: Draft Process Initiator: <Submitter> Due Date: Role: Approver Assignee: <One of the approvers> Product Name: <Context
I am creating a report listing task details.One of the columns in this report is for the "Completed Date" of a task.I need help implementing a condition for the "Completed Date" column. The condition is: If "Work Item.Status" equals "Completed" then populate the "Completed Date" with "Wf Assignment. Last Modified", else, leave "Completed Date" null/blank.How can I go about accomplishing this?Should I create two reports? If so, how do I merge the reports to see both completed and uncompleted tasks?Is this something that is done under the "Select or Constrain" tab or under the "Criteria" tab? TIA!
I have a custom role called Engineering Manager. Can we show this on the Create Change Task form? I see Assignee, and Reviewer OOTB, but I want to add another role, which will be a user picker in the form.
Hi all I have got a WTPart(1.01) link to an EPMDocument(1.01). I perform an attribute update using a custom tool which results in iteration i.e WTPart(1.02) and EPMDoc(1.02). When I try to create a representation from the WTPart(1.02) it picks the EPMDocument(1.01) to create the representation though latest config is specified. I get the following warning in WVS Job Monitor Warning: EPMDocument Config Spec selects a different iteration of the specified top level EPMDocument, specified EPMDocument iteration will be used.I actually want it to take the latest version of EPMDoc(1.02) for creating representation.Can somebody please help me understand this issue or correct me if my approach is wrong?Thanks in advance.
Documents here are pdf, word and not CAD docs.We have custom Engineering specs document template, which is a pdf and looking to have auto association created for these pdf with wt part.Windchill Customization
Hi,I'm facing a strange behavior on WC 12.1.2.4 using PartsLink.The classification attribute displays the internal names of values for enumeration in Structure page, however on Details page it shows proper display value.Any suggestions.
Hi All,Trying to use a custom icon for a soft-type.Created a .png image in codbase\netmarkets\images.Assigned it to soft-type in type and attribute management.Maintained the standard pixel size 15x15 / 16x16.Followed Article - CS292675 on support site, still the icon doesn't show up in recently accessed tab.Any suggestions how to fix it.Regards.
Hello, i'm setting new workflow for promotion request in Windchill 12.0I would set for specific users a specific approver. For example: Designer1 and designer2 must be routed to APPROVER 1Designer2 and designer3 must be routed to APPROVER 2 Not need free choice by an Approver label
Hi, I am trying to create a report that returns a list of task with the following columns:Work ItemCreated On (Date)Initiated byTask Due Date/Deadline - found under Task > Template View > DeadlineObject Priority - found under Task > Template View > PriorityTask Name Trip CountAccepted date - found under Task > Task History > Performed OnCompleted By Date Completed - found under Task > Process Status > Date CompletedState ContextLast ModifiedI have been able to narrow down the type/tables these properties are coming from but I am having trouble matching them to the correct attribute. The Resource for reporting was very helpful but I was not able to find mapping for some of these properties.I also used jcaDebug=1 to gather detail information. This helps me narrow down the table but it does not help map the attribute. ColumnID value doesnt match to an attribute name in the type/table/Row Object. If you have an
1. Can we display a state column in the Find Affected Objects window?or2. Can we add a filter and filter by state?or3. Can we use baseWhereClause="(state.state='PRODUCTION')" in jsp file and customize, so that only production state objects are returned?
Dear Community, I have customized a Change Notice type and created a custom attribute in this type, this attribute is a drop down box to select the value, in addition I have created a template for change notice based on this type, in the template I have set the value of this attribute, in this case when the user creates a change notification, select the template, the value of this attribute will be brought over, but the user can still select other values When user creates a change notice, can it be set to read-only by the function of OOTB, or do I have to write a customized Validator? Because we don't want to give the user a choice, just follow the values of the template. Thank you. Best Regards,Chason
How to fetch only modular parts from ProductManagement - 'GetParts' API
I set a default value which should fill in the field on creation (see photo 2)Creating a wt part without the cad is okCreating a Cad Document with Creo Parametric is ok (see photo 1)When creating a Cad Document with Modeling the fields with the default value are not filled in (see photo 3). How to set a default attribute with CREO MODELING? Matteo
I want users to see or pick only part and document, and hide/disable all other types. Is it possible to customize this type picker
We would like to disable Revise action from Folder Browser's action if certain condition doesn't matches our expectations. It can be achieved through Object's Details page, But couldn't perform the same in Folder Action. Or else, Throwing explicit exception while revising the object from Folder Browser would also be fine. Please suggest your opinion dear friends!!
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.