Hi everyone,

I have a target dynament which tests the value of the content
attribute "publishedDate" against a request parameter:

<rde-dm:target group="HTM" include-mode="content-info">
    <rde-dm:constraint>
        content.publishedDate ge
"[#request:dateOfLastQuery#1970-01-01#]"
    </rde-dm:constraint>
</rde-dm:target>

"publishedDate" is imported from the CMS using the import dynament on
a placeholder of type "Info:Page:Date/Time of Publication".

All is fine and dandy (i.e. it does seem to work), but I would rather
test on the published date which is native to LiveServer rather than
the one imported from the CMS, for consistency and to reduce the
complexity of the templates in the CMS.

What I have tried to do is to replace the third line of code from
above with:

content.rde-fields.lastEditTime ge [#request:dateOfLastQuery#0#]

According to the LiveServer documentation
(rdls_40_dynaments_en_US_letter.pdf, page 400 [Preset Attributes for
source='content']), content.rde-fields.lastEditTime is supposed to
return the last modified time of the page as recorded in the page's
metadata, but this does not work, and when run, the target dynament
returns 0 hits.

I should point out that I am running LiveServer Build 3.5.1.2 SP1.

* Is it possible that this functionality was not available in LS v3?
* Is it possible that the a constraint within a target dynament cannot
access page metadata?

Any insights would be greatly appreciated.

Thanks,
mbyisrael2

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to reddot-cms-us...@googlegroups.com.
To unsubscribe from this group, send email to 
reddot-cms-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to