| CanAccessCamera |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether this CspTrustedSite can access the user’s camera. The
default value is false.
- This field takes effect only when the
enablePermissionsPolicy field equals true and the
grantCameraAccess field equals TrustedUrls in the SecuritySettings metadata
API type.
- This field is available in API version 59.0 and later.
|
| CanAccessMicrophone |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether this CspTrustedSite can access the user’s microphone. The
default value is false.
- This field takes effect only when the
enablePermissionsPolicy field equals true and the
grantMicrophoneAccess field is TrustedUrls in the SecuritySettings
metadata API type.
- This field is available in API version 59.0 and later.
|
| Context |
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Declares the scope of the CSP directives for this trusted URL.
- Possible values are:
-
All—Apply the CSP directives
to all supported context types.
-
Communities—Apply the CSP
directives to Experience Builder sites only.
-
FieldServiceMobileExtension—Apply the CSP directives to
the Field Service Mobile Extensions only.
-
LEX—Apply the CSP directives
to Lightning Experience only.
-
LightningOut—Reserved for future
use. Available in API version 64.0 and later
-
VisualForce—Apply the CSP
directives to custom Visualforce pages only. This value is available in
API version 55.0 and later.
- For custom Visualforce pages, content is restricted to trusted URLs only if
the page’s cspHeader attribute is set to
true.
- This field is available in API version 44.0 and later.
|
| Description |
- Type
- textarea
- Properties
- Create, Filter, Group, Nillable, Sort, Update
- Description
- The description of the trusted URL. Limit: 255 characters.
|
| DeveloperName |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- The developer name of the trusted URL.
- Only users with View DeveloperName OR View Setup and Configuration
permission can view, group, sort, and filter this field.
|
| EndpointUrl |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- The URL for this CspTrustedSite.
- This field must include a domain name and can include a port. For example,
https://example.com or https://example.com:8080.
- To reduce repetition, you can use the wildcard character * (asterisk). For example, *.example.com. For a third-party API, the URL
must begin with https://. For example, https://example.com. For a WebSocket connection, the URL must
begin with wss://. For example, wss://example.com.
- Otherwise, the URL cannot be malformed. Examples of malformed URLs that fail
a syntax check are malformed^url.example.com, and https://{subdomain}.example.com.
- To add a URL based on parameters, build the URL before you update the
EndpointUrl field.
|
| IsActive |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether this CspTrustedSite is active.
|
| IsApplicableToConnectSrc |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether Lightning components, third-party APIs, and WebSocket
connections can load URLs using script interfaces from this trusted URL.
|
| IsApplicableToFontSrc |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether Lightning components, third-party APIs, and WebSocket
connections can load fonts from this trusted URL.
|
| IsApplicableToFrameSrc |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether Lightning components, third-party APIs, and WebSocket
connections can load resources contained in <iframe> elements from this trusted URL.
|
| IsApplicableToImgSrc |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether Lightning components, third-party APIs, and WebSocket
connections can load images from this trusted URL.
|
| IsApplicableToMediaSrc |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether Lightning components, third-party APIs, and WebSocket
connections can load audio and video from this trusted URL.
|
| IsApplicableToStyleSrc |
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group, Sort, Update
- Description
- Indicates whether Lightning components can load style sheets from this
trusted URL.
|
| Language |
- Type
- picklist
- Properties
- Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist,
Sort, Update
- Description
- The language for the trusted URL.
|
| MasterLabel |
- Type
- string
- Properties
- Create, Filter, Group, Sort, Update
- Description
- Master label for this trusted URL.
|
| NamespacePrefix |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- Namespace prefix for this trusted URL.
|