Select to view content in your preferred language

Set Item ViewCount

411
2
12-14-2023 04:19 AM
Labels (1)
AndreasEugster
Occasional Contributor

Hi,

Is it possible to change/set the ViewCount of an Portal-Item? Had to recreate a corrupt item and was wondering if I could set the viewcount to that one from the old corrupt item.

Thanks,

Andi

0 Kudos
2 Replies
ReeseFacendini
Esri Regular Contributor

The short answer is no, it's not possible.

Because you created a new item, even though it's identical to the original, Portal still sees it as new and starts the view count back at zero.

0 Kudos
AndreasEugster
Occasional Contributor

Thanks for the reply.

Still curious for the long answer 🙂
I guess short "not via Python-/ Rest-API etc." and long "direct on the item-portalserver-folder or the database which you should not touch"? 

0 Kudos