換個角度看Salesforce之基礎配置學習筆記(一)

1. Salesforce.com與force.com的關係:web

    Salesforce.com is build on the force.com platform seamlessly.That is why force.com features are all available in salesforce.com.網絡

    Salesforce1:用於移動端的開發;app

    Salesforce Einstein  Salesforce人工智能平臺;less

    Force.com開發者專用的官方平臺;運維

2. 多租戶:ide

   一個軟件或服務同時提供給多我的或企業,他們使用同一套軟件或服務的實例。網站

   優勢:大大下降運維成本;   缺點:一旦宕機,影響巨大;ui

3. Security Token:人工智能

     What is Salesforce Security Token and How Do I Find It?url

4. Sandbox:

    For development and testing:Sandbox Type Instruction.

5. 如何在頁面<Meta>元素中引用Static Resource中的圖片(未打包)的兩種方式:

   A: <meta property="og:image" content="https://{!$Site.Domain}{!$Resource.ex_og0}"/>
   B: <meta property="og:image" content="{!LEFT($CurrentPage.URL,FIND('/',$CurrentPage.URL,9))}{!URLFOR($Resource.ex_og0)}"/>

6. 如何查看VisualPage頁面生成的準確代碼(不要經過Preview方式):

   打開頁面所在的Site,在彈出的URL中加上要預覽的頁面的Page Name,便可看到頁面生成的正確代碼,而Preview方式雖然操做方便,但生成的頁面經過F12進行查看時生成的內容每每不許確;

7. 開放內容協議(Open Graph Protoco)

   如當前的頁面爲login,則主要內容包括如下部分,當咱們在支持該開放內容協議的社交網絡服務網站SNS如facebook,what’s app等上打開該連接:http://www.mywebsite.com/login,則會顯示相應的圖片和內容,很是適合網站的推廣;

<apex:page docType="HTML-5.0" showHeader="false" sidebar="false" standardStylesheets="false" applyHtmlTag="false" cache="900" >
  <head>
    <meta property="og:title" content="{!$Setup.CustomSettingLabelName.CustomSettingLabelAPIName}"/>
    <meta property="og:type" content="{!$Setup.CustomSettingLabelName.CustomSettingLabelAPIName}"/>
    <meta property="og:url" content="The detailed url for current page!For example http://www.mywebsite.com/login"/>
    <meta property="og:image" content="https://{!$Site.Domain}{!$Resource.ImageName}"/>
    <meta property="og:image:width" content="1000"/>
    <meta property="og:image:height" content="600"/>
    <meta property="og:description" content="{!$Setup.CustomSettingLabelName.CustomSettingLabelAPIName}"/>
    <meta property="og:site_name" content="{!$Setup.CustomSettingLabelName.CustomSettingLabelAPIName}"/>
  </head>
  <h1>Page Content!</h1>
</apex:page>
View Code

 8.  如何打開salesforce中的Webservice:

     

9. 修改Salesforce的語言:

10. Custom Label啓動多語言翻譯:

第一步:Enable the Translation Workbench

 

第二步:Create Supported Language

11. 在Salesforce中,在某個Profile中啓用對某個表的字段進行查看及編輯的權限:

第一步:打開須要編輯的Profile,如System Administrator

第二步:找到Field_Level Security,並打開須要編輯的自定義對象或標準對象(此處以HelloWorld對象爲例,點擊後面的[View])

 

第三步:在第二步打開的頁面中,點擊Edit按鈕,完成對Field的設置後點擊保存便可!

 

12. Master-Details與Lookup的區別:

     主刪從不刪(Lookup),主刪從也刪(Master-Details);

13. 關於RecordType的描述:

      RecordType在建立時須要與Profile及Page Layout進行關聯(A page layout is the visual representation of a record type);

14. 如何恢復誤刪的數據:

 

相關文章
相關標籤/搜索