
Announcements
Below is the attached image can someone please look at it and let me know how to increment the views when user visits an article
Hi @karthik3456,
do you want a number which sums it up or as posted in your image for each person?
For that the best approach would be to run a cloud flow with web api give the userId of the UserObject as input and update a table in dataverse where the user and the respected visits are stored.
If you really want to store each visit, it could be that somebody uses a resfresh and runs that flow over and over again. You would need to permit that with a condition like check if flow was run before in x minutes if yes permit if not run flow.
The MS Learn Page for that purpose: https://learn.microsoft.com/en-us/power-pages/configure/cloud-flow-integration
--------------------------------------------------------------------------------------
Hope that helps.
If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.