Add option to enable document meta data collection, and a configurable field to allow users to designate meta data properties to collect (Issues 225, 226, 227, 228, 229, 230, 311, 499)
This feature allows a user to add a list of custom field/property names they wish to collect to the app. It then enables API calls to query for the desired properties when document links are hovered over with the mouse. Data for queried documents are stored in sessionStorage to reduce the number of API calls created by the feature over the course of a session. For example, hovering over the same document multiple times, even in different links or different pages within the session, should result in only one API call. On the click to the document link or Ribbon/ECB/Hover Card menu, the additional properties are added to the hit in the format WT.shp_doc_ + property name, e.g. WT.shp_doc_guid. Due to the reliance on the on-hover event, this functionality will not work in mobile devices. Consistency of data collection is also dependent on server responsiveness, as the data from the API call must be returned prior to the user’s click of the link.