Category Archives: SharePoint

How to do the SPFx CICD using GitHub Actions?

Summary Use following very simple steps to get any PnP SPFx web part or extensions to your tenant using Github Actions. I recommend use the following two links to get any sample code. https://aka.ms/spfx-webparts https://aka.ms/spfx-extensions Prerequisite is that you have … Continue reading

Posted in SharePoint | Leave a comment

How to add a file to SPO using REST API?

Here is the PowerShell code for it. Note: To get client id and secret use the following link. http://www.ktskumar.com/2017/01/access-sharepoint-online-using-postman/

Posted in SharePoint, SharePoint 2010, SharePoint 2013 | 1 Comment

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

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

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

Using UserPhoto.ASPX to get picture from User Profile Store

Problem ======= As you may know the User Profile Picture is stored in My Site Host site collection. The User Profile property PictureURL store the location of the picture. But the problem I ran in to is cross domain issue … Continue reading

Posted in SharePoint, SharePoint 2013, Uncategorized | Tagged | Leave a comment

From SharePoint Creat field UI, How to provide InterName for the field?

A friend/colleague asked me this question. In the create field UI of SharePoint there is no Internal field input. How to assign internal field name? So here is the trick. 1. First create the field as you want for your … Continue reading

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

Extract WSP Solutions from SharePoint using PowerShell

I used this blog (http://www.sharepointbleached.com/2011/03/extract-wsp-solutions-from-sharepoint.html) to get the script. The following simple PowerShell script will iterate through the solution store and write the WSP packages to file: Start-Transcript “c:\wsp\transcript.txt” [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”)   $solutions = [Microsoft.SharePoint.Administration.SPFarm]::Local.Solutions; foreach ($solution in $solutions) {    $solution.SolutionFile.SaveAs(“c:\wsp\” … Continue reading

Posted in MOSS 2007, SharePoint, SharePoint 2010, Technical Stuff | Leave a comment

Unknown SPRequest error occurred. More information: 0x80020009

I got the following exception when I add the custom web part. Unable to add selected web part(s). WPIndexingOutcomeSummary: Exception occured. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION) There is very little information MOSS 2007 leaves for such exception. (The SharePoint 2010 … Continue reading

Posted in MOSS 2007, SharePoint, Technical Stuff | 1 Comment