SharePoint Framework (SPFx) Toolchain

Posted on Updated on

The-SharePoint-framework-an-open-and-connected-platform-2-768x307

Node.js

 

2017-12-02_22-14-55

Local JavaScript runtime Engine. Similar to .NET Framework in .NET development.

npm (Node Package Manager)

 

2017-12-02_22-17-26.png

Package and dependency management. Similar to NuGet

Yeoman

 

yeoman-logo

Uses a generator framework to provide scaffolding for Client Side Web part Projects. Similar to Project templates in visual studio. E.g. SharePoint project templates in Visual Studio

Visual Studio Code or any IDE that supports client-side development to build your web part.

 

2017-12-02_22-29-09

Use for Building and Debugging web applications

Visual Studio Code
Atom
WebStorm 

TypeScript

 

2017-12-02_22-30-43

Super set of JavaScript and an Open Source Programming language. It’s provide Static Typing, Classes and Interfaces

Gulp

 

2017-12-02_22-31-51.png

This is similar to MSBuild. It automates the repetitive tasks for Build, packaging and deployment processes during the development.

Workbench

To Preview client side web parts running locally without deploying to SharePoint

More Resources

 

SharePoint 2013 Excel Service 401 Error

Posted on Updated on

Recently when I’m working with SharePoint Excel services i received below error message.

“Before Opening Book ObjectSystem.Net.SystemNetworkCredentialSystem.Net.WebException: The request failed with HTTP status 401: Unauthorized. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at ExcelService.OpenWorkbook(String workbookPath, String uiCultureName, String dataCultureName, Status[]& status)”

to get rid of this error you have to disable “Loopback Check” from front end servers and app servers. you can follow these steps to disable Loopback Check.

Method 1: Specify host names (Preferred method if NTLM authentication is desired)

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  3. Right-click MSV1_0, point to New, and then click Multi-String Value.
  4. Type BackConnectionHostNames, and then press ENTER.
  5. Right-click BackConnectionHostNames, and then click Modify.
  6. In the Value data box, type the host name or the host names for the sites, and then click OK.
  7. Quit Registry Editor, and then restart the IISAdmin service.

Method 2: Disable the loopback check (less-recommended method)

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
  3. Right-click Lsa, point to New, and then click DWORD Value.
  4. Type DisableLoopbackCheck, and then press ENTER.
  5. Right-click DisableLoopbackCheck, and then click Modify.
  6. In the Value data box, type 1, and then click OK.
  7. Quit Registry Editor, and then restart your computer.

 

Happy Coding Smile

Anonymous Users get Credentials Prompt For Default “osssearchresults.aspx” Search Page on SharePoint Publishing Site

Posted on Updated on

Recently i came across a weird kind of issues..i have SharePoint 2013 farm with Several host header site collection.those site collections are enable to the public also, therefore all anonymous users can view those site collections.Except one site collection anonymous user can access “osssearchresults.aspx” default search page.all site collections are in the same web application.to verify the problem i created a separate web part page and inserted “Search Box” web part and “Search Result” Web part.still the same problem new page also prompting the user credentials for anonymous users.then i used fiddler to identify what are the pages that are prompting permission.actually it’s not pages. there are some “JS” files that required user credentials. reason is those files are not published properly.so what i did was i “checked in” all those “JS” files by publishing major version of those files.

*Note :- “Control_SearchBox.js and Control_SearchResult.js” are the two main files related to “osssearchresults.aspx” page..therefore make sure you publish/”check in” the major version of those two files.

below you can find two directories.you need to “check in”  all unpublished “JS” files in these two directories.using SharePoint designer navigate to these directories and publish/”check in” new version of it’s “JS” files.SharePoint use these “JS” files in “Search Box” and “Search Result” Web Parts.if these files are not publish/”check in” properly that means anonymous users cannot access these files.that’s why “Search Box” and “Search Result” web parts are prompting for credentials.

 

“Catelogs/masterpages/display template/search”

SearchBox

“Catelogs/masterpages/display template/finters “

SearchBox

if the problem still exist use “Fiddler” to identify remaining files which are still prompting for credentials .you can download Fiddler using this link.  Hope This is help to you.. 🙂

Brunei Cloud Users Group Monthly Gathering – October 2016

Posted on Updated on

I’m really happy to announce that I will be speaking at the Brunei Cloud Users Group in Brunei, October 29 2016.

More Information
http://www.sharepointbrunei.net/
praneeth@sptricks.com 

October_Session_2016

Free eBooks from Microsoft Press

Posted on

Free eBooks are available in PDF, EPUB and Mobi for Kindle formats. click here to download.
Find more books & eBooks at The Microsoft Press Store.

Brunei Cloud Users Group Monthly Gathering – December 2015

Posted on Updated on

I’m really happy to announce that i will be speaking at the Brunei Cloud Users Group in Brunei, December 19 2015.

More Information
http://www.sharepointbrunei.net/
praneeth@sptricks.com

Banner-DEC-2015

Brunei Cloud Users Group Monthly Gathering – October 2015

Posted on Updated on

I’m really happy to announce that i will be speaking at the Brunei Cloud Users Group in Brunei, October 31 2015. http://www.sharepointbrunei.net/

BCUGNewOCT2015

SharePoint Brunei User Group Monthly Gathering – March 2015

Posted on

I’m really happy to announce that i will be speaking at the SharePoint Brunei User Group in Brunei, March 31 2015. http://www.sharepointbrunei.net/

SPBUG_Mar2015

SharePoint Brunei User Group Monthly Gathering – February 2015

Posted on

I’m really happy to announce that i will be speaking at the SharePoint Brunei User Group in Brunei, February 28 2015. http://www.sharepointbrunei.net/

SPUGBN-FEB-2015

SharePoint Brunei User Group Monthly Gathering – October 2014

Posted on Updated on

I’m really happy to announce that i will be speaking at the SharePoint Brunei User Group in Brunei, October 30 2014. http://www.sharepointbrunei.net/

SPB2014OCT