study date field and format string? | Ben Bimber | 2010-07-07 06:05 |
Status: Closed | ||
each dataset in a study has a date field (denoted by this in datasets_metadata.xml: <propertyURI>http://cpas.labkey.com/Study#VisitDate</propertyURI>). there is a study-wide date format string; however, we'd like to set this differently on a per dataset basis. I originally tried to add a <formatString> param to the tables in datasets_metadata.xml. This will change the date format for any date field, except those with the propertURI above. I believe I was told that when you add a propertyURI, all other metadata you supply in datasets_metadata.xml is ignored? Is that what's happening here? I figured out that I can override the format string table-by-table by adding query metadata. I already had to create one XML file per dataset anyway since I needed to add a <tableURL> to each dataset, so adding date format wasnt too big a deal. I actually think moving a lot of the metadata from datasets_metadata into each dataset's metadata XML file would make sense. Is there any reason why this is not a good idea? |
||