Newer Version Available

This content describes an older version of this product. View Latest

StreamingChannel

Represents a channel that is the basis for notifying listeners of generic Streaming API events. This is available from API version 29.0 or later.

Supported Calls

REST: DELETE, GET, PATCH, POST (query requests are specified in the URI)

SOAP: create(), delete(), describe(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update()

Special Access Rules

  • This object is only available if Streaming API is enabled for your organization.
  • Only users with “Create” permission can create this record. Users with “View All Data” can view StreamingChannel records and see streaming messages.
  • You can apply user sharing to StreamingChannel. You can restrict access to receiving or sending events on a channel by sharing channels with specific users or groups. Channels shared with public read only or read-write access will only send events to clients subscribed to the channel that also are using a user session associated with the set of shared users or groups. Only users with read-write access to a shared channel can generate events on the channel, or modify the actual StreamingChannel record.

Fields

Field Field Type Description
Description string Description of the StreamingChannel. Limit: 255 characters.

Field Properties: Create, Filter, Group, Nillable, Sort, Update

Label: Description

ID ID System field: Globally unique string that identifies a StreamingChannel record.

Field Properties: Default on create, Filter, Group, idLookup, Sort

IsDeleted boolean System field: Indicates whether the record has been moved to the Recycle Bin (true) or not (false).

Field Properties: Default on create, Filter, Group, Sort

IsDynamic boolean true if the channel gets dynamically created on subscribe if necessary, false otherwise. To enable dynamic streaming channels in your organization, from Setup, go to Customize | User Interface and enable Enable Dynamic Streaming Channel Creation.

Field Properties: Default on create, Filter, Group, Sort

LastReferencedDate date The timestamp for when the current user last viewed a record related to this record.

Field Properties: Filter, Sort

LastViewedDate date The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.

Field Properties: Filter, Sort

Name string Required. Descriptive name of the StreamingChannel. Limit: 80 characters, alphanumeric and “_”, “/” characters only. Must start with “/u/”. This value identifies the channel.

Field Properties: Create, Filter, Group, idLookup, Sort, Update

Label: Streaming Channel Name

OwnerId reference The ID of the owner of the StreamingChannel.

Field Properties: Create, Default on create, Filter, Group, Sort, Update

Label: Owner Name