3

In the new SOQL changes in the upcoming Spring '20 release, it mentions in the Changed Calls section:

Select items based on visibility. Use the new RecordVisibilityContext clause to filter WITH queries.

What does this mean and how would you use it in a sample SOQL statement?

2

If you select V48.0 on the SOQL reference page, you'll be able to find RecordVisibilityContext: https://developer.salesforce.com/docs/atlas.en-us.224.0.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_with.htm?search_text=RecordVisibilityContext

The parameters mentioned are maxDescriptorPerRecord, supportsDomains and supportsDelegates. They seem to be related to "Visibility Services", but that is not described anywhere.

1
  • 1
    RecordVisibilityContext also seems related to the new RecordVisibility object, available from v46 onwards – Brian Miller Jan 1 '20 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.