I have looked all over the help file for information on the 'Update File Attributes from Database' command. Does anyone know where I can find it?
I'm trying to use the IEdmEnumeratorVariable5.StoreValuesFromDatabase method and the help file says that it does the same thing as the menu command, but that is not what I am seeing. So, I would like to see the help file to make sure I am not missing something.
Thanks.
I was rather surprised you would be asking that question.
It pushes the database values into the file's custom properties. I don't know of any prerequisites.
That's what I figured. Thanks Jeff.
I'm trying to add files programmatically to the vault, and update their file properties from the vault. After the file is added, I update the vault variables with values from another source, and then I am trying to push those values back to the file. I was hoping the StoreVaulesFromDatabase method would do the trick, but it's not.
I guess I'll have to look at taking another approach.
This is slightly OT, but I'm wondering if there's a command to force the opposite action: updating the database from file attributes.
I ask because I've created a number of SW part files with custom properties all filled in, and I set up card variables w/mappings and created fields on the file card linked to those variables, but after I checked in those files I found that it many cases the values do not appear in the file card fields.
Some fields work, some don't, sometimes a given field works on one file, but not on another. I think this should be automatic, but if there's a command that forces the action, it would probably suffice for now.
B-