We are have a custom module creating custom PDF documents from pages.
We would like to get the meta-title from a page, based on the pageid, and use this for the PDF filename.
We have tested this code:
int PageID = Base.ChkInteger(Base.Request("PageID")); PageView pageView = PageView.GetPageviewByPageID(PageID); string pagename = pageView.Meta.Title + "_" + PageID;
The PageID is just fine and returns the correct integer, but the pageView.Meta.Title returns "Dynamicweb 7", no matter what the PageID is and even though we have a different Titel set on the page i DW admin !?!?
Best regards
Casper Stendal