天天看点

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

继续阅读