cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Attributes for a Promotion Form

Dan_Harlan
12-Amethyst

Attributes for a Promotion Form

I need to add attributes to the promotion form (for conditional routing).
I've created and added the soft types to the object, but during form
creation, the attributes are not accessible. The show when later looking at
the details of the promotion request, but not during form creation.



I thought I've run into this before. Does someone know the solution to
this? TIA, will post the solution.



PDMLink 9.1M040



~Dan

Dan Harlan

602.320.4187



7 REPLIES 7

I've put in 3 separate tech support calls on this over time - just to confirm that the answer is the same.

Promotion Requests support Attributes in Type Manager but the UI does not support displaying them.

Yeah, the 9.1 wizard is still using template processing. Not the new JCA framwork. It got converted in 10.


Sent from my Verizon Wireless BlackBerry

In 9.1 I ended up with this hack:
Adding a few HTML form fields I needed directly in the
/codebase/templates/pdmlink/maturity/PromotionNoticeDetailsPane*.html
files. The content of these fields are then appended to the javascript var
_Description in the same files as attributeName: value pairs. This allows
Java code in my promote workflow to fetch the user input. I had to add a 1
min timer in my workflow be reliably get the value of the Description
field. I can share code snippets if somebody wants them.

Looking forward to 10.0 where these HTML files have vanished from the
codebase and display of IBA's in the form seems to Just Work 🙂

/Jørn




Dave DeMay <->
24-02-2011 20:42
Please respond to
Dave DeMay <->


To
Solutions PTCuser <->
cc

Subject
[solutions] - RE: Attributes for a Promotion Form






Yeah, the 9.1 wizard is still using template processing. Not the new JCA
framwork. It got converted in 10.
Sent from my Verizon Wireless BlackBerry
From: "Lockwood,Mike,IRVINE,R&D" <mike.lockwood@alconlabs.com>
Date: Thu, 24 Feb 2011 12:50:54 -0600
To: Dan Harlan<->;
-<->
ReplyTo: "Lockwood,Mike,IRVINE,R&D" <mike.lockwood@alconlabs.com>

funny - exactly what I did 😉
however I then used a pre store trigger to strip the values from the end
of the description and populate the IBAs, so the PN has them readily
available.

cheers, martin

On 02/24/2011 09:43 PM, Jørn Andersen Hansen wrote:
>
> In 9.1 I ended up with this hack:
> Adding a few HTML form fields I needed directly in the
> /codebase/templates/pdmlink/maturity/PromotionNoticeDetailsPane*.html
> files. The content of these fields are then appended to the javascript
> var _Description in the same files as attributeName: value pairs. This
> allows Java code in my promote workflow to fetch the user input. I had
> to add a 1 min timer in my workflow be reliably get the value of the
> Description field. I can share code snippets if somebody wants them.
>
> Looking forward to 10.0 where these HTML files have vanished from the
> codebase and display of IBA's in the form seems to Just Work 🙂
>
> /Jørn
>
>
>
> *Dave DeMay <->*
>
> 24-02-2011 20:42
> Please respond to
> Dave DeMay <->
>
>
>
> To
> Solutions PTCuser <->
> cc
>
> Subject
> [solutions] - RE: Attributes for a Promotion Form
>
>
>
>
>
>
>
>
>
> Yeah, the 9.1 wizard is still using template processing. Not the new
> JCA framwork. It got converted in 10.
>
> Sent from my Verizon Wireless BlackBerry
>
> *From: *"Lockwood,Mike,IRVINE,R&D" <mike.lockwood@alconlabs.com>
> *Date: *Thu, 24 Feb 2011 12:50:54 -0600
> *To: *Dan Harlan<->;
> -<->
> *ReplyTo: *"Lockwood,Mike,IRVINE,R&D" <mike.lockwood@alconlabs.com>
> *Subject: *[solutions] - RE: Attributes for a Promotion Form
> I’ve put in 3 separate tech support calls on this over time – just to
> confirm that the answer is the same.
>
> Promotion Requests support Attributes in Type Manager but the UI does
> not support displaying them.
>
> Note: In Windchill 10, evidently they can be displayed.
>
> *From:* Dan Harlan [

Can you just use a workflow variable in a "Setup Promotion" task? I've done this a lot for more advanced CM workflows.

[cid:image001.gif@01CBD4C1.CF85CC20]

Steve Vinyard
Application Engineer

Dan,

I did a work-around for a customer where we also had this issue. Created a New Assignment for the Creator at the Start of the Promotion Workflow... After Promotion Kicks Off, the user has to chose Attributes from initial Assignment that drive the rest of the Workflow.

Hopefully someone helps you get Attributes into the PTC Promotion Wizard.

Brian


Not sure if it would be the same, but just went through an exercise where I wanted some custom attributes to show for a Project - did NOT show until a Default Value was put in - then voila!
Announcements


Top Tags