Should Item.usage() work on Portal 10.7?

557
1
05-07-2019 11:39 AM
BarryBiediger
New Contributor III

I had expectations (not unsubstantiated) that I could use item.usage() after upgrading to 10.7. Note the following from the api docs:

However, when I try to run it on an item in portal, I get "Error generating usage report."  It works fine on AGOL.  I'm starting to suspect it's not really implemented yet.

0 Kudos
1 Reply
simoxu
by MVP Regular Contributor
MVP Regular Contributor

Apparently... When I tried, I got an error:

ValueError: Usage() only supported for ArcGIS Online items.

0 Kudos