{"id":884,"date":"2017-05-25T15:36:45","date_gmt":"2017-05-25T10:06:45","guid":{"rendered":"https:\/\/blog.binarybits.net\/?p=884"},"modified":"2017-06-28T15:44:34","modified_gmt":"2017-06-28T10:14:34","slug":"change-sharepoints-there-are-no-items-to-show-in-this-view-message","status":"publish","type":"post","link":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/","title":{"rendered":"Change SharePoint’s “there are no items to show in this view” message"},"content":{"rendered":"

When a list has not data to be shown in the view, we see the following message.<\/p>\n

There are no items to show in this view of the “<ListName>” list.<\/p><\/blockquote>\n

The following JSLink script helps to change this message.<\/p>\n

(function () {\r\n    var overrideCurrentContext = {};\r\n    overrideCurrentContext.Templates = {};\r\n    overrideCurrentContext.Templates.OnPreRender = changeNoListItemMessage; \/\/OR overrideCurrentContext.OnPreRender = changeNoListItemMessage;\r\n    SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCurrentContext);\r\n})();\r\n\r\nfunction changeNoListItemMessage(ctx) {\r\n    ctx.ListSchema.NoListItem = \"No data\";\r\n}<\/pre>\n

Source:\u00a0http:\/\/www.idubbs.com\/blog\/2015\/jslink-csr-to-override-there-are-no-items-to-show-in-this-view\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

When a list has not data to be shown in the view, we see the following message. There are no items to show in this view of the “<ListName>” list. The following JSLink script helps to change this message. (function () { var overrideCurrentContext = {}; overrideCurrentContext.Templates = {}; overrideCurrentContext.Templates.OnPreRender = changeNoListItemMessage; \/\/OR overrideCurrentContext.OnPreRender = […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[62],"tags":[245,255,208],"yoast_head":"\nChange SharePoint's "there are no items to show in this view" message : Binary Bits<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Change SharePoint's "there are no items to show in this view" message : Binary Bits\" \/>\n<meta property=\"og:description\" content=\"When a list has not data to be shown in the view, we see the following message. There are no items to show in this view of the “<ListName>” list. The following JSLink script helps to change this message. (function () { var overrideCurrentContext = {}; overrideCurrentContext.Templates = {}; overrideCurrentContext.Templates.OnPreRender = changeNoListItemMessage; \/\/OR overrideCurrentContext.OnPreRender = […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/\" \/>\n<meta property=\"og:site_name\" content=\"Binary Bits\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-25T10:06:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-28T10:14:34+00:00\" \/>\n<meta name=\"author\" content=\"Kannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Kannan_B\" \/>\n<meta name=\"twitter:site\" content=\"@Kannan_B\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kannan\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/\"},\"author\":{\"name\":\"Kannan\",\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855\"},\"headline\":\"Change SharePoint’s “there are no items to show in this view” message\",\"datePublished\":\"2017-05-25T10:06:45+00:00\",\"dateModified\":\"2017-06-28T10:14:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/\"},\"wordCount\":60,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855\"},\"keywords\":[\"JSLink\",\"NoListItem\",\"SharePoint\"],\"articleSection\":[\"SharePoint\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/\",\"url\":\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/\",\"name\":\"Change SharePoint's \\\"there are no items to show in this view\\\" message : Binary Bits\",\"isPartOf\":{\"@id\":\"https:\/\/blog.binarybits.net\/#website\"},\"datePublished\":\"2017-05-25T10:06:45+00:00\",\"dateModified\":\"2017-06-28T10:14:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.binarybits.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Change SharePoint’s “there are no items to show in this view” message\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.binarybits.net\/#website\",\"url\":\"https:\/\/blog.binarybits.net\/\",\"name\":\"Binary Bits\",\"description\":\"Bits & Pieces - A blog by Kannan Balasubramanian\",\"publisher\":{\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.binarybits.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855\",\"name\":\"Kannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/blog.binarybits.net\/wp-content\/uploads\/2017\/04\/12976869_10207528235497646_1307827709790943986_o.jpg\",\"contentUrl\":\"https:\/\/blog.binarybits.net\/wp-content\/uploads\/2017\/04\/12976869_10207528235497646_1307827709790943986_o.jpg\",\"width\":1270,\"height\":1270,\"caption\":\"Kannan\"},\"logo\":{\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Change SharePoint's \"there are no items to show in this view\" message : Binary Bits","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/","og_locale":"en_GB","og_type":"article","og_title":"Change SharePoint's \"there are no items to show in this view\" message : Binary Bits","og_description":"When a list has not data to be shown in the view, we see the following message. There are no items to show in this view of the “<ListName>” list. The following JSLink script helps to change this message. (function () { var overrideCurrentContext = {}; overrideCurrentContext.Templates = {}; overrideCurrentContext.Templates.OnPreRender = changeNoListItemMessage; \/\/OR overrideCurrentContext.OnPreRender = […]","og_url":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/","og_site_name":"Binary Bits","article_published_time":"2017-05-25T10:06:45+00:00","article_modified_time":"2017-06-28T10:14:34+00:00","author":"Kannan","twitter_card":"summary_large_image","twitter_creator":"@Kannan_B","twitter_site":"@Kannan_B","twitter_misc":{"Written by":"Kannan"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/#article","isPartOf":{"@id":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/"},"author":{"name":"Kannan","@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855"},"headline":"Change SharePoint’s “there are no items to show in this view” message","datePublished":"2017-05-25T10:06:45+00:00","dateModified":"2017-06-28T10:14:34+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/"},"wordCount":60,"commentCount":0,"publisher":{"@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855"},"keywords":["JSLink","NoListItem","SharePoint"],"articleSection":["SharePoint"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/","url":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/","name":"Change SharePoint's \"there are no items to show in this view\" message : Binary Bits","isPartOf":{"@id":"https:\/\/blog.binarybits.net\/#website"},"datePublished":"2017-05-25T10:06:45+00:00","dateModified":"2017-06-28T10:14:34+00:00","breadcrumb":{"@id":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.binarybits.net\/change-sharepoints-there-are-no-items-to-show-in-this-view-message\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.binarybits.net\/"},{"@type":"ListItem","position":2,"name":"Change SharePoint’s “there are no items to show in this view” message"}]},{"@type":"WebSite","@id":"https:\/\/blog.binarybits.net\/#website","url":"https:\/\/blog.binarybits.net\/","name":"Binary Bits","description":"Bits & Pieces - A blog by Kannan Balasubramanian","publisher":{"@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.binarybits.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855","name":"Kannan","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/image\/","url":"https:\/\/blog.binarybits.net\/wp-content\/uploads\/2017\/04\/12976869_10207528235497646_1307827709790943986_o.jpg","contentUrl":"https:\/\/blog.binarybits.net\/wp-content\/uploads\/2017\/04\/12976869_10207528235497646_1307827709790943986_o.jpg","width":1270,"height":1270,"caption":"Kannan"},"logo":{"@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/posts\/884"}],"collection":[{"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/comments?post=884"}],"version-history":[{"count":4,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/posts\/884\/revisions"}],"predecessor-version":[{"id":906,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/posts\/884\/revisions\/906"}],"wp:attachment":[{"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/media?parent=884"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/categories?post=884"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/tags?post=884"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}