This discussion is archived
2 Replies Latest reply: Aug 16, 2012 7:00 AM by Nitin Khare RSS

What is use of content-property in itemdescriptor

vgk2716 Newbie
Currently Being Moderated
Hi

what is use of content-property in item descriptor? In which scenario it is used? Found below from ATG Docs, but still not clear.

http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGRepositoryGuide/html/s1403contentattributesandproperties01.html

Thanks In Advance.

Gopi
  • 1. Re: What is use of content-property in itemdescriptor
    vgk2716 Newbie
    Currently Being Moderated
    Especially what is use of it in media item-descriptor?
  • 2. Re: What is use of content-property in itemdescriptor
    Nitin Khare Expert
    Currently Being Moderated
    content-property is used in case of content repositories which has content repository items. Content repository is used just like regular SQL repositories. A content repository item can be thought as consisting of some content and its metadata. The content-property attribute is used in the content item-descriptor and is usually the name of the property that holds the content itself.

    E.g. "media" as you mentioned. Here the metadata might include properties like name, description, type, date of creation, keywords etc. while the content would include the binary-data of the media itself (in case of internal media type). So the declaration content-property="data" in the media item descriptor signifies that property called "data" in the media item will be holding the actual content. You can find more details about it and content repositories in the ATG Repository documentation.

    Edited by: Nitin Khare on Aug 16, 2012 6:59 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points