Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi Comunity; In the TQM JISHUKEN A3 workflow, I want to restrict the users I want to check in and check out only and the edit button to them. How can I do that?
Is there any way to delete the default "Getting Started" link on the Start Page? We've done a lot of DFMEA, PFMEA and DVP configuration so that document is not correct for our organization.
how to get associated workflow process from all the versions of WTPart
Bit of a long shot but does anyone know if it's possible to add a custom field by the state (in the top right, under "Recently Accessed") that I can map a business attribute to so that it's displayed there?
I have no problem logging into my acct thru IE or Firefox browser, microsoft edge however launches me to the "Login Authorization Failed" without even having the pop for login appear. As I type it out, its probably an issue with my companies allow list for pop ups, but out of curiosity is there a setting in Windchill that allows the use of login with Edge, or should it work by default and I need to contact my companies IT so I can use Edge? If this is unrelated to PTC/Windchill, I'll just delete this topic, Thanks!
Hi, I did not find the example in eclipse please help me to find Import the cust_Windchill_src project a) File -> Import... -> General -> Existing Projects into Workspa b) Select Browse (next to "Select root directory") and click OK c) Your project will be listed and checked; click Finish.Thanks ram kumar
Hello,I am stuck and need suggestions what to do. I am trying to get CSRF_NONCE value, using rest query with java api (I working with Windchill 12.0 server). But what ever I do I get HTTP code 400.Tried queries were: https://myServer/Windchill/servlet/odata/PTC/GetCSRFToken()My code is:URL url = new URL ("https://myServer/Windchill/servlet/odata/PTC/GetCSRFToken()"); HttpURLConnection conn = (HttpURLConnection) obj.openConnection(); conn.setRequestMethod("GET"); conn.setRequestProperty("Content-Type", "application/json"); conn.setRequestProperty("Authorization", "Basic " + authString); //authstring is Base64 encoded conn.connect(); BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream())); String inputLine; StringBuffer response = new StringBuffer(); while ((inputLine = in.readLine()) != null) { response.append(inputLine); } in.close(); conn.disconnect();------------I am pretty sure that code is ok because if I try query "https://myServer/Windchill//servlet/
In my organization user revise CAD file but they forget to use collector option to revise WTPart file also. So all the time revision value of CAD file is ahead of WTPart file. So is there a way in preference that automatically WTPart file also get revised while revising CAD file without the use of collector.
We are using Eclipse to develop Windchill customizations, but we're having some issues displaying the javadoc popup for Windchill's API. For classes the popup gives me the javadoc information as expected, e.g. SearchCondition: But when I try to get information about the constructor for SearchCondition the javadoc popup throws an error message: "Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc." Here you can see that the javadoc location is specified for the codebase: As a workaround I can open the javadoc in the browser, but it would be great to access the javadoc directly in Eclipse. Is there a way to achieve this?
I need to restrict the attributes on my edit page to different users. For example, while I cannot see some attributes for user X, I want user Y to see all of them. How can I make this distinction?
Hi All,I want to list out all Soft types of WTDocumnet by using Windchill API's.I have created few soft types from type and attribute manager, now my requirement is to show all the soft types of WTDocumnet in a list by using API.My soft types from type and attribute manager as shown here,Kindly let me know the related API for this.Thanks,Vivek
Hello, can anyone help me on how to loop inside this infotable where i can display the output as json for each AttributeName having multiple AttributeValueText as separate objects with same AttributeName. For example an object having AttributeName1-AttributrValueText1 and AttributeName1-AttributeValueText2 Thanks.
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
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.