Monday, October 19, 2009
Querying SharePoint List Items using jQuery
Friday, October 16, 2009
Sharepoint Resources
- STSAdm Win 2007 - Windows GUI for STSAdm
- STSDev - Sharepoint Solution Generator
- CAML Query Builder - Very good tool when working with Sharepoint webservices
- SmartPart - Webpart to host asp.net usercontrol
Wednesday, October 14, 2009
Sharepoint WSS/MOSS CSS Reference
Tuesday, May 26, 2009
Add icons to your file extensions in WSS 3.0
Link: http://servergrrl.blogspot.com/2008/02/adding-pdf-icons-to-wss-30-and-what.html
Quote:
Steps
1). Download the icon file from adobe (or whereever, some people have better ones). Make sure it's small (the default from adobe is 17x17). http://www.adobe.com/misc/linking.html#pdficon
2). Save the icon to the c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\IMAGES folder. I renamed it "icpdf.gif" myself, just so it matches the format of all the other doc icon files used in the DOCICON.XML.
3). Open the DOCICON.XML file in notepad (the DOCICON.XML file is located in the c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML folder).
4). Once in the DOCICON.XML file, go to the "" section (see figure above) and add the tag: " "(minus the quotes, they're just there to tell you what you are supposed to type-- again, blogger hates it when you add non- html tags)
The tag means that the icon "icpdf.gif" (or whatever you named your pdf icon file) will be mapped to the .pdf extension. I do not have an open control (like using Word to edit a doc file) for pdfs, so I left it blank between the quotes.
5). Save the file, then drop to a command prompt and do an IISRESET. This should let sharepoint know there has been a change and repopulate the pages with new icons appropriately.
IISReset is required after all the above
Wednesday, May 13, 2009
Modifying the width & height of a Sharepoint Page Viewer web part dynamically
By default Page viewer web part doesn't allow you to have height expand dynamically. It expects a unit for the height. This small javascript I got from GuiCreate.com does a great job. Basically this script needs to be copied into the page which needs to be displayed in the web part.
JavaScript code:
function resizeMe(that) {
window.resizeTo(document.body.scrollWidth, document.body.scrollHeight);
}
window.attachEvent("onload", function() {
window.setTimeout("resizeMe()", 100);
});Link: http://www.guicreative.com/blog/sharepoint-2007/modifying-the-width-height-of-a-sharepoint-page-viewer-web-part-dynamically/
WSS Sharepoint Search - no results
1). Under Operations > Services on Server setup Windows Sharepoint Search Service. Use a domain account when setting this up. If service is already running then skip Step 1 but make sure its properly setup.
2). Under Application Management > Content Databases, click on your content database and then on the page make sure Search Server is selected.
After the above two steps, wait few minutes so Sharepoint crawls your site collection. WSS only lets you search a single site collection. Anything you search under a sub site will give you result at the site collection level.
Tuesday, April 28, 2009
Sharepoint Developer Videos - Kirk Evans Blog
Link: http://blogs.msdn.com/kaevans/archive/2009/03/15/point8020-com.aspx
Thursday, April 16, 2009
Rename Sharepoint WSS 3.0 /MOSS 2007 Machine
Link: http://www.raoulpop.com/2007/how-to-rename-a-wss-30-server/
Monday, September 15, 2008
Response.End and download file problem using asp.net code inside sharepoint
Issue:
To download file from Sharepoint doesn’t work but works fine in plain asp.net environment.
Solution:
Solution is very simple, Add the following code for the button or link which initiates the download:
MyButton.OnClientClick = "document.getElementById(""" & Me.Page.Form.ClientID & """).onsubmit = function() {return true;}"
Wednesday, September 10, 2008
SPTraceView - Lightweight Tool for Monitoring the SharePoint Diagnostic Logging in Real-Time
Very small application, only 65kb zip, great tool for SharePoint diagnostic tracing
Quote:
SPTraceView moniors in real time all SharePoint diagnostic tracing (also called ULS tracing) and can notify you using a balloon-style messages in the tray bar when any information of particular interest to you is sent (traced) by any of the MOSS services and components.
Wednesday, August 20, 2008
SharePoint Object Browser
Code project article for Sharepoint object browser. It comes very handy when doing programming with sharepoint.
Link:
http://www.codeproject.com/KB/sharepoint/sharepoint_object_browser.aspx
Tuesday, August 5, 2008
Import/Export Sharepoint site
Found this very good and short post which does it without any problems. It uses stsadm to import/export.
Quote:
* stsadm.exe -o export -url http://intranet/test -includeusersecurity -nofilecompression -filename C:\backup
Once you finish your export use the stsadm import command with the same nofilecompression attribute. For example:
* stsadm.exe -o import -url http://intranet/test -includeusersecurity -nofilecompression -filename C:\backup
Link:
http://ragavj.blogspot.com/2008/02/failure-decompressing-data-from-cabinet.html