Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hello I am trying to get the total number of members of a WTGroup in Windchill via code, so the sum of all users in a group and all its subgroups. Actually I need to check if the group size is bigger than a specified limit. I tried to use .members() but it always fails with a PrincipalRepairFailedException error (Cannot process user because a related disconnected participant exists in the database). I have tried using OrganizationServicesHelper.members() or group.members() but it all leads to the same error. Does anyone know how to solve this issue. I do not need to know the user names and attributes, I just need to find the total amount or if the member amount of a group is greater than a specified limit. Best regards
Hi all, During our test of SFTPExtension extension, we noted that it is possible to call the extension from a javascript service regardless the time we spend in the extension. We never got a script timeout. Can someone explain why and how it works ? Thanks for your help. Cyril.
I'm looking for an API to get all the WTChangeReview objects from a WTPart.as shown. @HelesicPetr
I'm looking to create an event in Audit logs when I download a set of files using a custom action.Just like how an event gets created when you download an object. This is totally new to me, so please help me from the basics. If it's feasible please explain me how it should be done programmatically.
Hi, I have a problem about the langauage pack. I use Windchill 12.0.2.0 and language with Korean.When I download the part's dwg files, download popup's link has been crashed.But if i use the english, link is ok. How can I fix this problem?
Hi Comunity;I need to bring the fields in the red box below as a list, how can I do this?
Hi All,My requirement is to show a custom Attribute on Analyse Change request Task page of change Request.In this task, assignee can choose the correct values according to his choice from drop down values.Any Idea ?Regards,Vivek
I'm working on a custom action which opens up a jsp when clicked. When the jsp opens, I want to check the users license type and allow only if the user has got a certain license type, for example - PTC View and Print Only. Please share me the snippet if anybody has done this earlier.
I have a workflow task where I added a document link which the assignee clicks to download. The link is the exact url as shown. How can I rename this link to something a little simpler? eg. "CAF Form" http://alexandria.windsormachine.com/Windchill/servlet/AttachmentsDownloadDirectionServlet?oid=OR:wt.doc.
Hi all I have requirement to add a label/tag (like label feature in Gmail) to all Windchill objects( WTPart, WTDoc, CAD, Change), for better categorization. Need suggestion on the best solution to adapt. I don't want either of the object to get iterated while association is created. Also i want the reporting on the label collection objects.I can create WTDocument subtype for the label/tag. But not sure which configurable link is good as i don't want to iterate. Also irrespective or the iteration/revision association should be maintained. Need your suggestion.
Hello,I want to create a WTDocument using windchill rest service there is an API under Document Management.Could you please help me for the providing proper input.The input JSON is below-{"Title": "","Number": "1234","Description": "Text","Name": "test","@odata.type": "#PTC.DocMgmt.EngDoc","SmallThumbnails@odata.bind": [""],"PrimaryContent@odata.bind": "","Thumbnails@odata.bind": [""],"Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:188653')","Folder@odata.bind": "","Attachments@odata.bind": [""]}I am always getting "The binding link '' is malformed" exception.Thanks!!!
Hello, Unable to get the life cycle history of a part when it's checked out using : LifeCycleHelper.service.getHistory(lcm)it's return a null . any help would be appreciated,Thanks.imad
Hii, I am unable to mock static methods while writing Junit test cases for Customizations. For example: the static methods ProcessHelper.checkRequestSubmitted(ChangeItem) and PersistenceHelper.manager.save(). If we dont mock this static method means, it requires method server to be on running state while running Junit test cases which is not recommended by PTC. I have also tried with all the powermock jars, but still not working. Can anyone help me how to mock these static ones? Thanks, Naga
Hi together... if I execute the following si diff command... si diff --r=1.1 --r=1.2 --project=#/BRK#ProductDevelopment/SubSystems/SsmPb/08_Software#d=IQM_INTEG_SsmPb_Core_A#SSM_PB_APPL/03_Integration/Project_Conf --hostname=skobde-mks.kobde.trw.com --port=7001 "version_config.ini" the CLI interface response contains the detailled differences between the two revisions (1.1 and 1.2 as requested): Showing differences ...Showing differences ...version_config.ini"version_config.ini": Differences between Revision 1.1 and Revision 1.22c2< SOFTWARE_NAME="113_70"---> SOFTWARE_NAME="114_00" Due to a general decision we I want to replace all Command-Executions against the CLI Interface by Command-Executions against the Java-API. But the Java API does not provide the blue marked details. I have the same problem when I execute the Command against the SOAP Interface. How do I get the missing details from the Java API/SOAP interface? ==========================Java
I have also attached oir file. Please provide me with the solution. Thanks in advance Vipul gaikwad
Hi, Has anyone come across the below scenario. I would like to understand more on this. We use the OOTB Promotion request Workflow process for an object and after raising a Promotion Request, in the Approvel Promotion request task when the approver sends it back for rework the primary object goes back to Inwork state. At this point in time, we need to restrict the users to create another Promotion Request for the Primary object, as the ACL would let the user to create a Promotion Request. Can this be achieved through any of the OOTB options or should we go only through the validator route and write a piece of code? Thanks in Advance! Amarkarthi.
Hello all, I have added an action to anonymize a user from Windchill and LDAP. I have also added the action in the pop up menu on the Participant administration page. However, I want that the action should be performed even when the user is not selected. This is similar to the OOTB delete action already implemented by PTC. Does anyone have any suggestions on how to do this? Any comments or ideas will be appreciated. Thanks, I am adding the screenshots for the error message and the action . Thanks again,Ramsha
Hello together, I am struggling a little with the incomplete Windchill API docu. I search for an API to get the EndItems for a specific product container. Anyone any idea how to do this? Thanks in advance
Looking to implement the XPLM Integrate2 Client software that integrates Altium Designer to Windchill. We have implementation in our Test environment that partially works when creating Windchill objects from Altium/XPLM. XPLM is able to successfully create the WTPart in Windchill with auto-number generator for the PCB Part with no problem but fails to create the Schematic and the Project documents with an error stating that the auto-number generator failed with the following error which, of course, should be correctable by updating the OIR : "PlmError: Unable to generate next number for CAD document. Please check number generator configuration in Windchill" Problem is, we do not know which Windchill Type and OIR is being referenced/called by the XPLM Integrate2 Client. Does anyone else have experience with this? I am trying to work with XPLM Support but so far I have not been impressed. We're going to try enabling every DEBUG logger we can on the Windchill side
Hello, I have a requirement where I need to configure email notification being sent at the end of a change notice process to certain non-windchill users, the issue here is the list of email ids are not static for every change notice. It differs from object to object, the list will be determined by the creator of Change Notice at the time of its creation. There could an IBA configured to capture the list of email ids, but I want to know how we can send an email to this list, is it only possible through code or can we configure something in the Notification robot to achieve the same. Requesting you to shed some light on the same. Thanks,Sha
Where do we specify starting of the number or prfix In autonumbering customization for Windchill ? i.e. I want numbers to start 230010x (x being incremented every time) Thx
Hello, I have a workflow activity which gets assigned to multiple roles, lets say RoleA and RoleB. My requirement is whenever Rework was selected by any user in RoleA, RoleB's activity should get closed and Rework path must be taken. Only in case of Approval, both roles needs to vote. Background Information:i) The activity is of type Any and Required field is selected.ii) I introduced the WfTally APIs in routing expression, but they do not seem to be executed when one role completes the task. Regards,Sha
Hello there, I want to create local attribute for EPM document but I cannot create local attribute for EPM documents even though i added columns (using Add columns in windchill shell), but i can create local attribute for WTPart and Documents using Add columns, is there any way to customize the creation for local attribute for EPMDocuments or we cannot create local attributes for EPM documents???
Hello everybody, I am trying to make my first steps in creating publishing rules but I am not really sure what to do. Actually I am using this .xml code. <?xml version="1.0" encoding="UTF-8"?> <rules xmlns="http://www.ptc.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ptc.com PublishRulesSchema.xsd" > <authoring-application name="PROE"> <additional-files name="standard_files"> <file type="dxf" display-label="DXF" default="true" output-prefix="dxf"/> </additional-files> <publish on="checkin" additional-files="standard_files"> <param-set-ref name="Additional Files Post Publish for Released Document"/> </publish> <publish on="create-representation" additional-files="standard_files"> <param-set-ref name="Additional Files Post Publish for Released Document"/> </publish> <param-set name="Additional Files Post Publish for Rele
Hi,I want a sample input for create document service which is present under Document Management.Thanks.
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.