cancel
Showing results for 
Search instead for 
Did you mean: 

Default name for dataset under ItemRevision

Solution Partner Creator Solution Partner Creator
Solution Partner Creator

I had created a dataset under ItemRevision, it seems it would take the name of Item_id/Item_rev_id.

It's there any preference to change it to defualt name of Item_id?

 

I had trid to set DATASET_saveas_pattern but it just affects the behavior of NX.

 

Thanks a lot in advance.

5 REPLIES

Re: Default name for dataset under ItemRevision

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Strange, the NX naming pattern preferences are:

  • TC_ugmaster_name_separator=/
  • UGMASTER_saveas_pattern=${ItemID}/${RevisionID}
  • UGPART_saveas_pattern=${ItemID}-${RevisionID}-${UserText}
  • UGALTREP_saveas_pattern=${ItemID}-${RevisionID}-${UserText}

The global naming pattern should effect all your datasets:

  • DATASET_saveas_pattern=${ItemID}-${RevisionID}

Then be overriden by specific naming pattern preferences:

  • <dataset_type>_saveas_pattern=${ItemID}-${RevisionID}

Some more global DS prefs:

  • DATASET_saveas_allow_duplicates
  • DATASET_saveas_allow_name_modification
  • DATASET_saveas_always_copy
  • DATASET_saveas_force_name_validation
  • DATASET_saveas_never_copy
  • DATASET_saveas_owner

 

 


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Default name for dataset under ItemRevision

Solution Partner Creator Solution Partner Creator
Solution Partner Creator
Nope, it don't work at all. I just wanna change the default name when I was create an new dataset under ItemRevision, but, all of pattern preferences you give was no affect.

Re: Default name for dataset under ItemRevision

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
Then try BMIDE, on the Business Object, Business Object Constant, "DisplayName". I use this method for disabling the Item Revision sequences:
Default (OOTB)
$item_id + "/" + $revision_id + ";" + $sequence_id + "-" $object_name
New
$item_id + "/" + $revision_id + "-" $object_name

The preferences should have worked. Did you delete the preferences shared memory after making your changes and before testing?

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11.0.1.mp01 | SW 2016 | TcUA 11.2.3
Evaluating:AW 3.2

Re: Default name for dataset under ItemRevision

Legend
Legend

You need to map the property "item_id" from Item revision to dataset by using compound property.

 

then go to Business object constant and change the display name of the dataset, the value of display name should be mapped property $item_id.

 

So that display name of the property will seen as only item id.

 

But let me tell u the internal object name of the dataset will be same and it will not be affected by changing the dataset display name.

for changing the actual object name you need to write a code in ITK which is very easy.

 

Hope this solution will for work you.

Re: Default name for dataset under ItemRevision

Solution Partner Creator Solution Partner Creator
Solution Partner Creator
It must write a code in ITK, other can't modified the default object_name to item_revision_id.
thx