Chat

From Resco's Wiki
Jump to: navigation, search

Chatter for Salesforce

Chatter is a Salesforce real-time collaboration application that lets your users work together, talk to each other, and share information. In Resco mobile apps, you can display chatter feeds directly on object forms, where app users can share information about a particular record.

This function requires release 13.3.

Enable chatter in Salesforce

  1. On the Salesforce server, go to Setup.
  2. Go to Chatter Settings and enable the following parameters:
    • Enable: Required for chatter in general.
    • Rich Text Posts: Required for chatter in Resco mobile apps.
    • (Optional) Emoticons in Feed: If you want to enable emoticons.
  3. Go to Feature Settings > Chatter > Feed Tracking and enable feed tracking for all objects for which you want to have chatter.

Add chatter to Resco forms

  1. Log in to Resco for Salesforce.
  2. Start Woodford and update your metadata.
  3. Edit a form of the object where you want to add chatter.
  4. Click Add Chatter to add a chatter tab to your form.
  5. Optionally, select the chatter tab and configure it on the Properties pane.
    • Select or upload a custom icon for your chatter tab.
    • Set Width to Large to make the tab bigger.
    • Set Online Refresh to configure the behavior when the app is in offline mode.
      • Always: As long as your device is connected to the internet, the app automatically displays chatter feed from the server. Similarly, chatter posts, comments, and likes that you make (even in offline mode) are immediately saved to the server.
      • On Click: Users can tap the refresh button to download fresh chatter feed, and optionally also to upload existing offline posts and comments. The chatter tab effectively switches to the online mode until you close the tab.
      • Never: Chatter is only updated during synchronization.
  6. Save changes and publish the app project.

Behind the scenes, adding a chatter tab to your form performs some configuration changes for your project:

  • When you add your first chatter tab, the objects Feed Item, Feed Comment, Feed Attachment, and Feed Like are added to your app project. Do not disable these entities.
  • For the object with chatter tabs, the entity configuration setting Synchronize entity feed is automatically enabled.

See all images in offline mode

If you use chatter in offline mode and you want to make sure that you see all the images, not only those that you posted, you have to enable the option Synchronize all linked Salesforce Files for the object Feed Item. This may result in higher API call consumption.

Chatter in the app

When you open a record on a form with salesforce chatter attached, you will notice a new form tab. You can use rich text formatting in the posts, and include emoticons or attach images.

Salesforce chatter.png

Restrictions

  • Resco mobile apps support chatter for entity (Entity Feeds), such as accounts, opportunities, work orders, etc. General channels or feeds are not supported.
  • Due to API limitation, the app only syncs 1.000 posts per entity in the offline database. Older posts won't be available offline.

Chat for Dynamics and Resco CRM

When used with Dynamics or Resco CRM server backend, Resco Mobile CRM can include a chat.

Using chat in Resco Mobile CRM

Tap Chat from the Home menu to access the chat function. You can chat in public or private channels, or directly send private messages to a particular user.

Note If you don't see chat in your app, contact your administrator.

Channels

Channels are ideal for sending messages to a group of users. Channels can be public or private: public are available to all, private are invite-only. You can join or leave channels (except the default, General channel). You can create new channels: tap on Channels, then tap on the plus symbol.

Direct messages

Tap on a name to start chatting with that person. Tap on Direct Messages to display the list of users; use this option to initiate a chat with a person that you have not chatted with yet.

Message functions

To send a message, either to a channel or to a particular user, type a message and then tap on Send. You can add smileys and also attachments. Attachments can come from multiple sources: You can capture a new picture, you can select from existing pictures, you can select a file, or you can send a link to any record in Resco CRM.

Resco CRM Server: Enabling chat for your organization

To enable chat for an organization:

  1. Log in to your organization at Resco CRM.
  2. Select Tools & Settings > Admin Console from the menu.
  3. Select Settings > Organization from the Admin Console menu.
  4. Find Chatter and click Enable.

Enabling chat for your app project

Enable chat in Woodford.

  1. Edit an app project.
  2. Select Social from the Project menu.
  3. Check Enable chat and click Save.

To access chat for all records that you follow, place chat to your home screen.

  1. Select Home from the Project menu.
  2. Select Chat from the Available Items pane and add click Add.
  3. Click Save.

If you want to be able to use chat to comment on records, you need to place the Chat Wall on the entity form.

  1. Select the entity from the Project menu and click Show UI.
  2. Double-click the form to open it for editing.
  3. Click Add Chat, then click Save & Close.

Don't forget to enable the N:N Relationships plugin for the following entities:

  • Chat Post <-> Chat User
  • Chat Topic <-> Chat User

See also

Webinar: Summer Release 2016, Winter Release 2016