1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Store extra information (metadata) in a page?

Store extra information (metadata) in a page?

3 posts, 1 answered
  1. Lucas
    Lucas avatar
    65 posts
    Registered:
    22 Mar 2010
    02 Jul 2010
    Link to this post
    Hi,

    I need to add some custom information (an associated LibraryId) to every page of my site. I can't find a SetMetaData function in the IStagedPage object, is there an easy way to accomplish this?

    The underlying idea is to associate files to a page, and to "hide" the concept of libraries to the end user.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    02 Jul 2010
    Link to this post
    Hi Lucas,

    Pages do not support dynamic metadata. You can create a custom properties as described here - Page Custom Properties.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Lucas
    Lucas avatar
    65 posts
    Registered:
    22 Mar 2010
    02 Jul 2010
    Link to this post
    Thanks a lot, Ivan. I'll see what I come up with :)

    Too bad the SetMetaData concept hasn't been extended to all objects (Libraries (not content), templates and pages for example).
Register for webinar
3 posts, 1 answered