Welcome To Snipplr


Everyone's Recent Snippets Tagged sharepoint



« Prev 1 2 3
  1. FAV

    add the calender webpart on SharePoint Online by Powershell

    Code to add the calender webpart on SharePoint Online by Powershell
    Other 3 views posted 3 years ago by ashusah
  2. FAV

    Clear SharePoint Deisgner cache

    This is batch file clearing SharePoint Designer cache
    DOS Batch 6 views posted 6 years ago by rflipper
  3. FAV

    Clear SharePoint Deisgner cache

    This is batch file clearing SharePoint Designer cache
    DOS Batch 4 views posted 6 years ago by rflipper
  4. FAV

    sharepoint absolute site collection URL javascript variable

    Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"
    JavaScript 6 views posted 6 years ago by rumremix
  5. FAV

    How to retrieve data from a list in Sharepoint 2013 using oData and JavaScript

    The following code fetches contents of each Title field from the list called "LandingMiddleLinks"
    JavaScript 7 views posted 6 years ago by rumremix
  6. FAV

    what to do if sharepoint designer gets out of sync with server

    check the file out in the browser in spd, right click the file and choose "undo checkout" repeat the last two steps until the checkmark goes away in spd check the file out in spd. it should now get the latest version to edit
    Other 3 views posted 6 years ago by rumremix
  7. FAV

    sharepoint 2010 event receiver code that checks in files newly added to style library

    Keep the namespace name, class name, guid that VS automatically generates. Make sure all of the "using" inclusions included.
    C# 4 views posted 7 years ago by rumremix
  8. FAV

    How to create a sharepoint data form web part that uses only client side JavaScript

    With jQuery and SPServices, we have very powerful tools for accessing and manipulating Sharepoint data and precisiely contolling the presentation, entirely from the client side. But such solutions generally need to be either hard-coded into pages or...
    XSLT 10 views posted 7 years ago by rumremix
  9. FAV

    get hover effect of global nav parent link to roll off at same time dropdown goes away in out of the box sharepoint global nav

    The class, "activeDDParent", needs css that will cause the parent to have the same hover effect it has when the mouse hovers over it. This class allows for the out-of-the-box sharepoint rollof delay. "portalnavwrapper" is just the class of a div I ha...
    JavaScript 10 views posted 7 years ago by rumremix
  10. FAV

    get Current SPSite

    without trailing slash
    JavaScript 1 views posted 7 years ago by Hirsel
  11. FAV

    Breadcrumb in Sharepoint 2010

    Both ASP and Javascript versions provided below. Use either one or the other. Code should be placed in a SharePoint 2010 master page.
    ASP 8 views posted 7 years ago by rumremix
  12. FAV

    Setting up Sharepoint files as a visual studio .Net solution

    <strong>Setting up a sp .net soln</strong> <p>File --&gt; New --&gt; Project</p> <p>on lefthand side -&gt; Sharepoint -&gt; 2010</p> <p>usually select an empty template</p> <p>name the project</p> <p></p> <p>to add files, create a module...<...
    XML 13 views posted 8 years ago by rumremix
  13. FAV

    hijack submit or save button on sharepoint list form to redirect

    Comment out the SharePoint:SaveButton tag and replace with input tag
    XSLT 4 views posted 8 years ago by rumremix
  14. FAV

    Better Print for SharePoint Page

    .zz1_logoLinkId_1 { color: #fff; background-image:url("/_layouts/Images/HLLMRKLINK/Logo.gif"); background-repeat:no-repeat; background-position:15px 10px; background-color:#67507e; display:block; width: 170px; height: 88px; overflo...
    JavaScript 4 views posted 8 years ago by nickaranz
  15. FAV

    JavaScript in XSLT template

    XSLT 3 views posted 8 years ago by nickaranz
  16. FAV

    SharePoint Field Validator

    ASP 5 views posted 8 years ago by nickaranz
  17. FAV

    SharePoint Styling Common Controls

    ASP 4 views posted 8 years ago by nickaranz
  18. FAV

    SharePoint Quick Modal Dialog

    JavaScript 4 views posted 8 years ago by nickaranz
  19. FAV

    Add Javascript in itemStyle.xsl

    SASS 7 views posted 8 years ago by diogoweb
  20. FAV

    SharePoint 2010 Write to ULS logger

    Modify as neccesary, add more areas.
    C# 1 views posted 8 years ago by nickaranz
  21. FAV

    Customazing XsltListViewWebPart XSL with pagination

    XSLT 2 views posted 8 years ago by diogoweb
  22. FAV

    Getting Query String Parameters from URL

    JavaScript 3 views posted 8 years ago by nickaranz
  23. FAV

    Getting Query String from Event Receiver

    only works in async. events. Ending in "ing"
    C# 2 views posted 8 years ago by nickaranz
  24. FAV

    change the default search box text in SharePoint 2010 using JQuery

    Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
    JavaScript 3 views posted 8 years ago by rumremix
  25. FAV

    List View Web Part cross sites

    XML 5 views posted 8 years ago by nickaranz
  26. FAV

    Name of currently logged in user in sharepoint

    Returns the username (domain\username) of the user that is currently logged in sharepoint. Can be used inside features / custom pages
    C# 5 views posted 8 years ago by dimian12
  27. FAV

    Fix SharePoint 2010 scrollbar issues

    see link
    CSS 2 views posted 8 years ago by rumremix
  28. FAV

    Creating Custom Web Part Properties

    Steps to add custom properties to web part
    C# 2 views posted 8 years ago by nickaranz
  29. FAV

    Provisioning Web Parts in Templates - ListViewsWebPart Basic structure

    I also included how to provision a Calendar list web part in Calendar View
    XML 3 views posted 8 years ago by nickaranz
  30. FAV

    Add Calendar View Web Part PowerShell Script

    Windows PowerShell 6 views posted 8 years ago by nickaranz
« Prev 1 2 3