Browse by Tags

All Tags » SharePoint v. 3 (RSS)

The Help Popup

So we did the blank page a few posts ago. Now, try this: In a site called MySite , create a doc library called BlankDocs . Create a web part page called MyBlankPage.aspx and put it in that library. Put the CEWP that I decribe HERE on the MyBlankPage.aspx . Now put this code in a Content Editor Web Part on MySite 's default.aspx page: <script type="text/java*script" language="Javas*cript" > function LocalHelp(strHelpURL) { var wndHelp = window.open(strHelpURL, "STSHELP", "width=425,height=600,menubar='false',scrollbars,toolbar='false',resizable"); wndHelp.focus(); } </script> <A onclick="LocalHelp('/MySite/B lankDocs/MyBlankDoc.aspx')" href="java*script:" mce_href="java*script" ;> )"> <IMG src="/_layouts/images/helpicon.gif" BORDER=0> </A> Again, take the "*" characters out of the word "java*script." I only do that to keep my blog host from getting nervous. Tell me what you think. -robot Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks

The KM Application Template

I'm having a go with the Knowledge Management Application Template. I would strongly suggest that, before you deploy one of these, that you fix the typographical error in the description of the Keywords list. I think it should say: Use this list to manage the keywords used to tag items in your Knowledge Base One thing, as software developers, we're stereotyped as having less than total command of our native language. I've always thought stereotypes become stereotypes for a reason. -robot Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Posted by SharePoint Blogs

Blank Page

Drop this in a Content Editor Web Part on a web part page in a team site and see what happens: <STYLE TYPE="text/css"> .ms-bannerContainer{Display:none} .ms-bannerframe{Display:none} .ms-bodyareaframe{Border:0} .ms-bodyareapagemargin{Display:none} .ms-globalbreadcrumb{Display:none} .ms-globalleft{Display:none} .ms-globalleft{Display:none} .msgloballinks{Display:none} .ms-globalright{Display:none} .ms-globalTitleArea{Display:none} .ms-navframe{Display:none} .ms-pagebottommargin{Display:none} .ms-pagebottommarginleft{Display:none} .ms-pagebottommarginright{Display:none} .ms-pagemargin{Display:none} .ms-pagetitle{Display:none} .ms-sitetitle{Display:none} .ms-titlearea{Display:none} .ms-titleareaframe{Display:none} .ms-titlearealeft{Display:none} .ms-titlearearight{Display:none} .ms-titleimagearea{Display:none} </STYLE> <A href="BLOCKED SCRIPTMSOLayout_ToggleLayoutMode()" mce_href="BLOCKED SCRIPTMSOLayout_ToggleLayoutMode()">Toggle Edit</A> Where the code says "BLOCKED SCRIPT", change it to "java*script:" leave out the star and don't forget the colon. Also, be sure to set the chrome on your CEWP to none. I find this Interesting. -robot Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Posted by SharePoint Blogs
Filed under:

WSS and RSS

If we're only running WSS and not the MOSS components, we don't get the RSS Viewer web part. So we have to build our own out of the XML viewer web part and then we have to have an XSLT to render the feed's XML on screen. So, I'm have a little trouble with this. First, I've got a custom list called MyList with just an Item Title column and a Description column. Now, under List Settings I check the RSS Settings . If RSS isn't allowed at the Site, Site Collection or WebApp level in Central Admin, you won't see the RSS Settings for the list. So RSS is allowed and I'm checking Select All columns and click OK. I'm back at my list and I click on the Actions menu. I select View RSS Feed and I get the pretty rss feed page with a URL that looks like: http://MyServer/_layouts/listfeed.aspx?List=<some guid>. So, I copy the URL to the feed to my clipboard and I move to a web part page and add an XML Viewer web part. I open the tool pane and paste my URL in the XML Link field and click OK. What I end up with is a style-free version of the pretty rss feed page inside my web part. So, at this point, I simply need to transform my XML with and XML Style Sheet also called an XSLT. OK, the simplest XSLT I've been able to come up with looks like this: <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <xsl:for-each select...
Posted by SharePoint Blogs

Importing SharePoint Sites

