Foren
Adding page programatically
nidheesh ks, geändert vor 12 Jahren.
Adding page programatically
New Member Beiträge: 23 Beitrittsdatum: 26.07.11 Neueste Beiträge
Hi ,
I created a new page using the below code
I need to add content to this page .
I was able to create JournalArticle also.
How can I add this Journal Article without embedding web content display portlet in to page.
Regards,
Nidheesh
I created a new page using the below code
Layout layout = LayoutLocalServiceUtil.addLayout(
themeDisplay.getUserId(), // userId
groupId, // groupId
false, // privateLayout
5, // parentLayoutId
pageName, // name
pageName, // title
"new desc", // description
"portlet", // type
false, // hidden
"/" + friendlyUrl, // friendlyURL
serviceContext);
I need to add content to this page .
I was able to create JournalArticle also.
How can I add this Journal Article without embedding web content display portlet in to page.
Regards,
Nidheesh