Skip to main content
1-Visitor
March 25, 2011
Question

Attribute in Confirmation Message

  • March 25, 2011
  • 2 replies
  • 730 views

Hi All,
Happy Friday.
Whenever you create a document in Windchill, you receive a confirmation message (dialog box) that the object was created successfully. Does anyone know if and how you can edit that confirmation message to include the auto generated Number (or other attribute)?

Mike -

2 replies

1-Visitor
March 25, 2011
Hi Michael,
We looked into this when we first moved to 9.1. Working with PTC, we found the easiest solution was to add the GetServerPreGeneratedValue algorithm to our OIR's. This gives the user the auto generated number on the Part/Document creation wizard. The only drawback we found is that if they cancel the creation of the object, that number gets burned.

Hope this helps,
Dax
1-Visitor
March 26, 2011
It is possible but you would have to store the desired attribute in the main
wizard jsp as a javascript string variable, then in the confirmation message
which is probably in like wizard.js or main.js process form submission
routines (the wizards to create object actually post the creation of objects
via javascript/ajax), you could tell to add that variables contents to the
message displayed to the end user. If javascript isn't a strength, or you
don't understand the response, then you are out of luck at this point. I
have created something that will display stuff in custom messages with
attributes for actions that are selected but should not be. Someone with
my background, if you were to hire a consultant could get this done in about
3-4 hours, maybe less if they know how to do 9.1 customization.