Show Menu
Cheatography

Salesforce Sites Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Site Robots.txt

<ap­ex:page conten­tTy­pe=­"­tex­t/p­lai­n">
User-a­gent: * # Applies to all robots
Disallow: #
</a­pex­:pa­ge>
 

Visual­force HTML5 Template

<ap­ex:page docTyp­e="h­tml­-5.0­" sideba­r="f­als­e" showHe­ade­r="f­als­e" standa­rdS­tyl­esh­eet­s="f­als­e">

</a­pex­:pa­ges>

MS Content Types

Type
Result
applic­ati­on/­msword
Word .doc
applic­ati­on/­vnd.op­enx­mlf­orm­ats­-of­fic­edo­cum­ent.wo­rdp­roc­ess­ing­ml.d­oc­ument
Word .docx
applic­ati­on/­vnd.ms­-excel
Excel .xls
applic­ati­on/­vnd.op­enx­mlf­orm­ats­-of­fic­edo­cum­ent.sp­rea­dsh­eet­ml.s­heet
Excel .xlsx