Chatter Publisher Actions provide a new way of interacting with Salesforce applications, allowing users to take control of records and processes from within the Chatter feed. As a key component of Salesforce1, Publisher Actions are also inherently mobile. Join us as we demonstrate specific use cases, and code examples to help developers take advantage of this new feature of the Force.com platform.
1. Chatter Publisher Actions and
Salesforce1
a practical introduction to Chatter Publisher Actions
Stephen Willcock, FinancialForce.com, Director of Product Innovation
@stephenwillcock
Carolina Ruiz Medina, FinancialForce.com, Principal Developer in Product Innovation
@CarolEnLaNube
2. All about FinancialForce.com
Revolutionizing the Back Office
#1 Accounting, Billing and PSA Apps on the Salesforce platform
Native apps
San Francisco HQ, 595 Market St
R&D in San Francisco, Harrogate UK, and Granada ES
We are hiring! Meet us at Rehab!
3. Salesforce One and Chatter Publisher Actions
Mobile
Mobile
Notifications
Flexipages
Mobile Cards
Force.com
Chatter
Publisher
Actions
Force.com
Social
Social
4. Take a micro-moment…
Salesforce Chatter Mobile Makes Every Moment Count
New Chatter Mobile is the world’s first social and mobile
application that will allow employees to take any business action
instantly, from anywhere... With the new customizable
publisher, companies will be able to create actions that
empower employees to perform custom business activities...
Now, employees will get valuable work done in every micromoment—all from the Chatter feed.
Salesforce press release - July 2013
5. What are Chatter Publisher Actions?
Never mind about Publisher Actions…
what is the Chatter Publisher?
9. When to use custom actions
• Retrieve data from / update related records
• Multiple update / create
• Logic
• Respond to user interaction
• Calculation / process
• Call APIs
10. Custom Action use cases
Create case on Account
• Query other related records
• Apply logic to available values and guide the user
Time recording against Tasks
• Query related records and make a calculation based on them
• Insert or update related records depending on outcome
11. Implementation options
• Classic Visualforce
• Visualforce form submit
• AJAX Visualforce
• much Visualforce is valid, although some is not useful!
• Javascript Remoting + HTML/CSS/JavaScript
• Hybrid: Visualforce + HTML/CSS
12. Design considerations
• Recommended limit to 9 actions (including standard) per layout
• Custom action Visualforce page rendered in IFRAME
• Height must be specified and is fixed
• Take care when reaching outside of IFRAME
• Design for mobile and browser
• Compromise
• Adapt
• Micro-moments
13. Design considerations: action lifecycle
Desktop / Web UI
Model
Cyclic
Mobile / Salesforce1
Modal
Redirect
APIs
Publisher Refresh (feed)
Submit action
21. Salesforce1 and FinancialForce Accounting
• Use Case
• Collaborative Collections / 360º BackOffice
•
Invoice Conversation
•
Credit Limit Conversation
•
Raise Account
•
Etc.
• Implementation
Lets use what Salesforce1 has for us!
24. Salesforce1 and FinancialForce Accounting
• Implementation
• FlexiPage
•
List Views
•
Recent Records
•
Global Chatter Actions
25. Salesforce1 and FinancialForce Accounting
• Implementation
• Mobile Card
What is it?
It is like an inline Visualforce
page for mobile devices only.
28. Stephen Willcock
Carolina Ruiz
Director of Product
Innovation at
FinancialForce.com
@stephenwillcock
Principal Developer, Product
Innovation at
FinancialForce.com
@CarolEnLaNube
Editor's Notes
Strategic
Mobile
Social
>>> Do demo of a creating a Chatter Publisher Action
Create an "add task" Create action on Case.
Carolina to demonstrate the action on iPad with Chatter Mobile - Carolina must create a task! (We will use the task in the time-recording demo)
“Force.com Canvas in the Publisher and Chatter Feed”
Moscone Center West, 2011 | Tuesday, November 19th: 5:15 PM - 6:00 PM
>>> demo of these use cases
Case on account: demo the error handling
Visualforce that isn’t useful:
Lookup OutputField
PageBlockButtons
PageMessages
Multi-column PageBlockSection
Cyclic - Create action is cyclic in web UI - be consistent with this
When to commit to the database. Design for both contexts.
Plain VF - with VF AJAX (actionSupport)
Used in the custom create case example
Used in the custom create case example
We wanted to provide a tool to the client to follow up the “Important” accounts in a conscious and communicative way. Track the invoices , the credit limit in the account or the status on the account was our priority, trying to make it as simpler and usable possible to the client. Then Salesforce 1 and Chatter publisher actions give us that User experience that we were searching for. In this use case we will be able to have a clear picture of the status or our accounts and take actions on them. Which Actions? – name the points –and see How to implement this use Case??
What it is?
Salesforce One introduces a new component called a FlexiPage. When a user selects a partner’s app from the navigation menu they are always taken to the FlexiPage for the partner’s app.
Where can you find it?
How we build it?
new component called a FlexiPage.
Components that display list views
A list of recently accessed records
Global Chatter Actions
new component called a FlexiPage.
Components that display list views
A list of recently accessed records
Global Chatter Actions
What it is ?
A mobile card is like an inline Visualforce page for mobile devices.
Then don’t forget to enable it for mobile : Available for Salesforce Mobile apps
Where can we find it?
Visualforce : normal visualforce page, visualforce controller + JSRemoting
>>> demo of Invoice Conversation custom action in the context of Salesforce One
Demo Steps -- chatter publisher action +SF1
1.- Go to Flexipage : explain what does it have
2.- Move into the account with overdue Invoices
3.- Once in account show the 3 different views , Including mobile card
4- Come back to chatter post view within the account
5.- Click actions button
6.- Open InvoiceConversation Action
** I will need to have ready the account with Overdue Invoices
7.- Explain the ui on the go!
Invoices: Choose invoices
Response : choose response : Goods not received
Confirm Screen : summary
** Explain submit button : •Submit hook***
8.- Output :
Chatter post, task, attachment :)