Alfresco Share: how to modify Activity List dashlet?

692 Views Asked by At

I want to extend the behavior of the activity list dashlet in Alfresco Share. The problem is that the default dashlet only display news about the creation of a DataList and nothing about the update of a row.

I'm using Alfresco 4.2.d

Thx!

2

There are 2 best solutions below

3
On

The dashlet only displays activites that are posted. So first of all you'll need to ensure that a update of an DL entry creates an activity post.

  • You can use Alfresco.Share.postActivity (in share.js) to post an activity via browser JS.
  • You can also add a custom Policy/Behaviour to post an activity via ActivityPostService directly in repo layer
1
On

You have to ensure the update of DL entry create the activity post.

you can share afresco post for activity browser with add a custom policy directly with repo layer, you can add a custom policy or post service with a repo layer