Archive for the ‘JavaScript’ Category

I’ve prepared a SPSEMEA Demo site that you can simply upload to your (http://[siteUrl]/_catalogs/wt) Site template gallery. You can download the .stp from CodePlex After you’ve uploaded the file to the Site template gallery you can create a subsite (English language) and from Custom you can select the uploaded template. Below’s a brief overview where [...]

Wednesday, February 3rd, 2010 at 23:31 | 0 comments

Due to a lot of comments and questions to my last year’s post about Attaching functions to SharePoint form fields concerning especially lookup fields on which the demo was made, I’ve decided to take a deeper dive into SharePoint’s Lookup Field and how to manipulate it client-side, since it behaves different in different situations. On [...]

Monday, October 26th, 2009 at 00:23 | 48 comments

This trick works with a list view (not calendar view) of any list that has dates. It doesn’t work in a calendar view of a list. We’ll need jquery for this script to work. So if you don’t have jquery uploaded you can download it from jquery.com. The way I usually add it to the [...]

Saturday, August 29th, 2009 at 10:54 | 0 comments
Tags:

Thanks Michael for pointing the issue out. I’ve finally caught up on some work that needed to be done on ERTE and now the new version is available for download. The updates are as follows: Fix for IE8, wrapped the thing in a function so you can run it on custom event added support for [...]

Wednesday, May 6th, 2009 at 19:02 | 5 comments
Tags:

When inserting JavaScript code into XSLT dataForm webpart it can sometimes get tricky. Sometimes SharePoint designer messes up our code or we have huge trouble with & signs,… the best way to insert the JavaScript code block into XSLT data view is to enclose it with xsl:text and cdata. Below is the sample: <xsl:text disable-output-escaping=”yes”> [...]

Thursday, March 12th, 2009 at 15:28 | 3 comments
Tags:

If you need custom CAML (for example in Content Query WebPart QueryOverride) and you need items filtered by Current User – the one that is currently logged in, you can setup the following filter (the example below references the field “Assigned To”: <Where>   <Eq><FieldRef Name=’AssignedTo’ LookupId=’TRUE’/><Value Type=’Integer’><UserID/></Value></Eq> </Where> In the example above what I [...]

Monday, March 2nd, 2009 at 11:03 | 3 comments
Categories: JavaScript, MOSS, SharePoint
Tags:

If you’ve made custom forms with SharePoint designer and you’ve modified it quite a lot, everything looks good in SharePoint designer, but when you open it in the web browser, you get the following error, the solution is simple: put your insert/edit form in a div. Let me explain more in detail. A lot of [...]

Sunday, February 15th, 2009 at 21:17 | 0 comments
Categories: JavaScript, XSLT
Tags:

I find it very annoying to have to manually adjust a certain task in task list to 100% after I’ve marked it completed. That’s why I’ve prepared this small script to do this for me. In the EditForm of the tasks list add the Content Editor WebPart (using the method I already described), open its [...]

Wednesday, February 11th, 2009 at 15:42 | 0 comments
Categories: JavaScript, SharePoint
Tags:

If you’ve tried to insert a form into a sharepoint’s page you mus have been disappointed. The form just didn’t work. You can’t make the form to post or get to some url, because the whole SharePoint’s page is one big <form> element. So I went a bit deeper on how Microsoft guys are doing [...]

Thursday, September 4th, 2008 at 16:30 | 27 comments
Categories: JavaScript, SharePoint, XSLT
Tags:

There were some questions about how to deploy the ERTE solution that I’ve prepared on Codeplex (for inserting embeddable content to SharePoint Enhanced Rich Text Field). So I’ve prepared a video on how to deploy it.   Oznake ponudnika Technorati: JavaScript,CodePlex,SharePoint,Rich text

Wednesday, July 30th, 2008 at 08:29 | 23 comments
Categories: ERTE, JavaScript, SharePoint
Tags: