Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all 8876 articles
Browse latest View live

Re: How to get a variable dropdown list in wf task page?

$
0
0

Hi,

 

I could come up with the correct solution without the requirement of Windchill information modeler. I had similar requirement for this. As my customer doesnt have windchill information modeler. i was working on it. it is working for me.

 

Requirement:

I have bring drop down in the document for giving the reason for rejection.

 

Steps:

1. Compile RejectReason.java and RejectReasonRB.java (tis will have entry in the RB file)

2. resourceBuild the RB file to get RB.ser file. (if u wanted to add some entries using ENUMCUSTOMIZE in future)

 

Let me know if this works


intralink3.4 versus PDM Essentials

$
0
0

sorry for my bad English
In the transition between INTRALINK 3.4 and pdmessentials I find difficulty.
It lacks the duplicate filefunctioninthe workspace.
How do Ireactivate it?

Save as is not the same operation , It does not maintainties withthe assembly

TY

pdm Essentials -I want to change a part in an assembly with an existing in Commonspace(windchill cabinets)

$
0
0

problem

I want to changea partin an assembly withan existinginCommonspace

in the workspace with INTRALINK 3.4 command duplicates, I create new assembly and then I duplicate the particular (with true flag) to be changed giving it the same name as the existing part in Commonspace

Update the part in the workspace

I correct the new assembly and its drw

done

how can I do the same with pdmEssentials


TY

Re: Unable to run xconfmanager ??

Re: Unable to run xconfmanager ??

$
0
0

Hi Jamie,

 

I have seen this article .but i did not used any ; for any of my passwords.

 

Is there any other properties to change??

Re: i have written a validator to check the duplicacy in the multi value attribute called "Production Plant" in both create and checkout and edit page...But i could accomplish this only in create page.

$
0
0

Can you attach the xml for the service and action?

Re: Unable to run xconfmanager ??

$
0
0

Strange. The error message is exactly the same as in the case, so I would suspect it still has something to do with the encryption. How are you setting the password? Are you using: xconfmanager -s wt.mail.smtp.password=<Password> -t mail.properties -p or putting it in site.xconf and then running xconfmanager -p?

PBO Attribute captured in a workflow

$
0
0

Looking for assistance with code that will grab a custom attribute value created using T&AM and write it to a variable in a workflow...Then using a custom email template I'll be able to display that value in the email.  Not a code guy at all...thanks!!!

 

WC10.2 M030 CPS 17

 

Greg


Re: i have written a validator to check the duplicacy in the multi value attribute called "Production Plant" in both create and checkout and edit page...But i could accomplish this only in create page.

$
0
0

Hi Jamie,

     Sorry for the delayed response.

The property entry for the validators are as below

createPricolProduct - custom action name to create custom object

checkoutAndEdit - OOTB action name (used JcaDebug mode)

These property entries are added in the custom property file

<Service context="default" name="com.ptc.core.ui.validation.UIComponentValidator">

  <Option cardinality="duplicate" requestor="null" order="0" overridable="true" selector="createPricolProduct" serviceClass="ext.pricol.common.validators.MultiValueValidatorCreate"/>

  </Service>

  <Service context="default" name="com.ptc.core.ui.validation.UIComponentValidator">

  <Option cardinality="duplicate" requestor="wt.part.WTPart" order="0" overridable="true" selector="checkoutAndEdit" serviceClass="ext.pricol.common.validators.MultiValueValidatorEdit"/>

  </Service>

 

Regards,

Logeshwar.J

logeshwar.jeyachandran@itcinfotech.com

Import of project templates from Windchill ProjectLink 9.1 or 10.1 to 11.0 fails

$
0
0

Importing the Project templates from Windchill ProjectLink 9.1 M050 to 11.0, and from ProjectLink 10.1 to 11.0 F000 fails. Do you have any recommendations on how to import cross release project templates?

Re: PBO Attribute captured in a workflow

$
0
0

Greg,

I just want to narrow in on the use case to make sure I understand your scope.  You have a workflow generated from a Change object, for example?  And you want to grab the value of an IBA that exists on the PBO (the Change object, for example)?

 

This is documented through WHC.  But I have gone through it extensively in the last couple of months.  So I can help you if you have any trouble interpreting the WHC article.  Search for "working with PBO attributes" in WHC.

 

Below is an example from my use case.  This code is in Execute Expression robot in the workflow template.  The PBO in my case is a WTDocument actually - not a Change object.

 

doc = (wt.doc.WTDocument)primaryBusinessObject;
com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(doc,null,null,null);
obj.load("myIBAsInternalNameHere");                                   // this is the internal name of the IBA
myWorkflowVariableHere = (String)obj.get("myIBAsInternalNameHere");   // assuming myWorkflowVariableHere has already been instantiated somewhere previous

