Wednesday, December 12, 2007
MOSS SP1 Fix List
Hands up for volunteers to go through the lists and check them off ;-)
Tuesday, December 04, 2007
Removing 'This Site' from the Search Control
I was recently asked to remove the 'This Site' scope from the Search scopes drop down in the header of my custom master pages, and as I wasn’t quite sure how or why it got there it sounded like it would provide a nice challenge for the afternoon.
Firstly the reason why they are there; this turned out to be due to the fact we were simply using the Search delegate control normally included on OOTB master pages/page layouts, which looks roughly along the lines of...
< asp:contentplaceholder id="PlaceHolderSearchArea" runat="server">
< sharepoint:delegatecontrol runat="server" controlid="SmallSearchInputBox">
< /sharepoint:delegatecontrol>
< /asp:contentplaceholder>
By default this control includes contextual scopes ('This Site'/'This List') as well as the custom scopes that you have defined for your site collection.
It looked a little light weight and puny so i swapped it out with the much bigger tougher looking;
< spswc:searchboxex id="SmallSearchBox"
runat="server"
registerstyles="false"
textboxwidth="160"
usesitedefaults="true"
dropdownmode="ShowDD"
suppresswebpartchrome="true">
< /spswc:searchboxex>
The property that we need to look at here is the DropDownMode property, by setting its value to 'ShowDD_NoContextual' we successfully get rid of the 'This Site' contextual scopes.
Job done...
Or so I thought...
What I didn’t count on was my List view pages (AllItems.aspx) doing whatever the hell it pleases and ignoring the change I’d made to my master page. When I went to view the list I was given not only a ‘This Site’ contextual scope but for extra value a ‘This List’ contextual scope.
Some digging around lead me to discover that for some rather strange reason MS have made the ViewPage.aspx template (located at %12hive%\Template\Pages) explicitly overwrite the Search placeholder with the simple search control detailed at the beginning of this post. I’m baffled as to why given that the Form.aspx template located in the same place doesn’t do the overwrite!
As the majority of OOTB lists use this ViewPage.aspx to create its default AllItems.aspx it puts one in quite the little predicament.
I'd love to hear suggestions on how to get around this without simply modifying the OOTB ViewPage (naughty, naughty) or writing another JS hack. ;-)
Saturday, December 01, 2007
Removing 'Alert Me'
Site Settings > Modify All Site Settings > Advanced Permissions > Settings > Permissions Levels >
Select the ‘Read’ permission level then unselect the ‘Create Alerts’ option.
This will stop all users with the 'Read' permission (usually all authenticated in a typical intranet deployment) from being able to create alerts, although users with the contribute, full control etc permissions will still be able.
Alternatively you can disable the create alerts feature altogether from central admin by following these steps…
Central Admin > Application Management > User Permissions for Web Application
Unselect the ‘Create Alerts’ option.
Monday, November 12, 2007
Sydney SharePoint User Group November
Date: Tuesday, 20th November 2007
Start time : 17.30
End time: 20.00
Venue: Unique World, Level 14, 24 Campbell St Sydney
Also a reminder that this is the final session for the year, as we dont hold a December session.
Tuesday, October 16, 2007
Sydney SharePoint User Group October
Additionally we will have a short 'real world' SharePoint presentation where one of the user group members will present on their experience using WSS for a public facing site.
Date: Tuesday, 16 October 2007
Start time : 17.30
End time: 20.00
Venue: Unique World, Level 14, 24 Campbell St Sydney
Sydney SharePoint User Group : New Site
Making use of the SharePoint Community Kit we now have a WSS3.0 site up and running to bring our members all the neccessary information for user group events, presentations and other community news. This is the first stage of making the user group site a more interactive experience for our members so visit the Discussion Board and post your comments, feedback and suggestions.
Also be sure to visit the site and subscribe to the Events RSS Feed to have Event details drop into your favourite RSS Reader.
Tuesday, September 25, 2007
Tip: Customising Content Query Web Part XSL
I wont run over the step by step process but just add to this wealth of information a little tip on making the XSL a little easier to manage and support.
As we have learnt the XSL used to render the output is split into 3 files;
ContentQueryMain.xsl
ItemStyle.xsl
Header.xsl
All three of these files will exist in the '\Style Library\XSL Style Sheets\' library of a site created using the Publishing template.
Instead of modifying these files it is possible to create your own custom XSL style sheets for each and tell your CQWP to use these by specifying the properties as follows;
HeaderXslLink = "/Style Library/XSL Style Sheets/customHeader.xsl"
ItemXslLink = "/Style Library/XSL Style Sheets/customItem.xsl"
MainXslLink ="/Style Library/XSL Style Sheets/customMain.xsl"
Tuesday, September 18, 2007
Event: OZ-IA/2007
This coming weekend (22nd/23rd Septemer) is the Oz-IA/2007 conference in Sydney, specfically geared towards Information Architecture and UX. The conference promises two days of sessions, comprising of technical workshops, case studies and interactive workshops on all things IA.
Being in the information management arena i take a very keen interest in this subject so will be attending in the hope of learning lots of great stuff about IA/UX and how i can apply these techniques, methods etc when defining and delivering SharePoint solutions.
Heres an idea of the topics/presentations being covered;
- Ethical issues and information architecture - Donna Maurer
- Designing sites people love - balancing emotion with business reality - Elizabeth Pek & Andy Coffey
- Semantic analysis in IA - Matthew Hodgson
- Exploring multidimensional tagging frameworks - Scott Parsons
- Open your mind - map it! - James Breeze
- Information Architecture of Wikis - James Matheson
- - Hurol Inan Landing Page Optimisation
- “There’s no I in team” – a case study in collaborative information architecture - Patrick Kennedy
- ROI in Information Design: where IA figures in ID - David Sless
- Rise to Play a Greater Part – Delivering Specs in the Bigger Picture - Faruk Avdi
- Analysing Quantitative Data - Steve Baty
- Is length still an issue? - Iain Barker
- Love in an elevator - selling the value of IA to business - Stephen Collins
- User Research in virtual worlds - Gary Bunker & Gabriele Hermansson
- Get out your pinking shears, it’s time to cut a few patterns - Sharon Varley
- Fast, cheap & somewhat in control - 10 lessons from the design of SlideShare - Rashmi Sinha
Visit the website for further details and to register : http://www.oz-ia.org/2007/
See you there!
technorati tags:Information, Architecture, User, Experience, OZ-IA, 2007, SharePoint, UX, IA
Tuesday, September 11, 2007
Sydney SharePoint User Group September
We have a very exciting presentation at this months Sydney SharePoint User Group; MVP Kathy Hughes will be revisting the presentation she gave at this years TechEd on branding and customising MOSS sites.
TechEd in Rearview: Branding and Customizing Microsoft Office SharePoint 2007 (MOSS) Sites
With the release of Microsoft Office SharePoint Server (MOSS) 2007, building and deploying a robust content-centric site has become quick and efficient.
And, with each site deployment comes the need to alter the site look and feel. In this session we review components of the user interface and their interworking relationships that ultimately create the rendered page. For the majority of the session, you will learn how to brand a site and customise the user interface through use of master pages, CSS, and page layouts. In addition, we touch on interface customisation of site navigation and branding site administrator screens. By the end of this session, you will see a site that is completely branded and easily stands apart from the out-of-the-box look and feel of SharePoint.
Date: Tuesday, 18 September 2007
Start time : 17.30
End time: 20.00
Venue: Unique World, Level 14, 24 Campbell St Sydney
Further details and registration information are available at http://sps.uniqueworld.net/sydney
technorati tags:MOSS, branding, customising, SharePoint, Sydney, User, Group, TechEd, 2007
Monday, September 10, 2007
Stefan Goßner : Content Migration API - 4 Part series
Bookmarking this 4 part series on Content Deployment and Migration which goes into great detail on using the Content Deployment API to acheive importing and exporting of Site Collections, Lists, Document Libraries List Items etc.
Blogged with Flock
Tuesday, August 21, 2007
Sydney SharePoint User Group August
This months Sydney SharePoint user group sees a double team from LivePoint with Brad Saide presenting on the Business Data Catalogue and Han Duong hosting a discussion on Customising SharePoint Themes.
Following on from this Jey from K2 will be showcasing their BPM Product K2 'blackpearl'.For more information see http://sps.uniqueworld.net/Sydney/default.aspx
technorati tags:Sydney, SharePoint, User, Group, August, BDC, Themes, LivePoint, K2
Blogged with Flock
Wednesday, August 15, 2007
Debugging in SharePoint
A recent project required us getting a good understanding of existing code and sorting out some bugs that we're occuring. In order to get a handle on what was occuring we had to setup debugging and add some expectation to the 'Unexpected Errors'!
The first step is to enable debugging in the web applications web.config by making the following changes;
<SafeMode MaxControls="200" CallStack="false" ...> <!-- Becomes -->
<SafeMode MaxControls="200" CallStack="true" ...><customErrors mode="On" /> <!-- Becomes -->
<customErrors mode="Off" />
<compilation batch="false" debug="false"> <!-- Becomes -->
<compilation batch="true" debug="true">
Kudos to Renaut Comte on this tip.
There is also a Killer post from Vince Rothwell with a whole bunch of tips for debugging SharePoint exceptions.
And of course, with features being the new black, there has been a feature created that you can simply install and activate on your server and see it surface in the Site Actions menu. "The feature provisions a simple page, which executes the System.Diagnostics.Debugger.Launch statement, causing an exception to be thrown and the debugger to be auto-attached." Very Cool!
Head on over to the SharePoint Team blog for more information on this;
http://blogs.msdn.com/sharepoint/archive/2007/04/10/debugger-feature-for-sharepoint.aspx
The feature is part of a bigger SharePoint 2007 Features pack available on CodePlex
technorati tags:SharePoint, MOSS, WSS, Debugging
Blogged with Flock
Wednesday, August 01, 2007
Request a Hotfix web form
Im sure many of us have had to request a hotfix at some stage ;-) now its even easier than making a call to the product support line - you can request it using a web form!
https://support.microsoft.com/contactus2/emailcontact.aspx?scid=sw;en;1410&WS=hotfix
Simply provide a few details such as the country/region, KB article number and a hotfix will be emailed to the email address provided.
technorati tags:hotfix, support
Blogged with Flock
Wednesday, June 20, 2007
RSS Web Part Error
I was receiving the following error in my logs after id deployed a RSS Web Part at a client site:
RssWebPart: Exception handed to HandleRuntimeException System.Net.WebException: Unable to connect to the remote server
Id seen a similiar problem to this resolved before but couldn't find the information so thought I would post for future reference
Adding the following to the system.net node at the bottom of my web.config sorted error right out;
<defaultProxy>
<proxy
usesystemdefault="false"
proxyaddress="http://proxyaddress:port"
bypassonlocal="true"
/>
</defaultProxy>
technorati tags:MOSS, RSS, Web Part, Error, Proxy, 2007
Blogged with Flock
Thursday, May 24, 2007
MOSS 2007 RTM bug : Content Deployment : Strange Characters : Revisited
Peter Hoplar, however, continued his hunt for the encoding problem and has written a 2 part post in great detail;
'Hunting the encoding problem in content deployment' - Part1 and Part2
Content Deployment Problem : Violation of PRIMARY KEY constraint : Revisited
To summarise Ryans comments, after some extensive tracing (understatement) he ascertained that having the versioning settings of any of the Site Collection Libraries (Images/Documents/Style) set to Allow Multiple Only seemed to resolve the issue.
Note : There are also reports of this error using the stsadm utility import/export operations which Peter Holpar has managed to resolve.
Wednesday, May 02, 2007
MOSS 2007 RTM bug : Content Deployment : Strange Characters
I've been experiencing some problems with strange characters appearing in deployed content pages on a WCM site.
So far i've found that if my RichHTML field contains a ' ' (in the HTML code view) once it has been deployed to my target server it gets rendered as an Â.
I've also noticed that the apostrophe and quote marks pasted in from word result in ’ and “ (begin quote) / †(end quote) once the content deployment job has run.
Microsoft have confirmed that this is a bug with MOSS2007 RTM and have promised a fix in SP1.
In the meantime, this can be worked around by a bit of fiddling in the source content. Open up the page in edit mode and using the RichHTML editor replace word pasted apostrophes and speech marks.
technorati tags:MOSS, 2007, Bug, Content, Deployment, Strange, Characters, Â, ’, “
Blogged with Flock
Tuesday, May 01, 2007
SPS 2003 Upgrade to MOSS 2007 : /_layouts/mngsubwebs.aspx
I've come across a permission problem which has tripped me up after what i thought was a successful upgrade from an SPS2003 site to MOSS 2007.
In my old SPS2003 site every site (approx 50) uses a 'Links' web part at the top of the landing page that contains a link to '/_layouts/1033/mngsubwebs.aspx'. If i browse my old SPS2003 site with just read access then no problem. However, i try the same links on the upgraded MOSS 2007 site using a read only account and im confronted with 'Access Denied' messages.
The workaround i came up with was to change the link to :
'/_layouts/viewlsts.aspx?ShowSites=1'
The shows a similar view.
technorati tags:MOSS, 2007, Upgrade, mngsubwebs.aspx, access denied
Blogged with Flock
Friday, April 27, 2007
Team-Based Development in Microsoft Office SharePoint Server 2007
A few months back a colleague of mine, Ivan Wilson, posted on trying to work out the best approach to developing on MOSS 2007. It didn't really spark much debate but i've just come across an excellent MSDN article by Eric Charran that discusses team based development.
technorati tags:Development, MOSS, 2007, MSDN
Blogged with Flock
Thursday, April 26, 2007
InfoPath Form Error : Reference to undeclared entity 'nbsp'
I was getting the following error message logged in the event viewer when users were trying to submit a browser enabled InfoPath Form via email;
Exception Message: Reference to undeclared entity 'nbsp'
I found the solution here;
http://support.microsoft.com/kb/931426/en-us
technorati tags:InfoPath, Forms, 2007, kb931426
Blogged with Flock
Tuesday, April 24, 2007
Content Deployment Problem : Violation of PRIMARY KEY constraint
-------------------------
Publishing:Content deployment job failed. Error: 'System.Data.SqlClient.SqlException:Violation of PRIMARY KEY constraint 'PK__#ExportObjects____459C5949'. Cannotinsert duplicate key in object 'dbo.#ExportObjects'.
The statementhas been terminated.
atSystem.Data.SqlClient.SqlConnection.OnError(SqlException exception, BooleanbreakConnection)
atSystem.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception,Boolean breakConnection)
atSystem.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObjectstateObj)
atSystem.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommandcmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReaderds, RunBehavior runBehavior, String resetOptionsString)
atSystem.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehaviorcmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
atSystem.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior,RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResultresult)
atSystem.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result,String methodName, Boolean sendToPipe)
atSystem.Data.SqlClient.SqlCommand.ExecuteNonQuery()
atMicrosoft.SharePoint.Utilities.SqlSession.ExecuteNonQuery(SqlCommand command)
atMicrosoft.SharePoint.Deployment.SPExport.CalculateObjectDependencies(BooleanlinksOnly)
atMicrosoft.SharePoint.Deployment.SPExport.FollowLinks()
atMicrosoft.SharePoint.Deployment.SPExport.CalculateObjectsToExport()
at Microsoft.SharePoint.Deployment.SPExport.Run()
atMicrosoft.SharePoint.Publishing.Administration.ContentDeploymentJob.DoServerToServer()
atMicrosoft.SharePoint.Publishing.Administration.ContentDeploymentJob.ExecuteJob()
atMicrosoft.SharePoint.Publishing.Administration.ContentDeploymentJob.Run(BooleanrunAsynchronously)
atMicrosoft.SharePoint.Publishing.Administration.ContentDeploymentJobDefinition.Execute(GuidtargetInstanceId)'
-------------------------
To resolve this i took the following steps;
1. Log onto the source server and goto Operations > Content Deployment Paths & Jobs.
2. Delete the path that holds my changed content job
3. Restart the Timer Service
4. Recreate the path and job.
1. Log onto the source server and goto Operations > Content Deployment Paths & Jobs.
2. Delete the path that holds my changed content job
3. Restart the Timer Service
4. Recreate the path and job.
technorati tags:Sharepoint, MOSS, WCM, Content, Deployment, 2007
Blogged with Flock
Tuesday, April 10, 2007
Komatsu WCM site live!
The projet which has consumed many of my hours over the past few months has finally gone live! Its been a fantastic learning experience and journey into the world of web content management with MOSS, so well done to all involved at Unique World.
Now, where do i get me one of those big yellow diggers!?
technorati tags:Sharepoint, MOSS, WCM, web, content, management, Komatsu
Blogged with Flock
Thursday, April 05, 2007
M. I. A.
Ok ok, so the gusto expressed in my introductory posts didn't really eventuate and the observant amongst us will note that a post hasn't been made since; over 6months ago! I'd previously excused myself with the usual 'too busy', 'not enough time' blogging excuses but after chats with a couple of my Unique World stablemates, Gayan Peiris and Ishai Sagi, i realised i was approaching blogging from the wrong angle. The advice they departed was to 'blog for yourself'! So with that said im sorry to me for not blogging sooner!
So here goes... my SharePoint blog... take 2!
technorati tags:SharePoint, MOSS, 2007
Blogged with Flock