天天看點

Salesforce:檔案上傳

每一個Record,是有一個唯一的18位或者15位長度的ID,

這個ID會和一個存放關聯檔案的系統Object關聯。

如果要上傳檔案,按照以下步驟操作。

  1. From Setup, at the top of the page, select Object Manager and select the object you want to add the Files related list to (such as Opportunity).
  2. Click Page Layouts.
  3. Click the page layout you want to customize.
  4. In the list of available items in the left pane, click Related Lists.
  5. Drag Files to the Related Lists section and click Save.

參照:

https://developer.salesforce.com/docs/component-library/bundle/lightning:fileUpload/specification

ContentVersion 對象

ContentDocument 對象

也許還有其他。

自己做過一個檢視目前Record

https://qiita.com/rasclass/items/0b8e763c3e84241d42c0

繼續閱讀