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
MG ConsultingMG Consulting 

Is it possible to display a drop down of all Sites in an org on a Sys Admin Visualforce page?

Hi,

 

I'm creating a Visualforce page for Sys Admins on which I would like be able to display a drop down of all Sites in the org if possible. From what I can tell, the Sites info is stored in the metadata but, unfortunately, it doesn't seem like there is a way to access this particular metadata from Apex.

 

Any ideas?

 

Thanks a lot,

Mike 

Best Answer chosen by Admin (Salesforce Developers) 
wesnoltewesnolte

Hey

 

This is a feature being piloted at current. Check out this post: http://community.salesforce.com/sforce/board/message?board.id=sites&thread.id=966

 

Cheers,

Wes 

All Answers

wesnoltewesnolte

Hey

 

This is a feature being piloted at current. Check out this post: http://community.salesforce.com/sforce/board/message?board.id=sites&thread.id=966

 

Cheers,

Wes 

This was selected as the best answer
MG ConsultingMG Consulting
Thanks Wes!, Perhaps next time I will search the message boards a little more thoroughly before posting :)