Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 7025

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 2162

Deprecated: Hook imagify_allow_picture_tags_for_webp is deprecated since version 2.2! Use imagify_allow_picture_tags_for_nextgen instead. in /www/collab365_296/public/wp-includes/functions.php on line 5758
SharePoint Lookup Columns and the Mystery of the Missing Records - Collab365
Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Deprecated: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1145

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1152

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1155

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1162

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/collab365_296/public/wp-includes/functions.php on line 1165

Warning: Undefined array key "url" in /www/collab365_296/public/wp-content/plugins/thrive-visual-editor/thrive-dashboard/inc/smart-site/classes/class-tvd-smart-shortcodes.php on line 85

2015-07-08

I was tasked with updating some list data, including changing a text field column to a lookup column. The lookup list was located in another subsite, and since a lookup list only works with lists within the same root site or subsite, I created a root level Site Column with the information I needed. This made the data available to all child sites. Then it was a matter of going to Site Settings -> “Add from existing site columns” and selecting the Site Column I just created.

Next I created a view with the text field column (“JSN”) and my new Site Column lookup (“JSN Lookup”) side by side, then put the view in Quick Edit. This made it easy to quickly update the lookup column with the data from the JSN column. Later I would delete the JSN column.

Everything was going peachy until I noticed I couldn’t find some data in the lookup list. 

Where’s X4890.CM??

This was all very strange because I confirmed the data was in the lookup list. So why wasn’t it showing up in my drop down list?

I double-checked my lookup field in case I missed some configuration that was filtering out some of the list items. No luck. I checked the lookup list to see how I had the list sorted. The default view was to show everything by JSN sorted alphabetically. Hmmm. I was stumped. After some Googling I found a very simple answer:

By design, SharePoint sorts the lookup column by ID when in Quick Edit. When I edited the item using the Standard view, the column was sorted alphabetically.

There’s X4890.CM!

This is something to keep in mind if you or your users like to use Quick Edit.

(Visited 737 times, 1 visits today)

About the author 

Darrell Houghton

MCSE and MOS certified in SharePoint 2013. SharePoint power user, evangelist, and teacher. In-depth knowledge of out-of-the-box SharePoint functionality, best practices, business workflows, and site architecture.

Summit Bundle

Get 200+ hours of Microsoft 365 Training for 27$!

Master Office 365, Power Platform & SharePoint & Teams With 200+ Hours Of Training Videos and 108 Ebooks in the Collab365 Academy. This offer is insane and is only available for a limited period.