Programming

Change new item text in SharePoint

The following script changes the “new item” link button in SharePoint view form to whatever we desire. Add either of the script to content editor web part. Plain JavaScript version: (This code assumes that there is only one “new item” text in the entire page.) [crayon-59edbb10be6f7780217780/] jQuery version: (This code Read more…

By Kannan, ago
SharePoint

Hide SharePoint column

Sometimes we need to hide specific SharePoint columns in a list view webpart. The following code will help with that. Make sure this code is placed in a JS file and referenced using JSLink webpart property. Just replace the HideColumn function’s array parameters [“Title”, “Created By”] with necessary column’s display names. Read more…

By Kannan, ago
SharePoint

SharePoint New Item Form Actions

The following post describes 3 of the many new Form Actions available in SharePoint. Cancel: This example shows how to return to home page after user cancels creating the item. [crayon-59edbb10bf04c623199995/] Pre-Save: This example shows how to show an alert and wait for OK or Cancel action. [crayon-59edbb10bf056759627014/] Post-Save: This example Read more…

By Kannan, ago
SharePoint

Sharepoint list quick edit not available?

When you are vieweing a custom view and don’t see the “Edit” menu also called as “Quick Edit”, make sure that particular view has the “Tabular View” configured. This is one of the reasons why sharepoint list’s quick edit is not available in custom viewes. Steps to configure “Tabular View” Read more…

By Kannan, ago
SharePoint

Display attachments using JSLink in SharePoint

Recently I had a requirement where the customer wanted to show the actual attachment’s URL in the list view instead of default Icon. Following JSLink code will help to do that. [crayon-59edbb10bf55b819991047/] Source: https://social.msdn.microsoft.com/Forums/office/en-US/29f7998f-ffc5-4877-b975-a49631b53ba2/show-attachments-with-jslink?forum=sharepointdevelopment

By Kannan, ago
SharePoint

Displaying SharePoint user presence indicator in CSR

The following are code snippets which can be used to show a user’s Lync/Skype for Business presence status in SharePoint Client Side Rendering (CSR). Default Render [crayon-59edbb10bfde4715807288/] With Picture Detail View [crayon-59edbb10bfdec866398532/] With Picture [crayon-59edbb10bfdf2091644317/] Presence Only [crayon-59edbb10bfdf8638693408/] Picture Only [crayon-59edbb10bfdfc345725209/] Source: http://www.sharepointcolumn.com/lync-presence-indicators-code-snippets-in-sharepoint-2013/

By Kannan, ago
Optimization WordPress Plugins & Solutions by W3 EDGE