Sharepoint Metrics

I have a custom Sharepoint Page that pulls News and events into a feed on the page via REST API from sharepoint lists. How can I use these lists to store the amount of hits each news/event link gets?

I wanted to make a timesClicked field in each list, and increment it via POST every time a user clicks on it, but that would mean we have to give all users edit access to the news/event lists which we can't do. What other ways could I go about implementing a basic hit-counter?

Answers


Create a 2nd list that contains the following columns: item number of the first list and a counter. Set the security on the second list to allow edit from authenticated users. Use a POST to increment the corresponding row in the second list.


Need Your Help

How do I execute (not import) a python script from a python prompt?

python bash import module

I need to execute a Python script from an already started Python session, as if it were launched from the command line. I'm thinking of similar to doing source in bash or sh.

Getting unique data from ISingleResult

c# asp.net linq linq-to-sql

I have a stored procedure that is returning data in this format:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.