cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic form name preference

Valued Contributor
Valued Contributor

Hello,

 

I would like to know how to generate automatic names for forms under an ItemRevision. I used this site preference

TCAE_autogen_name_form_types

But its not generating the form name. It says value should be valid Teamcenter form type. My question is, has it got something to do with real name (in BMIDE) or display name. 

 

Hoping to get answer.

 

Thanks a lot.

Regards,

Srinidhi

 

TC9.1 TC 11.2

NX 8.5 NX 10

5 REPLIES

Re: Automatic form name preference

Valued Contributor
Valued Contributor

Hello all,

 

I found out that TCAE_autogen_name_form_types need auto_edition/gm_overlay license. So is there any other way in BMIDE to set object_name property / operations that it automatically take the name from Itemrevision in such a way that

 

{%item_id}/{%item_revision_id}-Form 

 

So please let me know. I would be happy on any input.

 

Thanks


regards,

Srinidhi

Re: Automatic form name preference

Genius
Genius

Did you try InitialValue constant on Object_name property of the FORM 

 

Regards

Naveen

Re: Automatic form name preference

Valued Contributor
Valued Contributor

hello,

 

This InitialValue makes all the form names constant. I want it to be controlled over an arg LOV

 

Like %item_id/Item_revision_id%-%form_type%

 

Is this possible?

 

Regards,

Srinidhi

Re: Automatic form name preference

Genius
Genius

Srinidhi,

 

You can make form name dyanamic

 

You can try like below expression, provided those attributes exist on your custom form

Initial value= $Item_id/$item_revision_id/$Object_type

 

If properties does not exist, see if you can make compound property on your Form.

 

Regards

Naveen

 

Re: Automatic form name preference

Valued Contributor
Valued Contributor

Hello @naveengm

 

This doesnt work, as initial value is not runtime property. Its fixed value for the form. 

 

I found a solution for this. I might use TCAE_autogen_name_form_types with gm_overlay license.

 

That works.

 

Regards,

Srinidhi