Cancel
Showing results for 
Search instead for 
Did you mean: 

How to access Named Reference history of a dataset ?

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Hello experts,

 

Even if I make modifications to a dataset, File - Open With.. menu shows only 1 version always.

However, the versions of ItemRevision are updated.

value of AE_dataset_default_keep_limit is set to default of 3.

 

How can I access older versions, named references of Dataset ?

9 REPLIES

Re: How to access Named Reference history of a dataset ?

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
Look at the value of QRY_dataset_display_option. Create a "User" preference and set the value to "2". Test it and if you like it then you can change the "Site" preference to match. You will likely need to retrain users to become familiar with seeing the version and making sure its the latest version.

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

Re: How to access Named Reference history of a dataset ?

Solution Partner Legend Solution Partner Legend
Solution Partner Legend
Thanks for the response.
I tried this, but I still see only one i.e. the latest version of dataset.
Someone suggested to check if there's another setting, because of which the versions of datasets are automatically purged.
Do you have an idea what this setting could be ?

Re: How to access Named Reference history of a dataset ?

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
I've heard of running purge_datasets to reduce the number of versions (especially replicas in multisite). And I've heard of old versions being deleted when the dataset is released. Check TCDefaultKeepLimitByType?

Can you attach a picture of your query results?

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

Re: How to access Named Reference history of a dataset ?

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Please find attached image showing result of File-Open With... and Search Query after setting QRY_dataset_display_option to 2.

 

Value of 'TCDefaultKeepLimitByType' is "ItemRevision 3".

 

Re: How to access Named Reference history of a dataset ?

Solution Partner Legend Solution Partner Legend
Solution Partner Legend
I modified the Value of 'TCDefaultKeepLimitByType' to
"ItemRevision 3
Dataset 3".
The search results are still the same.

Re: How to access Named Reference history of a dataset ?

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Here's the screenshot which I forgot to upload before.

Re: How to access Named Reference history of a dataset ?

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
Your situation is unusual. How do you know there are more dataset versions for 000056_A_1 than the one being shown?

What is the dataset type? Is it a coincidence that the dataset name matches <item_id>_<rev_id>_<version>? What is the value of DATASET_saveas_pattern or <dataset_type>_saveas_pattern?

In BMIDE, what is the entry for (BO)Dataset, Main, Business Object Constants, DisplayName (default $object_name)?

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

Re: How to access Named Reference history of a dataset ?

Solution Partner Honored Contributor Solution Partner Honored Contributor
Solution Partner Honored Contributor
And check the value of TC_QRY_display_latest_dataset_only.

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

Re: How to access Named Reference history of a dataset ?

Solution Partner Legend Solution Partner Legend
Solution Partner Legend

Hello Randy,

 

Thanks for all your inputs. I was working on a custom Dataset type.

 

I made some tests also on OOTB dataset types and found out that the problem was with my concepts. I was expecting Dataset-Versioning to work the same way as that of ItemRevision.

 

My observations:

Version of ItemRevision is updated after each check-in, doesn't matter if a property-value was changed or not. This does not happen with Dataset.

Moreover, Dataset versions are updated only if the same file is modified; not if a file is uploaded, removed or overwritten. So it is actually a file-versioning rather than a Dataset-versioning.