You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: messages/data.create.file.md
+18-11Lines changed: 18 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,33 +1,40 @@
1
1
# summary
2
2
3
-
Upload a local file to an org
3
+
Upload a local file to an org.
4
4
5
5
# description
6
6
7
-
Optionally, attach the file to an existing record and give it a new name.
7
+
This command always creates a new file in the org; you can't update an existing file. After a successful upload, the command displays the ID of the new ContentDocument record which represents the uploaded file.
8
+
9
+
By default, the uploaded file isn't attached to a record; in the Salesforce UI the file shows up in the Files tab. You can optionally attach the file to an existing record, such as an account, as long as you know its record ID.
10
+
11
+
You can also give the file a new name after it's been uploaded; by default its name in the org is the same as the local file name.
0 commit comments