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 rsSetRow("REVISION_HISTORY",REVISION_HISTORY.#numRows-1)$>
<$exec rsDeleteRow("REVISION_HISTORY")$>
<$endloop$>




  • 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!

-ryan

30 comments:

  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

    ReplyDelete

  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

    ReplyDelete
  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

    ReplyDelete
  4. Good resource...

    Zirakpur escorts Point of fact, even you can either pick any pleasing or you can call our female friend to your home and everything relies upon your inclination.
    Follow us:_

    Zirakpur escorts
    Escorts in zirakpur
    Call girls in Zirakpur
    Zirakpur call girls

    ReplyDelete
  5. This is Really Amazing Article to read. So I am Sharing my topics We know very well how to treat our clients when meeting them first time and we take care of them very gently. You will really impress by seeing how they are helping you to get the right file and choose your beautiful, sexy and hot girl. They will approach like a professional escort model and will show you what we have got.


    For More Information Visit:
    Chandigarh Escorts

    Call Girls In Chandigarh

    VIP Chandigarh Escorts

    Chandigarh Escorts Services

    ReplyDelete
  6. This is Really Amazing Article to read Bathinda escorts from Bathinda, and from April 2015 I am an independent call girl, because Bathinda is well known. I am helping you to warm up to think of being warm with a female escort Bathinda with all the extra elements of love making the king and fun sessions.

    For More Information Visit:
    Call Girls In Bathinda
    Bathinda Escorts
    VIP Bathinda Escorts
    Bathinda Escorts Services

    ReplyDelete
  7. In-call and out-call Chandigarh escorts services are available at sound price along with amazing instants. Would you like to become it if yes call us now or visit our website for more detail.

    Chandigarh Escorts
    Ambala Escorts
    Goa Escorts
    Mohali Escorts
    Panchkula Escorts
    Karnal Escorts
    Lucknow Escorts

    ReplyDelete
  8. and not only the work of our company to move furniture, but we make all your throne looks like new by providing services of polishing and cleaning furniture and maintain a good To be exposed to contamination with dust and dirt, even if stored for long periods, all those features and much more than you will find in the distinct company furniture transport company in Dammam.شركة نقل عفش

    ReplyDelete
  9. Chandigarh escort beauty will be high on the list of choices for an escort in Chandigarh. Choose girls also come from India & International too at your place. Just call and get our girls service.

    ReplyDelete
  10. thanks for sharing such a wonderful information from this post
    digital marketing

    ReplyDelete
  11. Nigar Khan Hyderabad Escorts Service Agency One Of The Best Call Girls Service In Hyderabad, We Provide Horny girls like models,housewife,College Girls and Russian Girls. View Our Girls Gallerry.
    Hyderabad Escorts
    Pune Escorts
    Hyderabad Call Girls
    Escorts In Hyderabad India

    ReplyDelete
  12. Goa Escorts Service We are one and only Goa call girls offer the models housewife Our world famous low rate whatsapp number Call girls service in Goa provide high class female escorts service provider where you can find the first-class call girls in goa.
    Ahmedabad Escorts
    Panchkula Escorts
    Ludhiana Escorts
    Jaipur Call Girls
    Ajmer Escorts
    Escorts in Hyderabad
    Escorts in Ahmedabad
    Goa Escorts
    Escorts in Lucknow

    ReplyDelete
  13. Aarushi Khanna Offer The Affordable, cheap rate high-class sensual independent escorts services in Jaipur for sex of providing the best sexy Independent escort for the clients about Enjoy of erotic entertainment with very hot Sexy call girls in Jaipur.
    Ludhiana Escorts
    Mohali Escorts
    Ludhiana Escorts
    Zirakpur Call Girls
    Jaipur Escorts
    Hyderabad Call Girls
    Ahmedabad Call Girls
    Goa Call Girls
    Lucknow Call Girls

    ReplyDelete
  14. Jaipur Escorts Service we have best model beautiful welcome for you Our gorgeous and stunning offers the most trustworthy and protected erotic independent Jaipur Call Girls.
    Ahmedabad Escorts
    Panchkula Escorts
    Ludhiana Escorts
    Jaipur Call Girls
    Ajmer Escorts
    Escorts in Hyderabad
    Escorts in Ahmedabad
    Goa Escorts
    Escorts in Lucknow

    ReplyDelete
  15. Want to Hang out with our charming Chandigarh Escorts. Our models are intended to indulgence the beauty lovers. She are ready for pleasure and erotic fun with clients to enjoy and exchange love between them. For Delight your mind with these hot ladies, Get a complete package of fun and enjoyment with babes or models. You may browse here easily: Chandigarh Escort, Chandigarh Call Girls, Escorts in Chandigarh, Chandigarh Escorts Agency, Escort Service Chandigarh, Call Girls in Chandigarh, Chandigarh Escort Service, Chandigarh VIP Escorts

    ReplyDelete
  16. Need to have something significant on your pressure and gloom? Meet Nancy Deewan The beautiful #Goa Escort Girl for sexual pleasure & delivering college girls to let you complete your wildest dream. She offering gorgeous genuine young beauty special Call girls and Massage services both incall & outcall. Give us chance to serve you: #Goa Escorts
    #Goa Call Girls
    #Escorts in Goa
    #Call Girls in Goa
    #Goa Escort Service
    #Escort Service in Goa

    ReplyDelete
  17. Jodhpur call girls Book busty and hot high class call girl in Jodhpur available 24 hours for erotic Jodhpur escort service Low rates, We also provides top Independent escorts for all over Jodhpur.
    #Jodhpur Escorts
    #Ajmer Escorts
    #Udaipur Escorts
    #Raipur Escorts

    ReplyDelete
  18. Lucknow Escorts Service feel proud to suggest one of the escort service in Lucknow for you. Adult escorts service in Lucknow independent call girls in Lucknow Book hottest escort in Lucknow to avail access of erotic call girl in Lucknow escort directory. Over sexy models Lucknow call girls adverts for incall & outcall service.
    Lucknow Escorts
    Lucknow Call Girls
    Lucknow Escorts Service
    Call Girl In Lucknow
    Escorts In Lucknow

    ReplyDelete
  19. Hello, guys myself Abell Arora an honest young, and intelligent Call Girl in Chandigarh. If you are looking for the best Escorts in Chandigarh and want to hire a beautiful Independent Chandigarh Call Girl so please contact me from Chandigarh Escorts Service. I am available here for only outcall Chandigarh Escorts Service. We have hand-picked and recruited a few of the excessively skilled Chandigarh girls who manage during a hub but got to generate some more money for conference needs and ranking image. If you are interested in experiencing with the lovely girls, you'll be able to lease these Russian Chandigarh Escort Service instantly by only visiting our website or making calls on the amount. It’s important that you just assure you inform the US everything concerning your needs like what very girl you favor physique of the girl, what very services you want like a party, intercourse, verbal intercourse, buggery or anything. Chandigarh is one the best tourer locations in the Republic of India wherever persons across the planet visit. Therefore, we often began our services around there consequently of we often got numerous queries of our service to possess link High Educated Chandigarh Escorts. we have used a number of excessively skilled and beautiful celebrity escorts in Chandigarh. These spectacularly interesting girls can certainly cause you to have an erection at your party? Entirely seeing their elegance, you might lose your management. therefore the next occasion after you alone visiting the town, don't fear our escorts ready to offer you the simplest company.

    ReplyDelete