function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TomeuTomeu 

How can I use pages from CMSforce in my site?

I have created a page Template, and then a page using CMSforce. I have read in the usage guide how to set that page as my Home page in my site. My problem is that I need to use that page, but not as a Home page. How could I use it as a visualforce page for my site and set it in any place of my site?
Best Answer chosen by Admin (Salesforce Developers) 
David VPDavid VP

You don't have to set it as your homepage.

 

You can link to it from any visualforce/html/other cmsforce page as follows :

 

http://yourdomain.force.com/yoursite/page?pageid=a0A30000005BZPxABC

 

Where the pageid parameter just points to the Id of your page.

 

 

Hope this helps,

 

David

All Answers

David VPDavid VP

You don't have to set it as your homepage.

 

You can link to it from any visualforce/html/other cmsforce page as follows :

 

http://yourdomain.force.com/yoursite/page?pageid=a0A30000005BZPxABC

 

Where the pageid parameter just points to the Id of your page.

 

 

Hope this helps,

 

David

This was selected as the best answer
TomeuTomeu

Hello, thanks for your help.

 

I did as you said. I created a link to the page, and when I click on it when I am previewing my site, I can see the page rendered, but without the pageitems I added to the contentblocks.

TomeuTomeu

I solved this last issue by giving basic access to pageitems in "Public access settings".

 

Thank you!