Friday, May 19, 2017

Create Self Signed Certificate for Development Environment

In the development environment we can use a self-signed certificate, but for production environment we will need a commercial certificate to publish Apps to store. So we will follow below steps to create a self signed certificate. 1. Open IIS Manager, and click on Server Certificates. (start >...Read more

Wednesday, May 17, 2017

SharePoint 2016 - SharePoint List in SharePoint Hosted App

In this post we will develop a SharePoint List in SharePoint hosted App. SharePoint apps designed to provide specific functionality in SharePoint. So in this article we will talk about a simple scenario of adding the list. That is how we are normally going to use and develop the Apps on SharePoint....Read more

Saturday, May 13, 2017

Error -- SharePoint 2013 Apps: The provided App differs from another App with the same version and product ID

I was doing development in Visual Studio 2015 and while was trying to deploy SharePoint Add-in it gave error. Error : Error occurred in deployment step 'Install SharePoint Add-In' the provided app differ from The provided App differs from another App with the same version and product ID. Reason : You are not allowed to deploy Apps with the Farm Account. Create a new User in Active Directory.  Add...Read more

Friday, May 12, 2017

Generic SharePoint Jquery / Javascript functions - 2

This is another part of SharePoint jQuery / Javascript functions. //Get element from page with partial element id //elemIdPart is the second half (after GUID) of the client id of hidden input  function GetElement(elemIdPart) { var inputElems = document.getElementsByTagName('input'); for (i = 0; i < inputElems.length; i++) { if (inputElems[i].getAttribute('id').indexOf(elemIdPart) >...Read more

Generic SharePoint Jquery / Javascript functions -1

Below are few very generic Jquery / Javascript functions which can be used by SharePoint developer in daily activities. var getFileName = function () {     var chkVisible = $('[id*="_onetidIOFile"]').is(':visible');     var filename;     if (chkVisible) {         filename = $('[id*="_onetidIOFile"]').val() + $("span[dir='ltr']").text();    ...Read more

Automatic web.config changes using a SharePoint, File Size Upload,Web Application level feature

By default for SharePoint, Machine.config is configured to accept HTTP Requests up to 4096 KB (4 MB) and it is reflected in all your ASP.NET applications. TO upload larger files, You can change the Machine.config file directly, or you can change only the Web.config file of the respective application(s). Ideal way is to change web.config of the relevant application. Now if you have access to server,...Read more