cancel
Showing results for 
Search instead for 
Did you mean: 

Document Type Auto-Name Pages

Drew_Hargrave
Confirmed Champ
Confirmed Champ

Our user base regularly uses the number of pages in a hit list (search results) to determine which document to view or open. How could I create a Keyword called Pages and populate it with the total pages each document contains?

2 REPLIES 2

Scott_Johnson3
World-Class Innovator
World-Class Innovator

hi @Drew Hargrave 

The only way I know is through the API.  It is a fairly simple script. It works for image and PDFs as far as I know.   Also, you need to make sure you rerun it if the doc is edited. 

Good Luck

Drew_Hargrave
Confirmed Champ
Confirmed Champ

Thanks Scott, do you have any example API calls that would pull this? Did you do this through the Unity API?