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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Modifying New Change Request description ?

ejhlti
1-Newbie

Modifying New Change Request description ?

Is it possible to modify (hopefully easily) the new change request description so that it looks something like:

Description REQUESTOR

EFFECTED ORDERS

IMPLEMENT CHANGE ON OPEN ORDERS

Theidea is that the REQUESTOR, EFFECTED ORDERS, and IMPLEMENT CHANGE ON OPEN ORDERS is simply text that automatically appears in the description field whenever a new change request is created. Its only there to serve as a reminder for the personcreating the change to fill out these lines. Better yet, could the text be made to appear so that it cant be removed ?

My guess would be there is probably a better way to do this withactual attributes, for thetime being were looking for hopefully just a simple solution. Ultimately there are quite a few additional attributes we would like to add that are either required or can be chosen by a drop down menu, but maybe were getting a bit ahead of ourselves.

Appreciate any ideas or where to start.

4 REPLIES 4
AL_ANDERSON
5-Regular Member
(To:ejhlti)

You can edit the localizable display of the "Description" label, itself,
in an rbInfo file.

For example, you can change "Description" to "Description (incl.
Requestor, Effected Orders, Implement Chg on Open Orders):"

This is a slightly different way of telling user what to put in the field.
And while it may take up a lot of screen space, it shows up everywhere
automatically, and you can edit the text as much as you like until you
find what you want.

Al Anderson
Solar Turbines Incorporated







Ed Howanice <ejhlti2@optimum.net>
12/09/2010 10:17 AM
Please respond to
Ed Howanice <ejhlti2@optimum.net>


To
-
cc

Subject
[solutions] - Modifying New Change Request description ?




Caterpillar: Confidential Green Retain Until: 01/08/2011



Is it possible to modify (hopefully easily) the new change request
description so that it looks something like:
Description REQUESTOR
EFFECTED ORDERS
IMPLEMENT CHANGE ON OPEN ORDERS
The idea is that the REQUESTOR, EFFECTED ORDERS, and IMPLEMENT CHANGE ON
OPEN ORDERS is simply text that automatically appears in the description
field whenever a new change request is created. Its only there to serve
as a reminder for the person creating the change to fill out these lines.
Better yet, could the text be made to appear so that it cant be removed ?
My guess would be there is probably a better way to do this with actual
attributes, for the time being were looking for hopefully just a simple
solution. Ultimately there are quite a few additional attributes we would
like to add that are either required or can be chosen by a drop down menu,
but maybe were getting a bit ahead of ourselves.

Appreciate any ideas or where to start.



Site Links: View post online View mailing list online Send new post
via email Unsubscribe from this mailing list Manage your subscription
Use of this email content is governed by the terms of service at:
AL_ANDERSON
5-Regular Member
(To:ejhlti)

Ed Howanice and PDMLink Solution Group,

A while ago, I advocated changing the change2ModelRB.rbInfo resource
bundle for modifying the change request description's display value in
PDMLink as a way to include more information about what a specific site
might want users to enter in that field. On closer inspection, the
process turned out to be more involved than that in PDMLink 9.1.

Here are the steps that we found necessary to change the display value of
a change request description in PDMLink 9.1.

Step 1

Stop the method server and servlet engine.

Step 2

Edit the jsp pages that call out

<jca:describeproperty id="description"/>

and change them to

<jca:describeproperty id="description" label="My" custom=" description&quot;="/>

in all files in the

<home>\Windchill\codebase\netmarkets\jsp\changeRequest

folder.

These include ...

attributes.jsp
create_details.jsp
edit_details.jsp
info.jsp

Each file will update the description display value in the corresponding
jsp page.

Step 3

Add the following line to the change2ModelRB.rbInfo in the
C:\ptc\Windchill\wtCustom\wt\change2 folder.

WTChangeRequest2.description.value=My Custom Description

Do not directly modify the C:\ptc\Windchill\src
\wt\change2\change2ModelRB.rbInfo. The wtCustom file will override the out
of the box file, and preserve your change when future updates might
otherwise overwrite the src version.

Run the following command from the Windchill shell.

<home>\Windchill>resourcebuild wt.change2.change2ModelRB

This will update the Advanced Search description display value, among
other things.

Step 4

Clear the servlet engine cache.

I did not find rebuilding the jar files be necessary during my test, but
you might as well in case the resource bundle is used in an applet
somewhere that I am not aware of.

<home>\Windchill>ant -f codebase/Makejar.xml

Restart the method server and servlet engine.

You will see the changes.



and




and



and



Ed, please let us know when you get this to work, what you changed it to,
and why. Others might have a similar requirement and not considered this
option.

Thanks,

Al Anderson
Solar Turbines Incorporated








Edward Howanice <edh@servometer.com>
12/13/2010 12:34 PM

To
"Al X. Anderson" <->
cc

Subject
RE: FW: [solutions] - Modifying New Change Request description ?




Caterpillar: Confidential Green Retain Until: 01/12/2011



Al,

I had some time to experiment with this. I believe I followed your
instructions correctly, however I dont notice any difference in the create
new change request desription field.

I changed the description line to read just like your example. The
resourcebuild and jar files all rebuilt OK. When you mentioned clearing
the servlet cache, is that the Tomcat\Work directory ?
When I go to create a new change, nothing looks different. At that point I
stated experimenting with the WTChangeRequest2.description.value=
Description statement, trying additional text and values but once again
had no effect.

Any ideas as to what I'm doing wrong ?

This morning I stumbled upon the categoryRB.rbInfo file which lets me
create additional choices in the drop down menus for the CR/CN reason
which is one other thing I was looking to do.
That works fine after a resourcebuild.

thnaks again for your help with this,
ed





avillanueva
22-Sapphire I
(To:ejhlti)


OMG. I thought I had it all wrong. I had just changed our descriptions a few weeks back following only step 2 (adding custom label to JSP pages). It came from testing a few months earlier and I had noted that the change2ModelRB did not affect the create/edit/info pages. What gives? Thanks for clearing up that original programmers could not agree to put the description label IN A SINGLE G-D PLACE. From what I gather, ever other display of the "description" would come from the RB. I
ejhlti
1-Newbie
(To:ejhlti)

Al, I got this working now on our 9.0 system here. Turns out in the info.jsp, I needed to change the line that reads:

<comp:describeproperty id="description"/> to the revised description accordingly. There was no line that reads

<jca:describeproperty id="description"/> in the info.jsp file

I do have one last question, we normally propagate the CR info to the CN by using the checkbox thats on the CN tab.

For my CN to look like the revisied CR, do I just modify the same file types for the CR ?

Top Tags