Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with SF ContentDocument restrictions #13

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

piotrekkr
Copy link
Owner

Workaround which fixes issues with SF malformed queries which worked previously. Errors that were occurring:

Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.

Implementation restriction: filtering on non-id fields is only permitted when filtering by ContentDocumentLink.LinkedEntityId using the equals operator.

Workaround which fixes issues with SF malformed queries which worked previously. Errors that were occurring:

> Implementation restriction: ContentDocumentLink requires a filter by a single Id on ContentDocumentId or LinkedEntityId using the equals operator or multiple Id's using the IN operator.

> Implementation restriction: filtering on non-id fields is only permitted when filtering by ContentDocumentLink.LinkedEntityId using the equals operator.
@piotrekkr piotrekkr merged commit aeb6185 into main Sep 11, 2024
1 check passed
@piotrekkr piotrekkr deleted the fix-sf-restrictions-problem branch September 11, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant