Questions tagged [ordering]

Any of a number of categories of relations that permit at least some members of their domain to be placed in order.

0
votes
3answers
34 views

When running a CAML-Query without OrderBy: Are IDs always incremental?

I want to bulk load a few items from a list. The Caml is something like this: <View><Query><Where> <Gt><FieldRef Name=\'ID\'/><Value Type=\'Number\'>{id}</...
3
votes
2answers
2k views

SP2013 Custom list: Customize group order/sequence

I have a huge custom list with several columns. They are grouped by e.g. Status, but the order of the groups cannot be influenced as it is strictly alphabetical. Is there a (nice) way how to customize ...
1
vote
1answer
928 views

Order of js scripts added by ScriptLink control and CustomAction

In our team we have a convention that common use js libraries, for example jQuery, are registered somehow in website, so in custom web parts we shouldn't register it again. In one website jQuery is ...
2
votes
2answers
2k views

SharePoint Excel export issues (ID export to lookup columns/Columns out of order)

Good day, I have 2 issues I am trying to workout on some SharePoint Lists. I was hoping I could get a little help as my developer skills are just now developing beyond OTB solutions. Issue 1: I ...
3
votes
0answers
99 views

Change order in a AppendOnlyHistory element

I've got a list with a column that has the "Append Changes to Existing Text" option set. This is to enable users to add comments to the list item. Using SharePoint Designer, I've replaced the default ...
0
votes
1answer
306 views

Order of fields in a Form

How do I change the order my fields appear on the standard form in sharePoint 2013. I have changed the order in my customer list but they appear in a different order on my form. Many thanks
0
votes
1answer
3k views

How to enable Item reordering on a promoted Links list in SharePoint 2013?

In SP2013 OOTB seatle master page, I made a links list and a promoted links list. In the links list, I have these options here to change the order of the items. So this is enabled on a links list. ...
2
votes
1answer
560 views

CAML OrderBy on Choice Field

I'm trying to return a list and order it by a choice field. My choice field currently is just set to Yes or No. The XML I'm using: <View><Query><OrderBy><FieldRef Name="...
1
vote
0answers
47 views

How can I change the order in which the Document ID column appears in the form?

I want to re-order where the Document ID field appears when you view the properties of a document. How is it possible to do this? It's not possible to simply do column ordering with the Document ...
0
votes
2answers
822 views

Content Editor - ordered list second level

I wanted to create multilevel ordered list in SharePoint 2013 Content Editor, with continuous counting, including numbers from upper levels. 1. Planes 2. Cars 2.1. Ferrari 2.2. BMW 3. Trains ...
1
vote
1answer
358 views

sorting by calculated date column in date format

I have a calculated column of date strings. The calculated field reads 5 other columns and is filled with a date STRING from the other fields. The calculated field has an type of date. The problem is ...
6
votes
3answers
3k views

Change sort order in returned ItemsCollection

I am fetching a collection of items from a list using a CAML query. The returned items are then populated in my custom HMTL table. There is, however, another HTML table for which I need the same ...
2
votes
1answer
1k views

Sorting Numbers in Sharepoint

How can I sort a list using a field that has a number format like this: 1.1 1.1.1 2 2.1 . . . 10.1 10.2 I have to use the field as a string to can handle as many sublevels the user wants, but then ...
0
votes
1answer
331 views

Default View edit column order with Javascript

I have a List which is generated and populated with Javascript. However after that I remove a column and add column 'Id' to the default view with the following code: function ...
0
votes
1answer
621 views

How to move OOTB profile properties into custom section

How to move OOTB user profile properties into custom section? How we can do it using powershell? I need a PowerShell script for doing this in SharePoint 2013.
1
vote
1answer
518 views

How to change order of User Profile properties on user's MySite

I want to change the order of properties on user's Mysite, How i do that? In the below picture, I want to move up "Mobile Phone" property under "Phone" property. And secondly how i get to know the ...
0
votes
2answers
507 views

Ordering CAML results

Follow up to this question: CAML is ordering by content type even though not specified I have the following query: <Where> <And> <Or> <Eq> <...
0
votes
1answer
210 views

CAML is ordering by content type even though not specified

I have a library in SharePoint 2010. The library has folders, each item in the library, including the folder, are tagged with a number (separate column). When I do an 'OrderBy' the column, the ...
1
vote
1answer
590 views

workflow actions order of execution?

I came to the scenario that randomly and on very few cases, some workflow actions are not executed sequentially. Example below: Action 1 (change field X value) Action 2 (create item on another list) ...
1
vote
0answers
285 views

How to set custom list's column order declaratively