We've had a few reps through the export routine and we can stuff a site into an export file pretty easy with the stsadm.exe program and a command like this: stsadm.exe -o export -url http://MySharePointHost/MySite -filename \\MySharePointHost\exports\ExportFile.exp But, on a MOSS server, when I try to import the site to a new URL, I use this command: stsadm.exe -o import -url http://MySharePointHost/MyOtherSite -filename \\MySharePointHost\exports\ExportFile.exp And I get this error: The site http://MySharePointHost/MyOtherSite could not be found in the Web application SPWebApplication Name=MyWebApplication Parent=SPWebService So I'm wondering ,huh? And so I create a web site at the URL I'm using but I use a different template so I can tell the difference and try again getting this error: aaacannot import site. The exported site si based on the template MySiteTemplate but the destination site is based on the template MyOtherSiteTemplate. You can import sites only into sites that are based on the same templaqte as the exported site. I rework my import command one more time to use a URL under my /SiteDirectory/ folder of my portal like this: stsadm.exe -o import -url http://MySharePointHost/SiteDirectory/MyOtherSite -filename \\MySharePointHost\exports\ExportFile.exp And this time it works. It seems odd but I guess SharePoint has better control over that SiteDirectory folder. hth -robot Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl...

The template you have chosen is invalid or cannot be found.

Site templates are great ways to support a business process because you can write all of the documents and instructions into one place and then install it where ever it's needed. But, sometimes site tempates are not perfectly portable and SharePoint makes it hard to figure out what the problem is. So, under my My Site in a MOSS environment, I created a site using the blank site template. I exported the site as a template and copied the .stp file to my hard drive. Then I uploaded it into a different WSS server site template gallery. So I cerate a new site, select the new site tempate and, rats: The template you have chosen is invalid or cannot be found. The good news is get that link that says: Troubleshoot issues with Windows SharePoint Services. What is the point of that POS? It's just there to make it take longer for new people to figure out what their problem is. Does anyone ever click that link? One thing I did was check the site's features. Originally, the site had a translation feature that's not installed on the target host but I disabled that feature and now I just get the error noted above. Seems like we'll be working on this for a while. So, just the blank team site won't migrate via template from my MOSS to my WSS. It will, on the other hand, migrate via template from my WSS to my MOSS. -robot var gearPage = document.getElementById('GearPage'); if(null != gearPage) { gearPage.parentNode.removeChild(gearPage); document.title = "Error";...
Posted by SharePoint Blogs

WSS Search

WSS Search is a little peculiar in its most basic form. For example, you may try a search and get an error that says: Your search cannot be completed because this site is not assigned to an indexer. Contact your administrator for more information. To start it, you have to visit your content database in Central Admin Application Management. In the SharePoint Web Application Management section, click on Content Databases . This should expose your content database for the farm. Click on the database, and in htere, you get to select a search server and then click OK. -robot Posted on SharePoint Blogs Del.icio.us | Digg It | Technorati | Blinklist | Furl | reddit | DotNetKicks
Posted by SharePoint Blogs
Filed under:

Searching .pdf Files

Out of the box, MOSS 2007 will not search and index the text in .pdf files. Consequently, one of the things you'll want to do to a new portal is empower that actvity and, in addition, snag the .pdf icon so it will show up in document libraries. The first effort is covered in Jerry's Blog here . It invloves installing the .pdf iFilter. My understanding is that it matters whether your host is running on 32 or 64 bit operating systems so, assuming...

MOSS 2007 Document Migration

So we've got about 150,000 legal documents to migrate into MOSS from a network file share. Of course, the customer wants the document library to look just like the file share so I think, great, I'll just drag and drop the folders into Explorer View. Well, no such luck. First, Explorer View is a big fat Page Not Found error on my host. I started the web client like Joel said yesterday and everything but no explorer view. So I just create a...
Posted by SharePoint Blogs

Recovered: MOSS Search

MOSS 2007 Search So this guy comes up and says "search isn't working" and I say "oh?" And I look, and, sure enough, I get nothing when I search for " robot " So I get to the Shared Services Administrator and there, under Search , I see the Search Settings . I guess these are different from the Manage Search Service on the Application Management page. So I click on Content Sources and Crawl Schedules and I schedule...