Talent Suite’s Recent Activity home page widget and associated gadget provide learners with a view of their classmates’ activity on the site, whether taking courses or participating in discussion forums.
As of Talent Suite 11.1 build 996, the recentActivity API function provides an alternative way to embed this information in another site or app.
As with other API functions, recentActivity can return information as JSON or XML. Sample responses are shown below.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "items": [ | |
| { | |
| "type": "complete", | |
| "published": "2015-09-08T12:02:48.391+08:00", | |
| "actor": { | |
| "url": "https://preview.netdimensions.com/preview/servlet/ekp?TX=BIO&DECORATEPAGE=Y&PX=Y&PS=Y&USERID=zechariah.law", | |
| "displayName": "Zechariah Law", | |
| "image": { | |
| "url": "https://preview.netdimensions.com/preview/nd/fresco/images/decorate/shadow_person.png" | |
| } | |
| }, | |
| "object": { | |
| "url": "https://preview.netdimensions.com/preview/servlet/ekp?CID=73491_eng&TX=FORMAT1&LANGUAGE_TAG=0", | |
| "displayName": "Developing JSPs (73491_eng)" | |
| } | |
| } | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <items> | |
| <item> | |
| <type>complete</type> | |
| <published>2015-09-08T12:02:48.391+08:00</published> | |
| <actor> | |
| <url>https://preview.netdimensions.com/preview/servlet/ekp?TX=BIO&DECORATEPAGE=Y&PX=Y&PS=Y&USERID=zechariah.law</url> | |
| <displayName>Zechariah Law</displayName> | |
| <image> | |
| <url>https://preview.netdimensions.com/preview/nd/fresco/images/decorate/shadow_person.png</url> | |
| </image> | |
| </actor> | |
| <object> | |
| <url>https://preview.netdimensions.com/preview/servlet/ekp?CID=73491_eng&TX=FORMAT1&LANGUAGE_TAG=0</url> | |
| <displayName>Developing JSPs (73491_eng)</displayName> | |
| </object> | |
| </item> | |
| </items> |
Possible values for type are as follows.
enroll(in a module)start(a module)complete(a module)create(a forum topic)reply(to a forum topic)
We hope that this new API function helps you to add a more social dimension to your site or app.