Posts

SharePoint 2019 New Features

  SharePoint 2019 Majorly brought modern experience available in Online Communication sites: Communication sites are a place to share news, showcase a story, or broadcast a message to other people Create fast sites Fast site creation in SharePoint Server 2019 allows users create new sites in a few seconds ·        OneDrive personal site [SPSPERS#10] ·        Team site (modern only) [STS#3] ·        Communication site [SITEPAGEPUBLISHING#0] Modern Experience SharePoint Server 2019 contains the modern experiences for lists and libraries in Team sites. 1.      Lists and Libraries 2.      Modern WebPart 3.      Site Page 4.      Modern Search Experience 5.      Team Sites Integration with Power Apps, Power BI and Power Automate From the SharePoint home page, you can cre...

Move the list items from one list to another list using PowerShell - SharePoint 2010

Using below script one can move items from one list to another(including CreatedBy/ModifiedBy which are configured in a list(source,target,item age). #*************************************************************************** # Moves list/library items from one location to another location for archiving. Remove-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue $srcListSiteUrl = http://testsite $ConfigListName = "ArchivalConfiguration" $IDFieldName = "OldItemID"  $date = Get-Date -format y $ldate = Get-Date $LogDate = $date -replace " ", "_" $path = "C:\Jobs\ArchivalLog\" If(!(test-path $path)) {     New-Item -ItemType Directory -Force -Path $path } $Logfile = "$($path)\$($LogDate).log" Add-content $Logfile -value "******************************************************************************" Add-cont...

Read list items using REST api with JQuery

$.ajax({     async: true,     crossDomain: true,     url: " http://----------------/sites/-----/_api/Web/Lists/GetByTitle('Menu')/items ",     method: "GET",     headers: {         "accept": "application/json;odata=verbose",         "cache-control": "no-cache",         "postman-token": "452d273c-96f4-d2a1-bd34-463ab627e4ab"     },     success: function (data) {         $.each(data.d.results, function (index, item) {            var id = item.ID;            var title = item.Title;            //var url = item.url;   alert(item.DeptLink);       ...

BCS Limitations in SharePoint 2010

1. External Lists = No workflows 2. No information management policies 3. No version history 4. No Datasheet View 5. No Export to excel 6. No Rest calls using ListData.svc 7. No RSS feeds 8. No Item level permissions 9. No Lookup column 10. No Attachments

Create a SharePoint group and add users using JSOm

Below code will create a sharegroup and adds login user and a static user to the group.    <div>       <h1>Create SharePoint Group </h1>       <br />       <input id="btnCreateCustomGroup" type="button" value="Create SPGroup" />     </div>     <script src="/Style%20Library/Scripts/jquery-1.12.1.js"></script>      <script src="/_layouts/15/sp.js" type="text/javascript"></script>     <script src="/_layouts/15/SP.RequestExecutor.js" type="text/javascript"></script>     <script src="/_layouts/15/SP.search.js" type="text/javascript"></script>     <script type="text/javascript">     $(function() {       $('#btnCreateCustomGroup').click(btnCreateCustomGroup_Click);  ...

Comparing Windows Kerberos and NTLM Authentication Protocols

1. Kerberos is faster than NTLM: Pass through is not applicable to Kerberos. 2. In Kerberos authentication both client and server are authenticated mutually. In NTLM one client is validated, which allows intruders can get the client response.s 3. Kerberos is a open standard NTLM is  proprietary  to Microsoft. 4. Kerberos allows delegation, NTLM(double hop problem because of this) do not. 5. Kerberos supports Smart Card logon, NTLM do not. These are beautifully explained in below article. Ref: http://windowsitpro.com/security/comparing-windows-kerberos-and-ntlm-authentication-protocols

Email Validation for SharePoint list column

Image
Please use the below formula in [Column validation] of the list column edit section. Please replace the [Email] with your column name. Formula: --------------------------------------------------------------------- =AND(     ISERROR(FIND(" ", [Email],1)),     IF(ISERROR(FIND("@", [Email],2)),         FALSE,         AND(             ISERROR(FIND("@",[Email], FIND("@", [Email],2)+1)),             IF(ISERROR(FIND(".", [Email], FIND("@", [Email],2)+2)),                 FALSE,                 FIND(".", [Email], FIND("@", [Email],2)+2) < LEN([Email])             )   ...