Includes: Windchill API, Windchill REST Services, Info*Engine, UI Customization
Recently active
I do not have issue in running RMI Java client from Windchill shell. I read from one of the discussion in the community which I thought we may just run it without Windchill shell by just adding wt.jar in classpath. However, it will get missing service.properties error when you try to use QuerySpec API. Can we run RMI Java client without Windchill shell ?
Hi all,While publishing with the Adobe LiveCycle Manager from Windchill a simple .docx I get the following error:ALC-ASM-S00-002: Failed to execute the DDX - error messages provided. Caused by: java.lang.OutOfMemoryError: Java heap spaceThis doesn't appear for all .docx files. Also the size seems not to be an issue.Any ideas?
I'm having trouble with a workflow where a certain section runs the first time through but won't run on subsequent runs. I've tried setting 'Rework' link as loop link but it's not making any difference. How do I get the two 'Start' links (in the red box) to fire every time time the 'Design Check' activity is (re-)executed? Thanks.
Hi guys, I'm looking for a JAVA API that is capable to replace a part inside a structure with it's alternate or substitute. It would be great if someone could also provide sample code for it. The longer story would be the following: We subscribed to an event, that fires when a new Module Variant was created.We loop throw the new Module Variant’s structure and based on some attributes and choices we identify three Object References:• parent: the part which uses the “original child” that should be replaced by the “replacement child”• original child: the part that should be replaced• replacement child: the part which should be used as a replacement (this part is alternate and substitute for the “original child” part)We thought that we will use the function called WTPartHelper.service.replacePartAssemblies(parent, originalChild, replacementChild) which should do the job, but unfortunately it makes no changes in the structure, and doesn’t return error messages, or ex
Hello all, i have run successfully the code in the case bellow for a Document. https://community.ptc.com/t5/Windchill/Conditional-routing-based-on-Document-attributes/m-p/189278#M22601 When applying the same code for a different object type, Dynamic Document, it does not record in the variable of the workflow the value of the attribute. I have tried the following: try {wt.epm.EPMDocument doc = (wt.epm.EPMDocument) primaryBusinessObject; //get the attributes of the document.wt.iba.value.IBAHolder holder = wt.iba.value.service.IBAValueHelper.service.refreshAttributeContainerWithoutConstraints(doc);wt.iba.value.DefaultAttributeContainer ac = (wt.iba.value.DefaultAttributeContainer) holder.getAttributeContainer();if (ac != null) {wt.iba.value.litevalue.AbstractValueView[] avalues = ac.getAttributeValues();for (int i=0;i<avalues.length;i++) { wt.iba.value.litevalue.AbstractValueView val = avalues[i]; System.out.println
Hi All, Could you please tell me if Windchill Information Modeler 11.0 is available and where it can be downloaded?Also, is there any alternative tool, we can use beside the Information modeler, to understand quickly Windchill API?Thanks, Eddie
Hi, I need to send a Soap message from Windchill to a thirdpary application, but also include a binary content in the message, in my case a CAD file. I have found the following Info*Engine Webject that I believe I can use to send teh actual soap message: Call-SOAPService But has anyone tried to attach binary content to the webject? The content stream itself I can get from the webject: Get-ContentItems I have also found examples of how to get the File Stream onto an email, ./prog_examples/adapter/windchill/tasks/infoengine/examples/adapter/windchill/contentItem/Email.xml but I cannot find out how to add it as binary content into the SOAP message. Does anyone have any idea? /Gustav
Is there any way to move the location of where the username displays in the banner? We recently upgraded from 10.1 to 11.0. The company logo I use is too wide in the new version.
What's the ideal approach to handle security label propagation from WTPart to WTDocument. Currently, we are trying out an approach of using identical iba values. Example : WTPart contains an IBA call controlNumber and WTDocument in a similar fashion contains an IBA called controlNumber. When a WTPart's security label changes it looks for all WTDocuments with that value and sets its security label to the new value. We're doing this by using an modify security label audit event listener. And continuing to iron out the functionality. Is this the only approach or is there an OOTB approach for security label propagation that we have missed.
Hey Developers, Is anyone here, using Windchill 11.0 Information Modeler?Here is the CD below, I am looking for. And yes, PTC has released it. http://support.ptc.com/cgi/support/apps/sft_upd_dsp/sft_upd_dsp_adv.pl?product=WNC PTC Windchill 11.0 Information Modeler MED-2101-CD-110 16-DEC-15 Thanks, Eddie
Hello All, I have a workflow that reads usage table attribute called "Responsible"( see attachment ). There is expression inside workflow and it start activity according to attribute value that defined for each part in the uses table of assembly. What i want in the code is to start relevant activities for each part based on their attribute values in uses table. If "Responsible" value is "A" then Activity A should start. If "Responsible" is "B" Activity B should start also in parallel and so on. In the below code, it is starting activity based on the last part's attribute value. It doesnt matter each part attribute values. ( I think it overrides result inside the for loop ). As you see in the attachment below code starts only "Activity E", not others. I expect start also "activity A and C as i defined attribute values for parts as A and C. wt.part.WTPart part = null;part = (wt.part.WTPart)primaryBusinessObject; wt.fc.QueryResult qr2 = null; qr2 = wt.fc.P
Hi everyone, I would like to get the WTPart or the Context in which the WTPart is while setting the option filters in Structure Manager. I have Platform Structures module installed and I can call a function in the conditional rules of an option pool. In the help I found this info, however I would want to pass some information to my custom function about the part on which this option filter is applied. Is there some helper service that I could use to get the current Part from which I'm initiating the option filter? Thank you in advance, Tamás
Hello, My company would like to create a notification that will notify someone every 365 days to review that document. Is there a way to do this in a workflow or by creating a new workflow?
Hi all, We installaled CPS26 on our Dev VM's which also have the customization we use deployed in order to test our customization against the CPS26. At the moment we are faced to an error that says: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit. This happens while trying to create a document and seems to be caused by the createDocumentSetTypeAndAttributesWizStep.jsp in which we modified the value of a variable from true to false. Have you seen this type of error before? We already contacted PTC and they offered the solution from the following case: https://www.ptc.com/en/support/article?n=CS174031 but without any success. Thanks.
Hi I'm trying to create a multiple workflow for a team, where one user will select which teams are going to participate in it. (Blocks) Based on selection each workflow tasks in the block will start to execute. Once all the activities of the selected blocks is completed the next activity should execute. Is there any method of achieving this? I've also explained with the help of an image.
Dear All, we have tried several times to import our product database into FRACAS via the EXCEL import tool. It is a quite complex data structure (several subparts belong to several parts, several of those parts belong to different assemblies, several assembiles belong to next higher assemblies....) and is relativly big (270000 items). Importing with the EXCEL import wizards fails most of the time towards the end....which is quite frustrating because to import all data takes almost a week.... 😞 Hence my question: is it possible to go back to the root and import the data directly into the SQL Windchill DB? I've tried to add a single part via insert into the admin.system database (which is itself already difficult to figure out the correct project, because I haven't found a relationship between SETID (which represents the Project and the actual Project Name), and I am not sure how the RECORD Number is actually createdd (the number seems not to be sequenced and has simularit
I've been trying to incorporate attributes that exist in Windchill into Excel with limited success. One such attribute is 'modified by' I can see this in Windchill but cannot see it when I attempt to use the field in Excel. I have been informed by the support team that this should be mapped in the msoimap.xml file. Again I have attempted to do this but the updated section in the msoimap fails to drive anything new into excel. I have even attempted to drive in a second attribute which I can already see under a different msname in the map file. The other issue I have is that although 'Modified By' is the display name it cant be the attribute as it has a space in it. Any help on this would be great.
I have table on wizard page.I have a requirement to color code table row values or change the background color of the row.How to color code(probably the background color of the table row cells) the table row based on one of the column cell value?
Hi all! Can someone please give me an example of a java expression code can be used to grant specific permission on specific object on specific life cycle state?For example, grant "Modify" permission on EPM Document on specific state where that user/role does not have Modify permission.
So I built a notification loop in the promotion request workflow to daily remind the assigned individual that they have an open task. Can anyone offer suggestions on how to retrieve the active task name and corresponding hyperlink so I can include them in the email robot's message text? The email template for tasks already includes this information but the email template the robot uses is different and does not include this information since it's not tied to a particular task. How do I retrieve that information? Thanks. - Email message for green boxes should be very similar, if not identical.
Hello, In my company's ECR and ECN workflow for the CRB and CIB reviews I have added four people to it. Right now i have it set to where each person has to choose an option before it moves on in the workflow. The only problem is if three out of the four people say approve it moves on in the workflow. Is there someway or somewhere that I can change that function so that everyone has to choose an option and they all have to approve it otherwise it goes back to be clarified amended etc.
Hello PTC CommunityI am building a custom WWGM11 package and will be pushed out to all users in the domain.I need to know how to add server location in wgmclient.ini file so that it will automatically register when user open WWGM.Thanks,Donny
Hello, I created a SOAP WS with attachment parameter following this article: http://support.ptc.com/help/windchill/whc/whc_en/index.html#page/Windchill_Help_Center%2FIEUG_WSFUseSOAPAttach.html%23 In the client side I passed a DataHandler object. But, when I read the DataSource in the WS task , it's always null. Who have idea how to fix such issue? Is there a full sample for created SOAP WS with attachment? Thank you.
Hello my company uses Solidworks with Windchill and Creo View. When I open a Solidworks drawing in Creo View it publishes it as a .pdf and when I try to do a markup it doesn't allow me to use the markup tab. Does anyone know of a way that I can fix this or use the markup tab with the Solidworks drawings?
I am trying to create a change activity object using java api and im getting the following error when i run it, this error is occuring at FolderHelper.assignLocation(changeTask, folder_path_in_windchill); wt.folder.FolderException:A cabinet member must be assigned to a cabinet, not a subfolder. Cabinet member: "(Default task) Modify affected objects". Subfolder: "(Default task) Modify affected objects=. at wt.folder.FolderHelper.assignLocations(FolderHelper.java:838) at wt.folder.FolderHelper.assignLocation(FolderHelper.java:142)
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.