All the html related posts.
Category: Html

Error: Java 1.7 or later is required to run solr
ERROR: Java 1.7 or later is required to run solr Please set the JAVA_HOME environment variable to the path where you installed Java 1.7+

Sitecore & Postman: A Quick Starter Guide
Working RESTful API for Sitecore ItemServices gets easier with Postman. Prerequisites Download the latest version of Postman from here. I highly recommend Signing up to keep your Collections in sync. Enable SSL on the CMS environment. You can create a self signed certificate on the CMS environment and add an HTTPS binding Update Policy Setting ...

Translate Plus: Items held up in the Sending State
This is an issue observed specific to TranslatePlus module of Sitecore, which you might be using as a Language Translation Service for your Sitecore implementation. While performing a bulk operation of Sending items to TranslatePlus through the TranslatePlus Admin page, you may encounter an issue where the "Items to send to translation" queue still remain ...

Having multiple JSLink based webparts on the same page, overrides all the other templates in SP 2013
Scenario: Create a dashboard page in SP 2013, displaying just 3 lists in 3 different views using Js Link capability. The 3 lists are: Accordion: A list containing title and description which will be displayed on the dashboard with an accordion functionality with title being the accordion item heading and description being the accordion item body. Menu: ...

JsLink not working with custom columns in a list
Issue: Let's say we have a list view webpart, with a JsLink URL pointing to a js file (~site/SiteAssets/customrenderer.js). JsLink seems to be working fine when we use the "Title" and "Description" fields to render the list items in a color coded format. However, when we try to display a custom column created ex. ColorCode, the JsLink ...

JSLink SharePoint 2013 troubleshooting
JsLink is a good feature that was introduced in SP 2013 to allow users to bring in more flexibility in Client Side Rendering (CSR). With this you can control how your list data is getting displayed in View, Display, Edit and New forms. For ex., you can achieve this using JSLink: You can check ...

SharePoint 2013: Log Analytics through javascript
The following code snippet will help you to log the usage analytics into ULS://Log Views usage event on URL of catalog item window.LogViewsToEventStore = function(url, site) { SP.SOD.executeFunc("sp.js", "SP.ClientContext", function() { var spClientContext = SP.ClientContext.get_current(); if(!$isNull(spClientContext)) { var spWeb = spClientContext.get_web(); var spUser = spWeb.get_currentUser(); var spScope = "{00000000-0000-0000-0000-000000000000}"; ...

$skip does not work in SharePoint 2013 OData REST Endpoint for list item retrieval
This came as a surprise to me seeing the OData URI query option "$skip" does not work, while trying to implement pagination logic on list using SharePoint 2013 REST API. Although this works perfectly well with the old ListData.svc...:( So here are some alternatives that can help you in your paginations: 1. Using $filter URI ...

Extract the Term Sets and their custom properties using CSOM in SharePoint 2013
The code snippet below will help you to query the SharePoint 2013 Term store using CSOM (ECMAScript)://Get the Current SP Context var context = SP.ClientContext.get_current(); //Get the Current SP Taxonomy Session var taxSession = SP.Taxonomy.TaxonomySession.getTaxonomySession(context); //Get the Term Stores instance var termStores = taxSession.get_termStores(); //Get the exact Term Store you would like to query//To get this...goto your term ...

Basics of javascript Templating
Being the 100th post, i felt i should share some of my most useful learning here. And i could not think of anything better than javascript Templating. There are quite a handful of such templating tools available online(JsRender, Underscore.js, Moustache.js...). Feel free to run a jsPerf on the tool you wish to use and then ...