Blog
Sort Order of View Included in URL
When a viewโs sort order is adjusted, the new sort order becomes visible in the address bar of the browser.ย The advantage of this is that when the user bookmarks this URL, the sort order is included in the bookmark.ย Each time the user subsequently uses this bookmark, the view that opens is sorted in the same way as when it was bookmarked.
The example below shows a view with people records which โSiteโ column was pressed to sort it.

Letโs geek out a little and break down the URL that is visible in the browserโs address bar to understand its components:
- widget.4me.com โ This part of the URL takes the user to the Xurrent account of the Widget International organization.ย The subdomain โwidgetโ was chosen by this fictitious organization.ย The domain โXurrent.comโ points to the production environment of the Xurrent service.
- people โ The views that list the Person records can be found in the Records console. Adding โ/peopleโ to the URL of a Xurrent account takes the user straight to the people views in the Records console.
- sort_idx=site_name โ This specifies that the view is sorted by site; specifically by the text entered in the Name field of the Site records that are linked to the Person records that are listed in the view.
- sort_dir=des โ This part of the URL specifies that the sort direction is โDescendingโ, which is the opposite to โascโ which stands for โAscendingโ.
- vstate=enabled โ The โvstateโ component dictates which state button is pressed above the view.ย In this example it is the Enabled button.ย The other option for this view is โdisabledโ which would cause the Disabled button to be selected.
- q= โ The โq=โ parameter is used at the start of the query or keywords that were entered into the Search box to filter the view.ย In this example no text was entered in the Search box.
- vname=all โ When there are multiple views to choose from, the โvnameโ component is used to select one of these views.ย In this example โallโ means that the โAll Peopleโ view is selected.
- vlayout=table โ The only layout that can currently be selected for a view is the โtableโ presentation.ย The only exception can be found in the Inbox view where the option โlistโ is also available.ย The โlistโ layout provides multiple lines of information from each record.