Welcome To Snipplr
Everyone's Recent Snippets Tagged sharepoint
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Code to add the calender webpart on SharePoint Online by Powershell
0
940
posted 8 years ago by ashusah
Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"
0
969
posted 11 years ago by rumremix
The following code fetches contents of each Title field from the list called "LandingMiddleLinks"
0
1437
posted 11 years ago by rumremix
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
0
1015
posted 11 years ago by rumremix
Keep the namespace name, class name, guid that VS automatically generates. Make sure all of the "using" inclusions included.
0
983
posted 11 years ago by rumremix
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...
0
1455
posted 12 years ago by rumremix
JavaScript
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...
0
1058
posted 12 years ago by rumremix
Both ASP and Javascript versions provided below. Use either one or the other. Code should be placed in a SharePoint 2010 master page.
0
990
posted 12 years ago by rumremix
<strong>Setting up a sp .net soln</strong>
<p>File --> New --> Project</p>
<p>on lefthand side -> Sharepoint -> 2010</p>
<p>usually select an empty template</p>
<p>name the project</p>
<p></p>
<p>to add files, create a module...<...
0
1169
posted 12 years ago by rumremix
Comment out the SharePoint:SaveButton tag and replace with input tag
0
1380
posted 13 years ago by rumremix
.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...
0
831
posted 13 years ago by nickaranz
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.
0
1309
posted 13 years ago by rumremix
Returns the username (domain\username) of the user that is currently logged in sharepoint. Can be used inside features / custom pages
0
952
posted 13 years ago by dimian12
I also included how to provision a Calendar list web part in Calendar View
0
955
posted 13 years ago by nickaranz