Cancel
Showing results for 
Search instead for 
Did you mean: 

Disable assign button in Teamcenter

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Hello,

  

Do you know what preference I can use to disable the assign button  in Teamcenter?

 

Thanks.

 

assign.png

7 REPLIES

Re: Disable assign button in Teamcenter

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
There is no single preference for disabling the "Assign" button in the Item creation wizard. There is a process for making the Item ID and Rev ID read-only in the create dialog but its much more involved.

It starts with preferences:
ASSIGNED_ITEM_ID_MODIFIABLE=0
ASSIGNED_ITEM_REV_MODIFIABLE=0

In the ItemCreate stylesheet: append 'modifiable="false"' to properties item_id and revision:item_revision_id.

In BMIDE:
Set the Enabled property constant to "False" for Item.item_is and ItemRevision.item_revision_id.
Set the Modifiable property constant to "Read" for Item.item_is and ItemRevision.item_revision_id.

Ensure that you have a Naming Rule created that will populate those fields then deploy and test.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Disable assign button in Teamcenter

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Hello,

 

Thank's for your answer.

 

I learned, we can use the "ITEM_autogenerate_id" preference to disable.

What do you think?

 

Re: Disable assign button in Teamcenter

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
The ITEM_generate_id site preference was used before Tc10.1 to auto populate the Item Id. It's not supported in the current item create panel. Today, we use naming rules in BMIDE.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Disable assign button in Teamcenter

Legend
Legend

There is another simpliest way - use naming rules for item_id/rev_id (customized by BMIDE) - activating naming rule automatically disable the Assign button

Re: Disable assign button in Teamcenter

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Can you to tell me how to activate naming rule?

Re: Disable assign button in Teamcenter

Valued Contributor
Valued Contributor
Hi Alex,

Alternatively do you know how to keep the assign button active one a naming rule has been applied ?

Thanks

Re: Disable assign button in Teamcenter

Legend
Legend

@Cox_Matt wrote:
Hi Alex,

Alternatively do you know how to keep the assign button active one a naming rule has been applied ?

Thanks

I thnik it may depend on a kind of naming rule you have applied. If naming rule based on counters may be assign button  remain active. But in   my case  I have regular expression without counter in my naming rule,so the Assign button was not visible