Questions tagged [contentworkspace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
2answers
7k views

Developer Console : Failed to create createContainerMember for containerId

Unfortunately, I get the following error while try to save changes to a class, Failed to create createContainerMember for containerId=1dc19000000BE6AAAW: This container member belongs to a ...
3
votes
1answer
874 views

ContentWorkspace Permission And Migrating

I am working on an instance that has a large set of ContentVersion data uploaded by Customer Portal Users and saved across many ContentWorkspace(s) or Libraries. We have encountered some issues ...
2
votes
2answers
121 views

Maximum number of files in Library?

Does anyone know what the maximum number of files is in a Content Library? We are looking to add 300K and I can't find anything about limitations. Additionally, if there isn't a limit, are there any ...
2
votes
1answer
9k views

Workspace Api not returning focused tab details

I am trying close a custom tab in Lightning Console App from my lightning component. And i am getting below error: "Error: Could not locate focused tab" Component: <lightning:workspaceAPI aura:...
2
votes
0answers
172 views

Delete a ContentDocumentLink of Library file

I have inserted a file in Library. I want to delete the ContentDocumentLink by which it is shared with the Library. I have created new ContentDocumentLink where I have shared file with a user. But ...
1
vote
1answer
497 views

Count documents in Workspace / Library

ContentWorkspaceDoc SELECT COUNT(ContentWorkspaceId) FROM ContentWorkspaceDoc group by ContentWorkspaceId Error: "Grouped field should be aggregated: ContentWorkspaceId" Is there any efficient ...
1
vote
1answer
54 views

"Add Folder" not showing in Salesforce CMS Workspaces

Why can I not see the "Add Folder" or "Move Content" options in my CMS Workspace - I only see "Add Content" - I have full admin permissions in the org and as contributor ...
1
vote
0answers
57 views

Restricting Salesforce Files to always be in a ContentWorkspace

Ive tried to figure out how to always require uploaded files to belong to a Library(ContentWorkspace) in Salesforce Files, since the UI/Navigation is not good at all. After some backtracking SOQL ...
1
vote
0answers
195 views

API access to Library members?

I found an existing question which hasn't been answered in a while. We need to programmatically add members to content libraries - we have nearly 2000 of them. However, there doesn't seem to be any ...
0
votes
1answer
240 views

How to delete a ContentDocumentLink

I wan't to create a ContentDocumentLink and delete him in an other function, i tried this code: // function of creation: ContentDocumentLink cdl = new ContentDocumentLink( ContentDocumentId = doc....