Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ContentVersionテストデータ作成
ContentVersion contentVersion = new ContentVersion(
Title = 'TEST'
,Description = 'TEST'
,PathOnClient = 'myString'
,VersionData = Blob.valueof('myString')
,FirstPublishLocationId = parentId
);
insert contentVersion;
// ParentId取得
public ContentWorkspace getContentWorkspace() {
SELECT
Id
FROM
ContentWorkspace
WHERE
Name = 'workSpaceName'
LIMIT 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.