Skip to main content

Posts

Showing posts from 2016

Site Logo link to Root Site Collection in SharePoint 2013

For a few recent projects our customers had asked to change the behavior associated with clicking the site logo of a SharePoint 2013 site. By default, when a user clicks the site logo of a subsite, for example, then that user is redirected to that site’s home page. Instead, our customers wanted the behavior such that the redirect was to the  site collection  home page. Fortunately for us, someone else had dealt with a similar request and identified a simple solution. Many thanks to the I am Sam blog and specifically  this post , which explains how to update the  <SharePoint:SPSimpleSiteLink> element in your master page. This is a relatively painless workaround to a common request. Regards, Keyur Pandya

SharePoint hosted apps with Angularjs

Wow.. I thought i won't be able to manage to write a blog this month. Hey guys today i am here with a something of that i have been planning since a long time. Some time back i tried to implement Angularjs with SharePoint. To be frank Angularjs is just awesome. You can have flawless feel while working with it. I don't know how will i manage to work with Angularjs in huge projects but i found it really really good to work with single page applications. Let's have a look to the classic definition of Angularjs that you find when you google for Angularjs. Angularjs "AngularJS is a structural framework for dynamic web apps. It lets you use HTML as your template language and lets you extend HTML's syntax to express your application's components clearly and succinctly. Angular's data binding and dependency injection eliminate much of the code you would otherwise have to write." SharePoint Apps SharePoint Apps, I personally found it more developer

Uploading multiple files to SharePoint List

Wow SharePoint is doing great with SharePoint rest api now you can do almost everything related to SharePoint using rest api. Today I am trying to upload multiple documents to SharePoint list item. You know what the problem is? You first need to create a SharePoint list item and then you can upload documents to the same SharePoint list item. So let’s now try to create a new SharePoint list item. function CreateNewItem() {     var data = {         __metadata: { 'type': "SP.Data.ListItem" },         Title: $('#Title').val()     };     $.ajax({         //_spPageContextInfo.webAbsoluteUrl get current SharePoint site url         url: _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/GetByTitle('" + ListTitle + "')/Items",         type: "POST",         headers: {             "accept": "application/json;odata=verbose",             "X-RequestDigest": $("#__REQUESTDIGEST").val