Author Archives: Pankaj

Unknown's avatar

About Pankaj

I am a Developer and my linked profile is https://www.linkedin.com/in/pankajsurti/

How to get WssID for new taxonomy value in the REST Post call?

How to get WssID for new taxonomy value in the REST Post call? So I looked for this and I found various places to use CSOM or JavaScript way to get the WssId. But it is quite simple for the … Continue reading

Posted in SharePoint 2013 | Leave a comment

SPRemoteAPIExplorer cool tool for the developers

The SP Remote API Explorer is pretty cool utility for developers. https://visualstudiogallery.msdn.microsoft.com/26a16717-0c9a-4367-8dfd-bb09e7e2deb5?SRC=Home The utility can be installed on the developer VM with SharePoint and Visual Studio. The utility pre requisite is you will need local SP farm with Visual Studio. … Continue reading

Posted in Uncategorized | Leave a comment

How to navigate to ‘User Photos’ List on my site host?

If you are not aware that the user pictures are stored in the my-site host site collection. The pictures are stored in the ‘User Photos’ list’s folder named ‘Profile Pictures’. There will be three types of picture for an User … Continue reading

Posted in MOSS 2007, SharePoint, SharePoint 2010, SharePoint 2013 | Leave a comment

Workaround for correctly retrieving Single select taxonomy field Label value via REST

Problem: I have list names “Experts” with a Metadata Column as ContosoLevel. When I retrieve the column via REST call I get only following in the response for the column. “ContosoLevel”:{“__metadata”:{“type”:”SP.Taxonomy.TaxonomyFieldValue”},“Label”:”1″,”TermGuid”:”47dd115d-7399-46d1-b985-205e499bbbdd”,”WssId”:1} I was expecting the Label field will have the … Continue reading

Posted in SharePoint 2010, SharePoint 2013 | 1 Comment

Why SPAppWebUrl is empty string for the SharePoint 2013 provided hosted App?

I created a new SharePoint Provided Hosted App. In the app added a single App part using the add item template. I used the {StandardTokens} in the query string of the start page. I got all other values but the … Continue reading

Posted in Uncategorized | Leave a comment

How to change default browser for debugging SharePoint 2013 Apps?

Answer: Basically create a dummy new ASP.NET Web application. Change the debug browser menu and run the app. Close the dummy app. Open your SharePoint 2013 App and you should have your browser changed. I don’t know why there is … Continue reading

Posted in SharePoint 2013 | Leave a comment

How to list the all web parts on a page?

The webparts are on the page. There is a simple way to list all web parts on the page. Simply add “?contents=1” after the page. This will list all the webparts present on the page. You can select and delete … Continue reading

Posted in Uncategorized | Leave a comment

Securing REST Web API in ASP.NET

The REST Web Api endpoint the customer has developed & deployed to Azure website has anonymous access. The REST end point must be secured. I was investigating the best and easier way to secure the REST endpoint in ASP.NET. There … Continue reading

Posted in Azure | Leave a comment

SideWaffle template for AngularJS on Visual Studio

The Side Waffle is very useful for the Angular JS development. http://sidewaffle.com/ VsCommands for Visual Studio 2013 is useful add ins.

Posted in Uncategorized | Leave a comment

Breeze & SharePoint 2013

Breeze is a cool framework to make REST calls from the client side. To better explain Andrew Connal’s blog explains in details http://www.andrewconnell.com/blog/getting-breezejs-to-work-with-the-sharepoint-2013-rest-api. The only problem is that it can not do the cross domain calls so the lists on … Continue reading

Posted in Uncategorized | Leave a comment