I am working on an enterprise wiki site collection inside an on-premise sharepoint server 2013 , and currently I have the following:-
I have a site column of type choices named “Wiki page Type”. It have options such as; “General Info”, “Internal Procedure”, etc..
I added this site column inside the metadata navigation for the wiki list + I added it inside the
So each wiki page will be linked to this site column.
Now our customer asked us to show a summary of the wiki pages inside the enterprise wiki home page as follow:-
Wiki Page Type | Number of Pages
General Info ---> 10 Pages
Internal Procedure ---> 15 Pages
When users click on the summary links they will be redirected to a pages which shows the wiki pages associated with the realted “Wiki Page Type”. Now I am planning to do the following to achieve this requirement:-
The java-script file will do a couple of rest api calls to query the wiki pages list for each of the “wiki page type” options. then i can show the count of the object returned.
In this way I can get the summary as desired.
But since I did not implement such a functionality before,,so I am not sure if my above approach sound valid ? or there is a better and a more reliable approach I can follow?