Wednesday, July 30, 2014

Keeping It Current… Showing Only the Latest Revision on the Document Information Page

One request that comes up from time to time is a need to remove all of the non-latest
revisions from the list at the bottom of the document information page in Content
Server. This is useful to restrict the access to older versions of the item without
actually deleting the older items.

Typically, most implementers say that a customization is necessary. However, a
relatively simple profile rule can be created to accomplish the same thing.

This article assumes that the reader has a basic working knowledge of how to create
content profiles in Content Server. For this article, a global rule is being created, but it
could easily be adapted to only fire for specific profiles.

  • Create a global rule with activation conditions of “OnRequest” and “Info” as shown.

  • Clicking on the “Edit” button, and then on the “Side Effects” tab, enter the following code in the custom code box as shown:

<$loopwhile REVISION_HISTORY.#numRows >1$>

<$exec rsDeleteRow("REVISION_HISTORY")$>

  • To adjust the number of revisions shown on the page (for example, showing 5 revisions as opposed to only 1), change the value of 1 in the statement 
    "<$loopwhile REVISION_HISTORY.#numRows >1$>"
    to the appropriate number.
Big thanks to William Phelps for today's post!



  1. While we have been burdened with expectations of a successful successor to the LG G6, we have been saying for some time that this new phone will be the one phone which will rule them all.
    LG has already been on a roll and we expect that the G7 will also be up to the mark. Want to know more about it? Check out this website LG G7


  2. If you are in Jaipur and need beautiful Escort Service in Jaipur or white skin Escort Service in Jaipur then you can simply book call girls in Jaipur from one of the best escort agency named Escort Service in Jaipur. It is No.1 premier escort agency and provide both incall or outcall facility to clients.Please click on the following link to check the official websites Escort Service in Jaipur

  3. Chandigarh escorts service offering high-class model Call Girls in Chandigarh available 24/7 hours to make your sexual demand complete.

    Chandigarh Escorts
    Mohali Escorts
    Zirakpur Escorts
    Panchkula Escorts
    Call Girls in Chandigarh