Apex Designer Documentation
What's New
Getting Started
Projects
Business Objects
Processes
User Interfaces
App Behaviors
Files
Dependencies
Project Settings
Libraries
Patterns and Best Practices
App Showcase
Frequently Asked Questions

Exclude Large Properties

Automatically exclude large properties to improve performance.

Blank Profile Image
Written by David Knapp
Updated 2 months ago
Less than a minute read

If the caller does not specify the fields to include in the request (or explicitly exclude fields), then all the properties of a business object are returned. When you have a business object with large properties like base64Content, you may want to exclude these by default. This is easily accomplished using a Before Access event handler:

if (!query.fields) {
	query.fields = { base64Content: false };
}

If the caller does not specify "fields" in the query, the event handler automatically adds the exclusion.

Powered by Apex Designer
Terms of ServicePrivacy Policy
© 2017-2024 Apex Process Consultants