Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Project Overview

Hyperlink all the things!  We need a minor enhancement to the Appirio Gamification Engine, built in AngularJS and Salesforce.com. 

 

Business Requirements for this Challenge

Change the Chatter Post to have a hyperlinked @mention in the feed.

Current:

John Doe has just achieved the HOTR badge!

After :

@John Doe has just achieved the HOTR badge!

where @mention is a hyperlink to the user record.

See similar code in our application (lined 192 in PointTriggerHandler class) and Salesforce developer documentation for example code: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/connectapi_examples_post_feed_element_mention.htm

Thats it!

 

Steps To Get the Current Code

  1. Head to Github to grab the current source code. The Github link will be provided in the Forums.

  2. Go through the Github Read Me file to set up source code in your developer org.

 

Implementation Guidelines

  1. Alter the afterInsertAwardedBadge trigger to achieve the stated functionality.  Use the BatchInput class, to ensure, the trigger works for bulk records.

  2. To test, create a Badge record for a user in your org via the Badges tab.  Be sure to test with a standard user profile.

 

 

 



Final Submission Guidelines

 

  1. Commit your changes in your local repository
  2. Please name the commit message “S-155329 - Fixing @Mention for Badges”
  3. Create a patch file, and upload the patch file as submission. How to create a patch file
  4. Please provide a destructive changes.xml file if necessary to remove metadata no longer required after your changes.

 

Please do not include credentials to your organizations, or source code in your submissions. The submissions will be tested in our org only, using the patch. If your submission doesn't include patch, it will be not be evaluated.
 

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30050983