Challenge Overview
Project Overview
Our partner is developing a state-of-the-art tablet based sales and order processing tool. Their sales team will be managing client visits, tasks, calendars, notifications, and order processing all through this tool. The platform is the Apple iPad for the UI and SFDC to manage the data.
Overview
Guided Enablement is a system that provides certain content, talking points, etc. to the Sales rep based on the Account they are looking at. There are several pieces of criteria that we will match on to determine what content to show at what stage for the seller.
Supporting Data
Please reference the Compass API on Apiary: http://docs.compassproject.apiary.io - this determines the how you will need to structure your response JSON.
Please reference Guided Enablement Field Mapping Excel sheet (attached in forums) to determine the field mapping on how to match on records.
Please install the package (included in the fourms) into your development org and edit the Service “/Accounts/RetrieveAccount{?accountId}” to add the new logic and data in the JSON response.
Object Setup
You will need to create an new custom Object called Guided Enablement. This object will represent a piece of content (either from SFDC Content or a link to an outside system). You will need to create several fields on this object that will categorize this data. Please refer to the Guided Enablement Field Mapping document to see which fields to create, what the picklist values should be and what (if any) the default is.
Service Logic
The idea of this addition to the retrieveAccount service is to take the Account Id and grab fields on that account. You should then query the Guided Enablement object and pull all records that match those same fields. Basically, you will have a conditional in your WHERE clause for each field to match. Please use the Guided Enablement Field Mapping Document to know which fields to use from the Account and the logic on how to match them to the fields on the Guided Enablement object.
Returning the Data
Now that you have a list of Guided Enablement records that have matching criteria to the account requested, you need to include this data into the response JSON. You will need to loop through this list of Guided Enablement records and create three separate lists each for Guided Output = Know, Say or Show. Sort these by the Priority field and limit each list to a total of three records. Please reference the Apiary API for full details.
Please note the "Apiary Field" column in the Guided Enablement Field Mapping docuemnt. Only the fields that have entries in this column should be returned by the API call.
Environment Setup
For this challenge, packages will be provided to registrants of the challenge to import the SFDC object structures that are required to implement these APIs. These objects should be imported into the developer’s own development environment in SFDC.
Based on the provided object packages, registrants should create sample data. There is also sample data in the Apiary.
Final Submission Guidelines
Submission Guidelines
The submission should contain:
-
A zip of the Project source (eclipse)
-
A url to the Unmanaged Package.
-
A Demo video demonstrating the operations using a REST client (* you may use any browser plugin or any other REST client to do this).