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
RajiiiRajiii 

Create Multiple Pages using Sites

Hi,

  How to create more than one pages by using Sites method. Actually i created one site in salesforce.com like my domain name is multlanguagesfg-developer-edition.ap1.force.com,  but i need to create multiple pages in this same site domain..what i do. ..please help me

 

 

 

Thanks,

 Rajiii

Best Answer chosen by Admin (Salesforce Developers) 
Alok_NagarroAlok_Nagarro

Hi,

 

You can add more pages to your site.

Goto setup--> App Setup--> Develope--> sites--> click on site

Now on the detail page of site you would have Section named "site visualforce pages" and button "Edit" alog with.

from here you can add pages.

All Answers

Alok_NagarroAlok_Nagarro

Hi,

 

You can add more pages to your site.

Goto setup--> App Setup--> Develope--> sites--> click on site

Now on the detail page of site you would have Section named "site visualforce pages" and button "Edit" alog with.

from here you can add pages.

This was selected as the best answer
Ankit AroraAnkit Arora

Yes, you can add more pages by adding the page to your guest profile and access it by appending /apex/yournewpage in site URL. You can add page in your guest profile by :

 

Setup > App Setup > Develop > Sites > Click on "Site Label" > Edit "Site Visualforce Pages" > Add your page to it and save it.

 

Now hit : 

 

multlanguagesfg-developer-edition.ap1.force.com/apex/YourNewPage

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

RajiiiRajiii

Yes, its works fine, i need another one

i created custome Site page like given below

 <apex:page controller="MultiLanguageSupport" tabStyle="Account" language="{!$CurrentPage.Parameters.lang}">

 

i need to get in my controller MultiLanguageSupport  this language parameter variable "lang" and assign the value 'fr' through cookies. 

Farhat MirzaFarhat Mirza

Hi,

 

Is there a way by which  can I know which are the pages included in site.

 

Iam able to query site object  as show below

SELECT  Name, Status, Subdomain, SystemModstamp, AdminId FROM Site

 

I need to know through apex code which pages are included in a given site based on subdomain.

 

I need to put some validation whether given page from package is added to the site or not.

 

Any feed on this would save my taking other route.