Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
Hi community, I noticed that odata API are significantly slower than servlet rests. There is some configuration that can be adjusted to improve response times? Thanks
Hello, please tell me how to use Info*Engine to get all the drw objects?I found a way to get the entire WTPart tree.But I can't get the drw <%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie" %> <%@ page contentType="text/html;charset=utf-8" %> <ie:webject name="Get-Properties" type="MGT"> <ie:param name="ATTRIBUTE" data="wt.federation.ie.VMName"/> <ie:param name="GROUP_OUT" data="properties"/> </ie:webject> <html> <head> </head> <body> <ie:webject name="Search-Objects" type="OBJ"> <ie:param name="instance" data="$(properties[0]wt.federation.ie.VMName[0])"/> <ie:param name="type" data="WCTYPE|wt.part.WTPart"/> <ie:param name="where" data="(number='НМЕА.305369.013-01')"/> <ie:param name="attribute" data="name,obid" delim=","/> <ie:param name="VERSION" data="LATEST"/> <ie:param name="ITERATION" data="LATEST"/> <ie:param name="group_out" data="anObjects"/&
Hello All, I want Configure CustomConfigurable MasterLink To WTPart.i have Followed ptc Help center Steps and also create customConfigurableMasterLink using Java API but not able to see it on Custom configuration tab Error : com.ptc.windchill.enterprise.util.ConfigurableLinkUIHelper wcadmin - Configurable Link may not be configured.
Hello all, I hope you are great. Any of you know if is possible for a product manager to have a view of the users that downloaded a file? What our product manager has in mind is a new tab in the document info where he can verify who download the document and maybe comments written by the user when the files was downloaded by the user. Thank you in advance for any idea or suggestion? Best regards Luis Chavarría
Hello, I have a document called XYZ which is a subtype of EPM Document in Windchill. As per REST API for EPM document management Domain I can read IBA's on top (Parent) EPM Document but not on its Subtypes. Attributes that I am trying to read are applied on Subtype only and not on its Parent type. REST API available OOTB cannot read these IBA's and seems like limitation of REST API. Also, this seems to be applicable to all other types and not just EPMDocument. Is there are option to read IBA's on Subtypes.? or customized REST API is the only option.?
Hello, The default track work feature of the plan items in windchill lets the user submit rather bulky working hour entries as if all at once or partial, independent of the dates whereby the relevant working hours were actually realized. I want to find out if it would be possible to submit incremental, ie daily, working hour entries by adding the related dates working hours are being spent ? Thanks.
Hello everyone, i need to programmatically set the "Disable Check out on the fly" preference. I have found PreferenceHelper class used to retrieve the value, any correspondents class to set the value ?. Thank you
Hello, the event manager opens every time the workspace is updated. Is there a possibility to turn off the pop-up of the event manager.
Hi everyone, I have set modify permission to user for epm document, but unable to open that epm document by using non admin user login credentials. Please check below code with exception and do let me know if anything is missing. public void setAdHocAccess(List<EPMDocument> listEPM, WTUser user) throws WTException {boolean en = SessionServerHelper.manager.setAccessEnforced(false);try {ContainerTeamManaged container = null;if (user != null) {Vector<AccessPermission> accessPermission = new Vector<AccessPermission>();// set Modify permission System.out.println("Set Modify access for objects..!");accessPermission.add(AccessPermission.MODIFY);for (EPMDocument epm : listEPM) {container = (ContainerTeamManaged) epm.getContainer();System.out.println("=== Grant Access to CAD Documents ==== " + epm.getNumber()+ " FROM CONTEXT: " + epm.getContainer().getContainerName());// set Principal AdHoc Access controlContainerTeamHelper.service.setPrincipalAdHocAcl(container, (AdHoc
Hi everyone, what is the preference or the way in Windchill 11.2 to have the automatic representation of the pdf of a drawing? In my case with Solidworks I have the pdf created automatically (see photo 1) while for Creo Parametric and Inventor I have nothing (see photo 2). In addition to pdf files, can I also automatically create dwg or other types of files? If so, how can it be done? Thanks, Matteo.
Hi, Creating PDF files is impossible without "Adobe Leve Cycle".Therefore, "Worker" was written. Windhill sends assignments to WorkerServer and receives a PDF from there.The WorkerServer requires the installed MS Office https://bitbucket.org/renatsun/wc_genericdocumentworker/src Best regards
Hi, I'm creating WTParts using import from spreadsheet functionality(OOTB). I want to apply some logic post creation of these parts but in my POST_STORE event I'm not getting target instanceof WTPart to implement logic. Is there any other way ?
Hello. I found that class com.ptc.core.adapter.server.impl.AbstractWebjectDelegate has been marked as deprecated (at least since release 11.0 but it could be marked as deprecated even earlier). However, I don't see any information, what class should be used instead of AbstractWebjectDelegate. Is there anyone who had to use AbstractWebjectDelegate and found a replacement for it? This class is mostly used, when one wants to create his own webject delegate, so such class extends AbstractWebjectDelegate.
Hello. I found that class wt.prefs.WTPreferences has been marked as deprecated. Sadly, there's no accurate info about why it is deprecated. The class provides some methods for getting root preference, create/set context masks and so on. WTPreferences prefs = (WTPreferences) WTPreferences.root();prefs = (WTPreferences) prefs.node(prefNode);prefs.setContextMask(PreferenceHelper.createContextMask()); Is anyone here who knows, what is the replacement for this class (or at least methods used there)?
Hey all, I've created a custom trigger to do some cleanup after importing a reqif file from DOORS into Windchill. The script grabs the document container, walks through the contains field using walkHeirarchy(), then modifies a couple of the fields in each record. Is is possible to determine what section level an item is at? So I need to do something different if a Heading is Section 1 vs Section 1.2.3 for example.
I am trying to customize the email notifications being sent from a workflow but I'm having trouble finding the right Java API calls to use for certain pieces of information. Here are the calls I'm using so far: wt.maturity.StandardMaturityService p = new wt.maturity.StandardMaturityService(); wt.maturity.PromotionNotice pn =(wt.maturity.PromotionNotice)primaryBusinessObject; wt.fc.QueryResult pn_targets; pn_targets = (wt.fc.QueryResult) p.getBaselineItems(pn); wt.epm.EPMDocument epmDoc = new wt.epm.EPMDocument(); while (pn_targets.hasMoreElements()) { Object obj =pn_targets.nextElement(); String objType =obj.getClass().getName(); if (objType.equals("wt.epm.EPMDocument")) { epmDoc = (wt.epm.EPMDocument)obj; System.out.println("state = " + epmDoc.getState().toString()); System.out.println("number = " + epmDoc.getNumber().toString()); System.out.println("cadname = " + epmDoc.getCADName()); } } These are working great, but I need more. What are the calls to get the fol
Hello We want to map wtdocument and wtpart attribute on projectlink plan activity attribute using alias . Which mapping we need to use Regards Dhananjay
Hello, We required wtdociment,wtpart attribute mapping on project plan. How we will achieve through alias attribute.
I have this action configured: { "name":"InitiateApprovalProcess", "description":"Initiate the approval process", "parameters":[ { "name":"ChangeNotice", "type":"ChangeNotice", "isNullable":false, "isCollection":false }, {
Hi, We installed a trial of the batch printing service but we found the drawings are printed in no particular order (just the order they appeared in the batch print job). Is there any way to automatically order the drawing prints - for example as they appear in the BoM structure? Normally, the consumer would just view the drawings online, on Windchill, and print their own copies when they need but in this particular case we're required to provide hard-copies sorted into the order the appear in the structure. Can anyone share how they deal with mass printing of drawings/documents for hardcopy distribution? How do others deal with the batch prints, we could end up sending hours sorting through the prints and organizing them so we need to find a way to automate. Regards Rob
I am searching for a possibility to export a list of the objects (WTParts, EPM, WTDoc) in windchill with there object nummer and there actuall version into a spreadsheet. It would helpful if you give me a function keyword or something like that, at the moment I am limited by the maximum number of object I can display (2000).
We just upgraded to Windchill 11.2.1.4 and found out that our AfterEDRLoader stopped working. Before this we were on 11.1 M020 CPS08 and it worked like a charm (even in our previous version). Has anyone else upgraded to 11.2.1.4 had the same experience? We're using unedited code as posted here: https://www.ptc.com/en/support/article/CS216668 Dobi
Hi I have created A MPMWorkCenter object and I want to attach WTDocument to it. From UI it looks possible. But I was not able to find API. Can anyone help me to find API to link.
Hello, I want to add some custom entries to modelRegistry.properties and descendantRegistry.properties. Can anyone provide instructions on how to do the same? Thanks in advance. Regards, Sha
Lately I've been feeling like ESI is a bit heavy for our company's use cases. It's to the point that I feel like I'd rather use something else. Now that the odata REST api is in place and seems to work rather well I was wondering if it could be a good replacement for our ESI integrations. Rather than placing an xml file somewhere that is configured through distribution targets with a 4 page configuration wizard (exaggeration) then building a custom integration piece to read and ship it to our ERP... could we just have our custom integration piece use the rest api and pull part data? Has anyone in the community gone down this path/thought process? Am I nuts?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.