Work logs of William Yin

Life in the IT lane – Best Practices for SharePoint, Office365, Azure, AWS, React, Angular, Vue.js and ASP.NET core.

SharePoint

Update SharePoint 2013 search result to show https URLs (SSL)

When you upgrade you web site to SSL in SharePoint, you may need to consider re-configuring your search service to ensure it works well with the new URL with https. This article records the steps I did with the search Read more…

By William Yin, 8 years ago August 3, 2015
SharePoint

Check authentication type in SharePoint (Kerberos or NTLM)

When I had the requirement to check the authentication type via code in SharePoint, I did some quick search with Google, and found two main ways talked on internet. After played with both of them, I found using ServerVariables[HTTP_AUTHORIZATION] does Read more…

By William Yin, 8 years ago July 6, 2015
SharePoint

JavaScript code quality – browser compatibility improvement

Just a very quick tip about fixing two common mistakes, which would make your JavaScript code throw error in some browsers. Shame Code 1: console.log(“log some message”); Never use a naked console.log() as you don’t know if the client browser Read more…

By William Yin, 8 years ago July 4, 2015
SharePoint

Known issue – LINQ to SharePoint + SPSecurity.RunWithElevatedPrivileges

This is quite a known issue from my previous work note, and I thought it might be a good idea to share it here. LINQ to SQL is good and handy to use when you query list data in your Read more…

By William Yin, 8 years ago June 1, 2015
SharePoint

Easiest way to apply a JS file in SharePoint site collection scope!

The “SharePoint site collection scope” here includes both “Site pages” and “System pages”, which are reflected by two master pages in SharePoint “Site Master Page Settings”: It’s very obvious and easy to apply a customized CSS file into this scope Read more…

By William Yin, 8 years ago May 9, 2015
SharePoint

PowerShell and STSADM command comparation

First of all, we need to clarify that PowerShell command is only available for SharePoint since SharePoint 2010, we can only use Stsadm for previous versions of SharePoint. If you are using a normal PowerShell console instead of “SharePoint Management Read more…

By William Yin, 8 years ago March 7, 2015
SharePoint

URL object models in normal asp.net and SharePoint

Getting page URLs in SharePoint sites is a bit different from normal ASP.NET sites, this article shows some examples about how to use them. In normal asp.net site: e.g. If we got a URL like http://localhost:81/cuisine/french/default.aspx, then we can use the below Read more…

By William Yin, 8 years ago February 22, 2015
Recent Posts
  • Update SharePoint 2013 search result to show https URLs (SSL)
  • Check authentication type in SharePoint (Kerberos or NTLM)
  • JavaScript code quality – browser compatibility improvement
  • Known issue – LINQ to SharePoint + SPSecurity.RunWithElevatedPrivileges
  • Easiest way to apply a JS file in SharePoint site collection scope!
Categories
  • SharePoint
  • EnglishEnglish
  • 中文 (中国)中文 (中国)
Archives
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • March 2015
  • February 2015
Meta
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
  • About Me
  • From the Editor
Hestia | Powered by WordPress