So basically what I want to achieve is to find a way to set column order on my custom lists declaratively (I'm using list definitions to create my custom Lists). One way of setting column order is to ...
0
votes
2answers
2k views

CAML query order by not working in SPList

I am using the following code display items in list but it is not sorting them. No matter what I write in order by clause, it always brings the same results. SPListItemCollection items = null; using ...
0
votes
1answer
422 views

Set view order with code in a listview using ListViewXml.OrderBy

So I have this line: lvwp.ListViewXml.OrderBy.. - after this I have no Idea what to write? I would like to assign something like: Combining like this: lvwp.ListViewXml.OrderBy<FieldRef Name='...
0
votes
3answers
8k views

Items in the list to be appeared in the descending order

I have list with date, agenda and documents columns. How can I show them in the descending order, so that whenever someone uploads a new agenda that one should be shown on the top of the list?
2
votes
1answer
568 views

CAML Query Custom Ordering

I have looked around a bit, but have not found any reference to this particular issue. Is it possible to specify a custom ordering in a CAML query? What I mean by this is, say I have a list with a ...
1
vote
3answers
7k views

Is there a way to have documents in a library in non-alphabetical order?

I have created a library on our SharePoint site and have uploaded multiple PowerPoint presentations, which by default have been ranked alphabetically. The powerpoints need to be opened up in a certain ...
3
votes
1answer
278 views

“Change Item Order” in a filtered list still show everything in the list

Using Sharepoint 2010, I created a custom link list. This custom link list has a column for status (In Progress, Not Started, On Hold, Done). I have a couple of views: * "In Progress" view - all ...
1
vote
2answers
750 views

SharePoint 2007 Custom Sorting for Document Library

I have a uploaded slides from PowerPoint to a document library that can then be collected for a staff meeting presentation. Each slide has its own number and place where it belongs for the slideshow. ...
1
vote
1answer
337 views

How to use the reorder method for document library?

I have a document library of 179 documents, and I want to reorder them. I have this code to try swapping the first two documents bool u = sharepoint.library.Ordered; if (!u) { ...
1
vote
2answers
3k views

how to change sharepoint web parts loading order

Can anyone give me advise on how I can change the loading order of SharePoint web parts. I have a CEWP which shall perform calculations based on a SharePoint list below loaded below. Thanks
1
vote
1answer
2k views

Sort by modified date in custom search core results webpart

I have created a custom search results web part which implements some simple sorting, for example i have this piece of code which allows me to sort it desc/asc by title: CoreResultsDatasource ...
2
votes
2answers
2k views

Get content Type order in C#

I am building a web part that would be added to the bottom of every library view and would display the folder content types making it easy to create a new folder (rather than having to go to documents ...
1
vote
1answer
1k views

Field Order in List of SharePoint 2013 App

I am building a SharePoint 2013 SharePoint hosted app, provisioning a list using Site Columns, but no defined content type, just using the automatically assigned content type ListFieldContentType. ...
1
vote
3answers
3k views

How can i reorder items or swap items in a list or lib(Drag and drop will be ideal)

I have a project and one of the requirement is ti be able to re-order images ot items. So lets say they load the page and i have this 6 images. 1 2 3 4 5 6 and the users would like to swap 1 with ...
1
vote
1answer
52 views

Ordering of the lists' data by user region

We are implementing a portal using SharePoint 2010 for the company which has hierarchical regional structure. All company regions are contained in list and all users and all content have a link to ...
1
vote
3answers
980 views

Problem creating a Custom Ribbon Action to Order Lists

I attempted to create my first Custom Ribbon action to allow users to sort list items. But I failed miserably. the Action wont show in my ribbon at all and I am having trouble finding out what is ...
4
votes
2answers
5k views

Set column order in contenttype

I've added some site columns with an xml file and also created my contenttype in the xml. After deploying, a feature creates a lookup to another list (with c# code). How can I set te column order in ...
7
votes
2answers
40k views

Why isn't “Column ordering” available in my list settings?

I want to change the column order visible when viewing or editing a list item. I have accessed the "Column ordering" interface via the list settings page on other lists in the past, but it isn't ...
2
votes
3answers
3k views

Problems adding webparts to a page in the correct order

I would think there's something supersimple I'm missing, but I can't find where I'm going wrong. I have a feature deploying a default.aspx page with two CQWP webparts. I use the AllUsersWebPart ...
0
votes
1answer
81 views

Order dataviews on different columns and paging with Sharepoint 2007

Is it possible to order a paged dataview on different columns (using a query string parameter)? Sharepoint 2007.
3
votes
0answers
570 views

Custom list defintion with OrderedList property [closed]

I've created a custom list in SharePoint 2010 from a custom content type (inherit from item) and I would like to give the users the option to order the items in this list - similar to how users can ...