Home
TeamSite
TeamSite, LiveSite and OpenDeploy
read all DCRs
Andy Knipp
OK, building a component to provide a list of pages (and DCRs) - index page of press releases.
2 issues.
The first should be pretty easy. How do I reference the path (templatedata/category/type/data/) in Java ? If I hard code it (iwmnt...), then it breaks when released to prod ?
The second is going to be uglier. How do I figure the URL of the .page if I only have the DCR? I do not think I can. So do I read the press release .page files ? How can I get the DCR so I can get the title, date etc ?
I am missing something obvious here, this cannot be that complex. Dropping it into a DB seems like the only other option, but we are trying to avoid that
Tips/Pointers/RTFMs greatly appreciated.
Find more posts tagged with
Comments
There are no comments yet