Re: General Questions as Admin, Old Users?

$
0
0

Mike& Tom,

I saw you 2 discussing getting into others' workspaces.

 

I'm having no problem (even with my own user account - but Site Admin permissions) getting into others' workspaces.  I've been able to do it in 10.2 M020 & M030.  It is via Report Manager.  All you need to do is have the EPMWorkspace table in the FROM section, and then have the top level EPMWorkspace in the SELECT clause.  This will provide an information button that can be clicked on to navigate into the workspace.

 

In the example below, I have a report that returns which workspace(s) an object belongs to.  But you could of course create your own report with your own parameters.  For example - just tie together EPMWorkspace and WTUser to get a user's workspace.

 

Am I missing something?  Is it just this easy to do?  Is there some security issue here?  We've talked about it a lot at TC meetings and it is talked about in the forums.  It seems like this is pretty easy to do (although admittedly it is the "backdoor" option).  Prefer to have a different and less complex door into someone's workspace.

 

2016-12-29_15-44-55.jpg

Re: Conditional routing based on Document attributes

$
0
0

Ioannis Psomiadis,

You may want to consider switching over from wt.iba.value.IBAHolder to com.ptc.core.lwc.server.PersistableAdapter.  I think your code is being deprecated.  And the new code is fewer lines.  Check it out in the context of the other posting:  Re: PBO Attribute captured in a workflow

 

doc = (wt.doc.WTDocument)primaryBusinessObject;  // you can skip this - you already instantiated "doc"

com.ptc.core.lwc.server.PersistableAdapter obj = new com.ptc.core.lwc.server.PersistableAdapter(doc,null,null,null);
obj.load("contracttype");
IPselect = (String)obj.get("contracttype");

Re: RE: 10.1 Workflow Exceptions now show exception log etc - I don't want this

$
0
0

I am checking for a condition that throws an error when it's not met.

 

But in my case the error pop up comes and the activity is aborted. I don't want the activity to abort, Instead it should continue showing the error until the user fulfills the condition. Can anyone help on this ?

 

I have tried the same way as Stephen's and using throw new wt.util.WTException("");

 

Windchill 10.1 M020

Re: RE: 10.1 Workflow Exceptions now show exception log etc - I don't want this

$
0
0

Where is your code being executed?  If you want to prevent the workflow task from being completed, it needs to be in the Complete transition of the workflow task.


language of a lifecycle state does not behave like other states

$
0
0

spanish_language.PNG

When my browser language is set to Spanish

 

Actual:

When Web navigator is set with Spanish language, the Validated state is wrongly  translated into "Aprobado"

Expected:

in order to be consistent with other life cycle state labels, and be sure to have compliant label, the Validated life cycle state shall be left in English ("Validated") like any other states.

 

I want the state to be left in English irrespective of Browser language.

Re: RE: 10.1 Workflow Exceptions now show exception log etc - I don't want this

$
0
0

I am executing my code in complete transition.

 

Is there any alternative way to achieve this ?

Re: intralink3.4 versus PDM Essentials

$
0
0

Hello.

 

In Workspace Save As, you can use the 2nd step on the wizard called "Update Parents" to modify the assembly (and other parents in the workspace like the drawing) to use the new copy.

 

Things to keep in mind when switching from Pro/INTRALINK 3.x to Windchill:

- Modifications can only be made on objects that are checked out, so if the assembly is not already checked out, you will need to use the check out icon before you can set it to use the new copy.

Slide1.GIF

Slide2.GIF

Slide3.GIF

 

 

I hope this helps.

Sincerely,

Jennifer

Re: pdm Essentials -I want to change a part in an assembly with an existing in Commonspace(windchill cabinets)

$
0
0

Hello.

 

Save As allows this functionality.

 

If you want to be able to replace with the content in the Commonspace, then you can enable the Replace action. 

  • Login as Admin
  • Go to site > Utilities > Preference Management.
  • In Preference Management go to Save As section and set "Allow Replace" to Yes.
  • This will enable a replace action in the Save As UI:
  • communitywebsite.gif
  • Note: This action (like ProI 3.x) will only update parents that are either
    • being copied
    • or set to be updated on the Update Parents step (see my other post to you on Update Parents)

 

Thanks

Jennifer

Bulk Import of Design Drafting CAD documents

$
0
0

I have to import more then  thausand MI cad document in my WindChill installation.

My idea is import they as CAD document and not as  WT Document.

 

Considering that I have to assign file name number ad name plus other three custom mandatory parameters,

which is the better way to reach my target.

 

Thanks for your help

 

Beniamino

Viewing all 8876 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>