---
schema_version: "1"
id: a1cfe3c5fb9fc35956c264e43a47b211a6def4a0ab120fcf2c61d674d2b6199b
title: MngEventResourcePreference
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_mngeventresourcepreference.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_mngeventresourcepreference.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d116600c02aeee99839557effcc8123327f480bfa025b55f36436fd5bfd4864b
description: Represents the preference rank of a resource that's requested for a managed event. This object is available in API version 67.0 and later.
---
# MngEventResourcePreference

Represents the preference rank of a resource that's requested for a managed event. This object is available in API version 67.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view.
    
    If this value is null, and LastReferenceDate isn’t null, the user accessed this record or list view indirectly.

### MngEventResourceId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The ID of the managed event resource that's requested.
    
    This field is a relationship field.
- **Relationship Name**: MngEventResource
- **Relationship Type**: Master-detail
- **Refers To**: MngEventResource (the master object)

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the managed event resource preference.

### Rank

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the rank of the preference when there are multiple preferences for a managed event resource.

### RequestedResourceId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The ID of the resource that's requested.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: RequestedResource
- **Refers To**: Location, Product2

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

MngEventResourcePreferenceFeed

Feed tracking is available for the object.

MngEventResourcePreferenceHistory

History is available for tracked fields of the object.