Thursday, October 21, 2021

Create wiki page library in SharePoint Online

 Wiki page library cannot be created directly from the Site Contents - > Add an App option. However there is a workaround to create one.

In the below link/url, replace the tenant and siteurl properties and enter in a browser tab, you will be shown the option to create a wiki pages library. This is very useful when you want to migrate the on-prem classic pages to SharePoint Online

https://tenant.sharepoint.com/sites/siteurl/_layouts/15/new.aspx?FeatureId={00bfea71-c796-4402-9f2f-0eb9a6e71b18}&ListTemplate=119&


Tuesday, May 28, 2019

Microsoft Teams is quickly gaining ground in its battle with Slack

There’s really no question at this point that Microsoft has managed to make itself relevant again. Under CEO Satya Nadella, the software giant has stormed the cloud computing business, revived its corporate culture, and in April surpassed $1 trillion in market value. But if you have any lingering doubts, consider what Microsoft’s rivals have to say about it.

In its S-1 filing, Slack, the San Francisco-based software maker, describes Microsoft as its primary competitor. In the burgeoning world of workplace-collaboration apps, there is perhaps no higher praise.

Slack, which launched in 2014 and plans to list directly on the public market June 20, boasts more than 10 million users in 150-plus countries. More than 600,000 organizations use its tools.
Microsoft, long known for Office 365 and Outlook email systems, launched Microsoft Teams in 2017 to directly compete with Slack. Two years later, Teams is already catching up and helping Microsoft move into the modern office.

More than 500,000 organizations, including 91 of the Fortune 500 companies, use Teams, according to Microsoft. Last March, Teams was used by more than 200,000 organizations, up from 50,000 during its launch year. Microsoft, which has not disclosed the number of individual users, has said that Teams is the fastest-growing app in the company’s history.

Microsoft also has been focusing its attention on non-desk workers, with customization that let workers manage shift schedules or request time off directly from their mobile devices. (Slack has not indicated that it is targeting the non-desk workforce, although a handful of enterprising businesses in industries ranging from farming to retail to healthcare have become adopters of its software.)

With Teams, thanks to the integration of the Office 365 suite, you can access video, Outlook, and documents (the latter of which you can edit) directly from the app.


Reference - https://qz.com/work/1619049/microsoft-teams-is-quickly-gaining-ground-on-slack/

Tuesday, November 14, 2017

Color coding list row based on DUE DATE

Requirement was to Color Code the list row based on Due Date.

Agree that there are many ways to achieve this - JSLink, SPFx etc. But below is a quick and easy method of adding the HTML and JavaScript in a calculated field.

Adding HTML in calculated field is not going to be supported in the future by MS, however this method still works:



Create a calculated column and add the below code. Here "DueDate" is the date field.
By modifying the Range and CSS values - logic can be changed for various due dates.


 =IF(ISBLANK([DueDate]),"Missing Due date",
    "
    &"    var SPday=new Date();"
    &"    SPday.setFullYear("
    &YEAR([DueDate])
    &","
    &MONTH([DueDate])-1
    &","
    &DAY([DueDate])
    &");"
    &"    var Days=Math.round((SPday.getTime()-new Date().getTime())/86400000);"
    &"    var Range=[ -365*20 , -365*10 , -1 , 0 , 30 , 60 , 90 ];"
    &"    var CSS=['Pink','Pink','Pink','transparent','yellow','transparent','transparent'];"
    &"    for (var i=0;i
    &"    var TR=this;while(TR.tagName!='TR'){TR=TR.parentNode}"
    &"    TR.style.backgroundColor=Color;"
    &"    this.parentNode.innerHTML=((Days<0 due="" font="" ot="">
    &"}"">")

Reference - https://sharepoint.stackexchange.com/questions/151144/how-to-use-today-and-me-in-calculated-column/151147

Thursday, March 9, 2017

SharePoint - Move List or Library to another site using PowerShell

The Powershell command Export-SPWeb and Import-SPWeb can be used to move the lists or library across sites retaining the Version History, Permissions etc.

This option comes in handy when the list or library size in huge and you cannot save it as template or the Content and Structure feature is not helpful in retaining the versions or some metadata associated.

Sample script to move a list or library is given below

Export-SPWeb -Identity -Path "E:\temp.cmp" -ItemUrl -IncludeVersions All -IncludeUserSecurity

Import-SPWeb -Identity -Path "E:\temp.cmp" -IncludeUserSecurity

here ItemUrl - should be in the format /managedpath/sitename/lists/listname or /managedpath/sitename/libraryname
Example:
/sites/sitename/lists/contacts or /sites/sitename/Documents

More details and options can be found here
https://technet.microsoft.com/en-us/library/ff607895.aspx

https://technet.microsoft.com/en-us/library/ff607613.aspx

Tuesday, May 12, 2015

Links to SharePoint default images


SharePoint root (file system) has huge number of images and icons that can be used in the SharePoint site. However there is no utility that allows us to browse and choose these images from the client side (browser).

Sometime back I came across this utility by Paul T, this is a very nice single aspx that allows you to browse all the images and use the images by simply copying the URL Ex: /_layouts/images/BICENTERScorecard.png

The tool provides options to browse images from SP 2007 or 2010 or 2013 version.

You can download the utility from GitHub location below.
https://github.com/purtuga/SPImages/blob/master/utility/SPImages.aspx

Thanks to Paul T.

Thursday, May 7, 2015

Jquery for multi-image zoom

The below jquery is very useful to display small images (thumbnails) and zoom or larger images on click of the thumbnails.

http://jsfiddle.net/manoj2784/Etkjr/17/

Friday, February 7, 2014

Enabling space characters in URL of a publishing page

SharePoint by default converts all space characters entered for the URL name are converted to a "-" sign. This is actually a good idea as reading something like "My-shopping-cart.aspx" looks better than "My%20shopping%20cart.aspx".

If there is a need to include space characters in the URL, it can be enabled by below mentioned steps. 
Navigate to - "Site Settings" - "Look and Feel" - "Page Layouts and Site Templates" - scroll down to the bottom and change the "Convert blank spaces in page name to '-'" option.