Sure, these are added when creating our own templates. I am customizing
the page creation process to copy those values into the appropriate page
properties so the SiteMapServlet will use them. I guess need to learn
more about the JCR API in order to access them. Since I need to
customize the SiteMapServlet, how do I ensure that AEM uses my version?
The template props are there, "sitemapPriority" (0.5) and
"sitemapUpdateFrequency" (Weekly). The SiteMapServlet looks for
"changefreq" and "priority" in the page properties. The page properties
(based on the RUNMODE) for "priority.properties" and
"changefreq.properties" are empty, not 0.5 and Weekly. Note that I also
need to do a translation of the video URL for the SiteMap. Is this what
you are looking for?
All my templates have a couple properties that are not getting imported
into pages. These properties need to be read to populate the SiteMap,
they are Priority and Update Frequency.The current
com.adobe.acs.commons.wcm.impl.SiteMapServlet.java is looking for those
properties in the page, not the template, and since they're not there,
doesn't report them. So I have 2 problems:1) In the CreatePage, I need
to copy the values from the template into the page. Reasonably
straightforward, though I can'...
That's what I was afraid of. Is there a way to populate a field that is
visible (like comments) using the API? Since we have some of our own UI.
Our code appears to be doing something similar to the Publish Later,
where the date does end up in the comments, thus making it visible.
If I use the Publish Later functionality, a notification shows up in the
Notifications list which contains the text "Waiting for activation" as
well as "Activate version 1.0 on Sun Jun 18 15:55:00 PDT 2017". The
Details view has the date text in the Comments. This is fine.If I use
the UnPublish Later functionality in AEM WCM, a notification shows up
which contains the text "Waiting for deactivation" but there is no
display of the date entered. The Details view contains an empty Comment