User : rumremix
![]() |
Title | User | Language | Tags | Description | Date |
|---|---|---|---|---|---|---|
|
How to retrieve data from a list in Sharepoint 2013 using oData and JavaScript | rumremix | JavaScript | sharepoint | The following code fetches contents of each Title field from the list called "LandingMiddleLinks" |
May 15 |
|
what to do if sharepoint designer gets out of sync with server | rumremix | Other | check | 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 |
March 13 |
|
dynamic current year with JavaScript | rumremix | JavaScript | year | Often on a page footer, we want a copyright date range starting with the year the website was launched and ending the current year. Doing this dynamically means no need to update on 1/1 every year. The js snippet below uses the server date to accomplish this. |
December 28 |
|
Fixing IE Z-index with jquery | rumremix | JavaScript | ie | Useful trick from css tricks blog at http://css-tricks.com/snippets/jquery/fixing-ie-z-index/ |
December 6 |
|
sharepoint 2010 event receiver code that checks in files newly added to style library | rumremix | C# | event | Keep the namespace name, class name, guid that VS automatically generates. Make sure all of the "using" inclusions included. |
December 4 |
|
How to create a sharepoint data form web part that uses only client side JavaScript | rumremix | XSLT | dataform |
|
September 26 |
|
how to use dynamically generated .Net element IDs on page in jquery or css | rumremix | ASP | dynamic | In the examples, below, Step1 is the id given to the element. If the element is set to runat="server", when it is rendered on the page, the id will change dynamically to something like ctl00$PlaceHolderMain$Step1. But the actualy value may change. To make sure we capture that actualy value to manipulate the element in javascript or css, use the technique below. Note that this code will need to live on the same page as the element, not in an external js or css file. |
September 13 |
|
dynamically loading javascript file | rumremix | JavaScript | javascript | see link |
July 3, 2012 |
|
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 | rumremix | JavaScript | hover | 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. |
June 15, 2012 |
|
custom jquery selectbox dropdown | rumremix | jQuery | select | Simple solution found via link. Just edit code from demo page(s). Also http://uniformjs.com/ |
April 12, 2012 |
|
Breadcrumb in Sharepoint 2010 | rumremix | ASP | breadcrumb | Javascript method at end of noted URL. ASP version in code below. |
March 1, 2012 |
|
Setting up Sharepoint files as a visual studio .Net solution | rumremix | XML | project | Setting up a sp .net soln
to add files, create a module... right-click project --> add --> new item select "module" give the module a name (such as masterpagecatalog) this will create the module, containing an elements.xml file and open the elements.xml file in code editor. Sample.txt will also be created but may be deleted. Drag any previously created files that will live in the new module into the module icon in solution explorer Edit elements.xml. (See source area below for example edits to make to elements.xml) Edits to make to default xml: in tag, put a url (such as Url="_catalogs/masterpage" ) and put RootWebOnly="TRUE" The tag will also be created with a default url property. Make sure to edit this so that it is correct. By default, it will create a path starting with the name of the module. And if there is no such folder already with that name beneath the Module path, the feature will create one. The actual path is designated by both the url property and the url property (that is, both of those properties are combined). Add Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE" to the elements. IgnoreIfAlreadyExists="TRUE" means "overwrite existing file". Type="GhostableInLibrary" setting is used when a file is placed into a library. If a file is placed outside of a library, Type="Ghostable" would be used. Change the tags so that it is not self-closing. Add some Property tags.Columns in the master page correspond to file object properties indicated in the module xml. Other file properties in the xml will also be added to the "property bag" that do not correspond to master page columns (see tags above). First, it is good practice to always add On compliation, Value="$SharePoint.Feature.Id$" will be replaced with guid of feature. For a master page, the following metadata will be added via the property tags
Make sure to edit the description as appropriate. When the module was created, VS automatically created a feature called "Feature 1". Note that features may also be created by right-clicking "Features" in soln explorer and selecting "Add Feature". |
February 10, 2012 |
|
good hr styles | rumremix | CSS | css | see other good styles at the url provided |
December 3, 2011 |
|
hijack submit or save button on sharepoint list form to redirect | rumremix | XSLT | form | Comment out the SharePoint:SaveButton tag and replace with input tag |
November 2, 2011 |
|
How to embed javascript and html inside xslt | rumremix | XSLT | javascript | Place the following inside a |
October 8, 2011 |

