---
schema_version: "1"
id: 25951811e06fd5914485e1bd4344402db1980694e6e3cbe568fa1529cf416c26
title: ConnectApi.RecommendedObject
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_recommended_object.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_recommended_object.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b94ca4fdc0de99308288be24f17bc917cd46c7efba96fe5da7053843ddfe3139
description: A recommended object, such as a custom or static recommendation.
---
# ConnectApi.RecommendedObject

A recommended object, such as a custom or static recommendation.

Subclass of [ConnectApi.Actor](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_actor.htm "Actor.")

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| idOrEnum | String | ID of a recommendation definition for a custom recommendation or the enum value Today for static recommendations that don’t have an ID (version 35.0 and later). | 34.0 |
| motif | [ConnectApi.Motif](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_motif.htm#apex_connectapi_output_motif "The motif properties contain URLs for small, medium, and large icons that indicate the Salesforce record type. Common record types are files, users, and groups, but all record types have a set of motif icons. Custom object records use their tab style icon. All icons are available to unauthenticated users so that, for example, you can display the motif icons in an email. The motif can also contain the record type’s base color.") | Motif of the recommended object. | 34.0 |