3

We want to enable PushTopics for customer community users. I see here that it was not possible. I also see that the external user licenses (customer and partner community) do not have access to the PushTopic object. What is the best work around to allow customer community users to listen to updates?

2

You might take a look into Adding a Feed to Your Force.com Site. See also the Syndication Feeds section of this document:

Syndication feeds gives site visitors the ability to subscribe to changes within Force.com Sites and receive updates in external feed readers. First, enable the feed for your site by checking the "Enable Feeds" check box on site definition

Create a feed entry by simply defining a SOQL query to retrieve the data that you want to appear in the feed, and by creating a mapping definition to map the data to the feed output. Here's an example SOQL query to retrieve three fields from the database object "account":

select id, name, description from account

Here is an accompanying mapping definition:

ft: "My Feed", fa: "Jon Mountjoy", et: Name, ec: Description , el: "/" + Id, ect: "html"

This maps the data to an Atom syndication feed format, and is described on the help page. In particular, ft stands for "feed title", ``fafor "feed author",etfor "entry title",ecfor "entry description",el` for "entry link" and so on. As you can see, the system automatically iterates over the result to generate the feed.

You can create one or more syndication feeds for your organization's public sites or any Visualforce page.

Pros

  • Licensing is not an issue.

Cons

  • The feed is public and does not require any authentication.
  • A Syndication Feed would take some creativity to tailor to specific Account record(s).
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.