Skip to main content
7-Bedrock
September 19, 2025
Solved

How to create Prefix or suffix drop down list to autogenerated number for WT Document

  • September 19, 2025
  • 2 replies
  • 781 views

How to create Prefix or suffix drop down list to autogenerated number for WT Document

 

Best answer by Fadel

exactly , just make sure to also look at https://www.ptc.com/en/support/article/CS31342 for adding the attribute to be checked by OIR and related constraints 

2 replies

Community Manager
September 19, 2025

Hi @KR_1012184030,

Thank you for posting your question on PTC Community.

To assist you better, could you please provide more details and context regarding your inquiry? Specifically:
 

  • Which platform or system are you using to create the WT Document?
  • Is the WT Document part of a workflow or form submission process?


Including screenshots can also be very helpful in understanding your process. This will enhance the likelihood of receiving valuable assistance from other Community members.

You might also find it useful to refer to the guide on how to ask a good question. Additionally, our community champion has shared tips on key points to include when asking a question on the PTC Community.

I hope this information is helpful.

Best Regards,
Vivek N
Community Moderation Team.

7-Bedrock
September 19, 2025

Thanks for reply..

 

Hello Community,

I have created a custom WTDocument subtype where the Document Number is auto-generated using an OIR.
Now I want to extend this so that the user can select a prefix from a drop-down list (e.g., three predefined values) when creating the document.

  • I already created a new soft type attribute (String, with enumerated values as a drop-down).

  • The attribute is visible in the create wizard.

  • My question is: How can I use the selected prefix attribute value in the OIR Number rule so that it becomes part of the auto-generated number?

7-Bedrock
September 19, 2025
  • Which platform or system are you using to create the WT Document?

I am creating the WT Document from the Product context in Windchill PDMLink using the standard web UI (browser).

 

  • Is the WT Document part of a workflow or form submission process?

No, there is no custom workflow or form submission involved. The WT Document follows the default Windchill workflow, and we create it directly from the standard Create Document wizard.

Community Manager
September 29, 2025

Hello @KR_1012184030


It looks like you have some responses from a PTC expert. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

7-Bedrock
September 29, 2025

Hello vnamboodheri,
My query has been resolved by following the steps you provided. Thank you for your support.

Community Manager
September 29, 2025

Hello @KR_1012184030,

 

Thank you for your prompt response!
It seems you were able to resolve the issue with the help of instructions shared by @Fadel. Hence, we have marked that response as the "Accepted solution".
Please let us know if any concerns.

 

Best Regards,

Vivek N

Community Moderation Team