4. Streaming API Access

Textey utilizes Salesforce's Streaming API for several features, so it is important to ensure that your Users have the necessary access.  Since these are standard Salesforce objects we cannot include these permissions in the Textey package, so you will need to confirm the proper access after you have installed Textey.

Who Needs These Permissions

Every user that will have access to Textey.

What Permissions Are Required

1. Read and Edit access on the Streaming Channel object.

2. Read/Write access to the Streaming Channel record that Textey creates, which is named /u/TexteyRealtimeUpdate.

How Do I Check For These Permissions

Let's start with the Streaming Channel Object permissions

  1. Go to Setup > Users > Profiles.
  2. Select the Profile that you want to check.
  3. If you use the Enhanced Profile layout, select Object Settings.  Search for the Streaming Channels object.  Grant Read and Edit Access.
  4. Repeat 1-3 for every Profile that a Textey user may have.

**If you do not use the Enhanced Profile layout, go to the Profile and click Edit.  Then, scroll down to the object permissions section and find Streaming Channels. Ensure the checkboxes for Read and Edit are checked.

Alternative Solution

An alternative to modifying the Profiles directly would be to create your own custom Permission Set that simply grants Read and Edit access to the Streaming Channel object.  Then, you can assign that Permission Set to your users as needed.

Next, let's look at the permissions for the Textey-specific Streaming Channel record.

When you install Textey, a Streaming Channel with the name "/u/TexteyRealtimeUpdate" is created.  Your users will need Read/Write access to this record in order to push and receive updates on it.

  1. Go to Setup > Sharing Settings.
  2. Scroll to "Streaming Channel".

  3. If the org-wide access is Public Read/Write, you do not need to take any further action.
  4. If the org-wide access is Private or Public Read Only, then you will need to explicitly share the record with your users.  See below (you have to switch to Classic for this):


Check for Error Notifications

If your users see any errors or alerts that reference the Streaming Channel, then please revisit these steps to ensure they have the correct permissions.

Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.