Do DIM updates overwrite private tags and metadata?
gw3972
Posts: 50
Before I embark on a long series of tagging products I'd like to know if DIM updates overwrite anything I've added myself to a product's metadata. I don't want to do a lot of work for nothing!
I can't find anything anywhere that mentions this.
Comments
Make sure you export user data before applying the updates. Right-click on the Content Library pane's tab, or click its menu button, and select Content DB Maintenance, then check Export User Data and click Accept.
- - -
To speed this process up I made a feature request to export ALL product data with the click of one button to /runtime/support
If you make a backup of that folder you could be sure that really all changes you ever made will be ready to be reinstalled later.
- - -
If you are interested in more details why just exporting the "User Data" might not be enough please have a look at the feature request report;:
1 click Batch export of all "Product" metadata from "Content DB Maintenance" "Export All Product Metadata"
https://bugs.daz3d.com/view.php?id=49185
- - -
You can find a tutorial about Adding Metadata to Products here:
http://wiki.daz3d.com/doku.php/public/software/dazstudio/4/userguide/creating_content/packaging/tutorials/adding_metadata/start
- - -
Good grief, that looks complex! In other words, every time DIM tells me there is updated content, I will have to go through the export/download/re-import cycle?
It would be much better if DAZ's programmers had adopted a database schema that separated DAZ data from user data and made sure that DIM only updated DAZ data. (I learnt that "trick" from a very good DB analyst I once worked with. It saved a LOT of hassle all round.) Maybe I should file a feature request and see if it can be done retroactively.
Thanks for the links - I'll head off and read 'em now.
There would be a solution for that issue:
"Completly" separate installers for the content and the metadata .dsa and .dsx files in /runtime support.
I stress the "completly" because in 2011 there were separte installers for metadata and content. Nevertheless as someone explained me for some 3rd party compatibility related reason the .dsa and .dsx files were also included in the main installers.
In 2012 the separate metadata installers were dropped because it became obvious that the 3rd party will not support the metadata system.
A more advanced solution would give the user the ability to choose each time when products are installed if the .dsa and .dsx files get replaced or not.
If you could file a feature request that would be incredibly helpful.
Currently it is only a small but steadily growing group of users that ask for more advanced ways to manage metadata.
From that point of view every new voice that asks for metadata support will help.
- - -
That actually isn't correct according to the software developers. Any modified meta data will persist through an update of a product, it won't blow it out. You can export it out and save it as a backup if you want, but shouldn't be necessary.
I can confirm this! I've modified metadata on an item before, then some time later I saw the product it came from updated in my DIM and promptly installed the update. I return to my Studio and all was still as I made it.
You should be alright. : )
There is not just one type of metadata. There are several different types of situations that all work differently.
- - -
The short version of what I obverved is:
Metadata that can have multiple values at the same time is not overwritten but added together by updates.
Examples: Tags, Categories
This means
- the categories the user created should still be there
- categories that are included in the updated installer are added
- if the user had deleted some categories before they will be added again as well
All metadata that can only be in one state will get overwritten by updates.
Examples: File Types, "declared as" information,
- - -
The most important thing to understand about this is that the user may not want that categories he deleted or changed are added again by the update.
The user wants that the whole product stays in the very same state as it was before the DIM update.
Even if the categories the user created persist after a DIM update the addtional DAZ categories that are forced upon the user may be unwanted.
Example:
In 2011 the metadata used the categories /preset/materials/xy after Summer 2012 it was just /Materials/xy .
When installing updates that just fixed geometry but still has 2011 stye metaddata the old /presets materials are forced once again on the system even if the user took the time to completly adapt all metadata to the new official categories introduced 2012.
http://docs.daz3d.com/doku.php/public/dson_spec/format_description/metadata/categories/start
Additional work is created for the user because he has to delete the old "presets" categories again to clean up his installation.
If I unchecked a category I want it to remain unchecked even after product updates.
- - -
This is the reason why I say the only way I know to make sure that the complete state of a product remains after an update is to
- export the .dsa and .dsx files of the product I adjusted to /runtime/support
- make a backup of the whole folder in a different location
- install the product update with the DIM
- place a copy of the backup in /runtime/support
- reimport your custom version of the metadata from the .dsx file
- - -
Updated / Edit:
I updated and structured my post several times. Now it should be complete.
I hope I now provided enough examples that everyone can understand what I am talking about.
I really hope someone of the DAZ software developer team reads through it and can clear up some missunderstandings or confirm that I am not imagining all of this.
If you are a forum moderator please forward this post to the metadata team or those responsible for metadata software development.
- - -
I am really tired about all this metadata talk without seeing any improvments or confirmations.
The most frustrating part is when someone then just comes along and says
"It is not true" or "It works fine the way it is now" in a very general way without going into any further detail when I observe the opposite on a weekly basis.
I made a feature request to
0050585: Give the user an option to prevent the DIM from overwritting .dsa an .dsx files in /runtime/support
https://bugs.daz3d.com/view.php?id=50585
- - -
In the future request I asked that DAZ software developers also have a look at this thread and hopefully can provide more detailed information which of my observations are true and which are based on missunderstandings.
- - -
Again I understand that it may not be easy to come up with a solution.
An important first step is to make information available to the users, the forum and DAZ staff which processes are happening when product updates are installed by the DIM and what the detailed consequences are for metadata the user created themselves depending on the type of the data.
I have not tried creating my own metadata, but I have organized my own content categories in the content pane.
There is the content -> Default category. If you re-organize things in the Default category, it is likely to get messed up by future product downloads or updates of existing products.
I created a Content -> Mine category. I organize everything the way I like it under that category. DAZ installers will never overwrite or mess with information in the Mine category.
Now DAZ updates occasionally moves files around. When that happens the file my content entries are linked to disappears, and I need to update my content entries, but that does not happen very often.