Expand my Community achievements bar.

SOLVED

Namespace on asset custom metadata

Avatar

Level 6

Hi,

I am adding new metadata to the assets using the metadata schema editor.

Is there any problem if the new metadata is not using namespaces? Is this a bad practice?

In case it is not a good practice? What would be the right one? Is there any convention for this?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee

I am sure that there are varying opinions on how to best setup metadata but here is an article that I wrote a while ago on it to give you some direction:

http://ghhutch.com/aem-dam-metadata-namespace-selection/

Let me know if this helps.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

I am sure that there are varying opinions on how to best setup metadata but here is an article that I wrote a while ago on it to give you some direction:

http://ghhutch.com/aem-dam-metadata-namespace-selection/

Let me know if this helps.

Avatar

Level 6

Hi Graham,

Very nice article and tips!

Regarding the namespaces, is it a bad practice create custom properties like this:

./jcr:content/metadata/my_custom_data

Do you see any possible problem on storing metadata this way?

Thanks

Avatar

Employee

Not necessarily. I suggest that you first consider how the metadata will be used after the metadata is populated.  Is it descriptive information for authors? Is it used for search purposes? Is any of it confidential? Is it queried? Will apps such as Photoshop need to use the data?  Will be be used by devices such as cameras?  There are a plethora of use cases out there that may apply to your assets.  Identify the ones that are relevant for your solution and that will help inform your decision. For example, I worked with a customer that had many photos and needed to enter an unique ID, names of people pictured, and photographers would populate the dc:title and dc:description using their tools.  This information was not confidential, was not queried, it was used by authors/photogs, and the title/description was used in any 3rd party apps.  We stored information in a couple different ways.  The dc:title and dc:description used the Dublin Core metadata schemata we reused that within the DAM then for the ID and people pictured we decided to create a custom namespace + attributes.  All of this information is stored in the metadata as you described above.

One of the only times I do not store info as part of the file metadata is when there some sort of sensitivity around the data and there is too much risk having someone download an asset and send it outside of the company where someone could read it.