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?

1 Answer 1

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
  • 2
    RecordVisibilityContext also seems related to the new RecordVisibility object, available from v46 onwards Jan 1, 2020 at 13:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .