Install code . to work on Mac terminal

February 5, 2017 9:35 am Leave a comment

CMD-Shift-P and just pick “Install ‘code’ command in PATH”.

Categories: Uncategorized

Search Recent Content not working

October 18, 2016 10:38 am Leave a comment
If you are having issues with using Recently Changed Content or Popular Content web parts
please ensure you have the following features enabled
Name: SearchConfigContentType
Description : Search Config Data Content Types
Scope: Web
FeatureID: 48a243cb-7b16-4b5a-b1b5-07b809b43f47
Name: SearchConfigFields
Description: Search Config Data Site Columns
Scope Web
FeatureID: 41dfb393-9eb6-4fe4-af77-28e4afce8cdc
Or from UI
search-config-features
Categories: Uncategorized

Double negation Javascript

May 13, 2016 9:42 am Leave a comment

It casts to boolean. The first ! negates it once, converting values like so:

  • undefined to true
  • null to true
  • +0 to true
  • -0 to true
  • '' to true
  • NaN to true
  • false to true
  • All other expressions to false

Then the other ! negates it again. A concise cast to boolean, exactly equivalent to ToBoolean simply because ! is defined as its negation.

Categories: Uncategorized

Field Type in Caml Query

April 8, 2016 3:58 pm Leave a comment

 

  • Text
  • Number
  • DateTime
  • Guid
  • MultiChoice
  • Lookup

 

 

Categories: Uncategorized

Building DevPNP solution powershell commands fail

April 25, 2015 2:33 pm 1 comment

Where to find the PowerShell executable for both x64 and x86

The x64 version of PowerShell (Windows 8.1) can be found under:

“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

The x86 version of PowerShell (Windows 8.1) can be found under:

“C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe

Change execution policy to use PowerShell in Visual Studio

Now we know we have two versions of PowerShell we can change the execution policy for the x86 version of PowerShell. Start the “C:\Windows\syswow64\WindowsPowerShell\v1.0\powershell.exe” with “Run as administrator”. Now change the execution policy accordantly.

Set-ExecutionPolicy Unrestricted

Categories: Uncategorized

Set as home page

April 16, 2015 1:35 pm Leave a comment

If you want to set a Custom Page as a Home Page in a typical SharePoint Team site, you can simply do that by Opening the Page and selecting Page tab -> Make HomePage button to set this particular page as default Home Page for your site.

Categories: Uncategorized

Automatic Creation of Managed Metadata in SP 2013

March 29, 2015 8:29 am Leave a comment

In SharePoint Server 2013, only site columns that contain values will automatically become managed properties when they are crawled. Regular columns will not automatically become managed properties when they are crawled.

https://technet.microsoft.com/en-us/library/jj613136

Categories: Uncategorized