Loads a content profile as specified by the trigger value for page presentation. This is called during the presentation of Search, Check In, Info, and Update pages. This function is called on request and the page on which it is called determines the action (for example, search, or info).
This information is dependent on context. The isCheckin, isUpdate, isQuery, or isInfo variables are set in local data and direct the
loadDocumentProfile function to the page to be loaded and presented.