You need to sign in to do that
Don't have an account?

"sf:INVALID_TYPE", faultstring: "INVALID_TYPE: sObject type 'ContentDocumentLink' is not supported."
Hello All,
I am querying 'ContentDocumentLink' in javascript visualforce and I am getting above error any way to fix this. Thanks
Here I am getting proper id value(MyId) as well.
I am querying 'ContentDocumentLink' in javascript visualforce and I am getting above error any way to fix this. Thanks
Here I am getting proper id value(MyId) as well.
var Content ="Select Id,ContentDocumentId From ContentDocumentLink where LinkedEntityId=" + "'MyId'" ; var ContentQuery = sforce.connection.query(Content); var records = ContentQuery.getArray('ContentQuery');
Hi DJ 367,
It is mostly due to settings issue. Go to Setup and search settings for Content Document Link and if not enabled, check the follwoing option
Enable Salesforce CRM Content
Setup --> Salesforce Files --> Salesforce CRM Content.
Hope this Helps!
Regards,
Santosh.
I tried enablig but getting the same issue.