I want to track individual users who have viewed items on a particular(two or three) promoted links list. Is there a way to do it with sharepoint workflow? If not, is there any other way to do it.
-
2This is not possible with Workflow. You would have to use some kind of analytics to capture that. What version of Sharepoint your are using? Have you considered using Audit on the site to get that information?– Marek SaradNov 13, 2018 at 15:15
-
@MarekSarad I am using sharepoint 2013. I tried looking into using Audit, however, I don't have an admin role or audit option available to me. Is there any other way to achieve this?– user10Nov 13, 2018 at 15:24
-
I can see 2 best options here Either enable Audit or have have custom Event Handler on the item. The Latter option is much more complex so I would recommend to check with your admins can they enable Audit settings.– Marek SaradNov 13, 2018 at 15:26
-
how to create custom event handler?– user10Nov 13, 2018 at 15:52
-
Why re-invent the wheel? "Audit" is the correct answer. If you cannot access the "Audit" settings, then you definitely also can't deploy custom solutions.– OutOfThisPlanetNov 13, 2018 at 16:00
1 Answer
Workflows are not designed to "Track" users.
The problem with workflows (and event receivers in Visual Studio) is that they require an event (such as create item, or edit item) for them to do something.
In the picture below you can see the type of events that can trigger something (in an event receiver anyway)
SharePoint doesn't track the accessing of items out of the box (other than in Auditing, instructions below).
IIS DOES track access though, although that is something else completely!
You can instead use the Site Collection "Auditing" tools to track users in SharePoint.
Check out this useful resource on the subject of "Auditing"
You can find the settings in "Site Collection Administration".
If you do not have access to this, then you may need to speak to your SharePoint Site Collection Administrator.