2 Replies Latest reply on Sep 18, 2014 5:33 AM by Gilo

    sort portal

    Gilo

      Title

      sort portal

      Post

      Hi

       

      I use a portal where i want to have 2 documents (driving, identity) always on top, and all the other sorted by date created. 

       

      How can i have this done?

        • 1. Re: sort portal
          philmodjunk

          Set up a calculation field that computes a value you can specify as the sort field for your portal.

          Something like this calculation field with a Number result type specified:

          Case ( Type = "Driving" ; 0 ;
                     Type = "Identity" ; 1 ;
                     DateCreated
                  )

          DateCreated will be converted into a very large number value by this calculation. The number will equal the number of days from 12/31/0000 to the date created.

          • 2. Re: sort portal
            Gilo

            Seems to work great thanx