Profile

All time reputation: 272

Achievement

first submission:submitting first snipplet

rumremix's Recent SnippetsTagged sharepoint



« Prev 1 2
  1. 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 rumremix
  2. 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 rumremix
  3. 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 rumremix
  4. 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 rumremix
  5. 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 rumremix
  6. 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 rumremix
  7. 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 rumremix
  8. 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 rumremix
  9. 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 rumremix
  10. 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 rumremix
  11. FAV

    Fix SharePoint 2010 scrollbar issues

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

    style the search bar in sharepoint 2010

    This is the quickest way to style the search bar. It involves creating one single image that includes both the input area and search button.
    CSS 4 views posted 8 years ago rumremix
  13. FAV

    removing I Like and Tags and Notes icons from Sharepoint 2010

    ASP 3 views posted 8 years ago rumremix
  14. FAV

    how to remove unwanted elements from appearing in sharepoint dialog boxes

    simply add s4-notdlg to the class of the element that you don't want to appear in dialog boxes. See example.
    HTML 4 views posted 8 years ago rumremix
  15. FAV

    sharepoint 2010 css reset

    The "inherit" aspect of this did not always work for me. For example, font-family may need to be explicitly specified in the generated css (in place of "inherit"). But this just takes a couple seconds. Simply search for "family" and replace "inherit"...
    CSS saved by 2 people 3 views posted 8 years ago rumremix
  16. FAV

    how to fix sharepoint designer when it gets out of sync

    Sometimes SPD gets confused as to which files are checked out or not and to whom. This fix generally works.
    Other 3 views posted 8 years ago rumremix
  17. FAV

    Extending SharePoint modal window

    JavaScript 1 views posted 8 years ago rumremix
  18. FAV

    SharePoint Edit Mode Panel

    You need to register this at the top of the page (see code below). Remember you can do this on a layout page as well, instead of the master page. Then place the PublishingWebControls:EditModePane tag inline (see below). The ID can be anything...
    C# 0 views posted 8 years ago rumremix
  19. FAV

    reading and writing list data in SharePoint 2010 using SPServices

    Just syntax examples here. First block reads, second writes. Top function just a debugging helper. Using jquery 1.5, $(xData.responseXML).find("nodeName=z:row]").each(function(i)... may need to be written as $(xData.responseXML).find("nodeName='z...
    jQuery 8 views posted 9 years ago rumremix
  20. FAV

    Sharepoint 2010 Custom Class For Content Editor Web Part Css Syntax

    Further below in the code are the default style declarations that can be overridden in custom css. To create custom classes that will be available in the rich text editors, follow the example below: .ms-rteElement-appleRed { color:red; -ms...
    CSS 6 views posted 9 years ago rumremix
  21. FAV

    Sharepoint: limit the results in caml query

    First option uses a parameter in <a href="http://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices/">spservices method</a> to limit the results to four. Second option limits the results returned to six in the c...
    JavaScript 6 views posted 9 years ago rumremix
  22. FAV

    sharepoint master page css link

    Using the CssRegistration control is the proper way to register CSS in a SharePoint master page/layout page, but it has drawbacks. Namely, no matter what order you put them on the page the server loads them in a seemingly arbitrary order, making it...
    C# saved by 6 people 2 views posted 9 years ago rumremix
  23. FAV

    sharepoint master page script link

    <asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath &lt;form&gt;
    ASP 4 views posted 9 years ago rumremix
  24. FAV

    sharepoint root url

    JavaScript 1 views posted 9 years ago rumremix
  25. FAV

    SHAREPOINT 2010 READ FROM LIST USING ECMASCRIPT

    This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
    JavaScript 4 views posted 9 years ago rumremix
  26. FAV

    sharepoint 2010 write to list using ecmascript

    This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
    JavaScript 2 views posted 9 years ago rumremix
  27. FAV

    Sharepoint Ajax List Data populater Example

    JavaScript 6 views posted 9 years ago rumremix
  28. FAV

    sharepoint 2007 custom class for content editor web part css syntax

    CSS 2 views posted 9 years ago rumremix
  29. FAV

    sharepoint javascript date formatter

    converts date/time that sharepoint kicks out to m/d/y format.
    JavaScript 2 views posted 9 years ago rumremix
  30. FAV

    redirecting a sharepoint new form

    <input> When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user. You could also put any URL in the __redirect={} that yo...
    JavaScript 2 views posted 9 years ago rumremix
« Prev 1 2