Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • KoosMos 19 posts 41 karma points
    May 25, 2012 @ 11:20
    KoosMos
    0

    Can't acces new property with Node

    Hello,

    I added a new property to a document and when I want to get the property with Node.GetCurrent().GetProperty("alias"), the property doesn't exist.

    When I republish the document, I get the property value, then I republish the entire web site, but it still doesn't work, just the document I republished previously works.

    How can I refresh the cache to access to my new property ??

    Thank you.

  • Pavel Budik 12 posts 71 karma points c-trib
    May 25, 2012 @ 12:00
    Pavel Budik
    0

    Hi KoosMos,

    republish entire site doesn't actually publish nodes (make new values public), it just refreshes the disk cache. Therefore to access the value of your new property, you have to publish the content manually (or publish all child nodes).

    Pavel

  • KoosMos 19 posts 41 karma points
    May 25, 2012 @ 12:07
    KoosMos
    0

    Thank you, it solved my problem.

Please Sign in or register to post replies

Write your reply to:

Draft