InfoPath Contact Selector – Limitations & Workarounds – Part 1
By peter.stilgoe
The contact selector available in InfoPath is a very useful control but has some pretty big feature limitations which will hopefully be rectified in Sharepoint 2010 / InfoPath 2010 but I havent had time to check yet.
How to make the InfoPath contact selector mandatory – http://www.myriadtech.com.au/blog/Alana/Lists/Posts/Post.aspx?ID=16
Limit the number of names a user can enter into the InfoPath contact selector – http://www.myriadtech.com.au/blog/Alana/Lists/Posts/Post.aspx?ID=13
Using the InfoPath contact selector to get other users details eg Dept, Office, Manager etc from the User Profile Database – http://www.myriadtech.com.au/blog/Alana/Lists/Posts/Post.aspx?ID=15
More From pstilgoe
After restoring a site collection to a new location you get error The file /_catalogs/masterpage/blahblah.aspx does not exist.
By peter.stilgoe
How To Fix Publishing Pages Page Layout URL
The scenario when moving you want to move a publishing site collection that is your root site collection to a new location
ie http://rootsc —> http://sites/rootsc
You expect a simple backup & restore to the new location to do the job. However once your restore is complete you try to load your site collection in its new location & you get:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
You click ‘View Source’ in IE & you get:
The file /_catalogs/masterpage/blahblah.aspx does not exist.
at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetWebPartPageData(HttpContext context, String path, Boolean throwIfFileNotFound)
The problem is that your publishing pages are still looking at the old location for the master page files etc using the old URL. Fortunately Gary Lapointe MVP has written a script to parse through the whole site collection & update the paths accordingly.
The utility runs as an STSADM command & is called gl-fixpublishingpagespagelayouturl
Read more about it & download it here
More From pstilgoe
STSADM restore errors with “No content databases are available for this operation”
By peter.stilgoe
The problem is probably that the GUID of the new site youre trying to restore is the same as an existing site in the content database. Either delete the existing site or I would imagine you could restore to a diffrent content database although I havnt verified this.
More From pstilgoe
Error deploying Infopath Integrated K2 process
By peter.stilgoe
When deploying a K2 (Blackpoint or Blackpearl) Infopath Integrated Process you may get an error similar to:
Server was unable to process request. —> Specified argument was out of the range of valid values.
Parameter name: value
Not sure what causes the error but the quickest way round it seems to be to delete the form library & recreate it. Your K2 process will now delpoy with no problems. (Well in my case it does!)
More From pstilgoe
Change InfoPath View Before Uploading Form Using K2 Blackpoint
By peter.stilgoe
In your activity add a ‘Data Event Wizard’
Data Replication –> Transfer Data
Click ‘Assign’
Set the ‘Source’ as the name of the InfoPath view you want to switch to
Expand ‘_K2′ & set the ‘Destination’ to the ‘DocumentView’ field
Now when you save your form in a document library it will be saved on the view you set it as. Ideal for submitting forms as read only once the process is complete.
More From pstilgoe
Sharepoint 2010 – RTM and Official Launch Dates
By peter.stilgoe
Sharepoint 2010 RTM is to be released in April 2010.
The SharePoint 2010 official launch date is May 12th 2010.
More From pstilgoe
K2 Blackpoint K2 Blackpearl does not support single sign on authentication
By peter.stilgoe
FYI Neither K2 Blackpoint or K2 Blackpearl support SSO, they only support Windows authentication. K2 Connect (SAP) makes use of SSO in some aspects.
If you are trying to use in an SSO environment you will see errors similar to:
Unable to cast object of type ‘System.Web.Security.SingleSignOn.SingleSignOnIdentity’ to type ‘System.Security.Principal.WindowsIdentity’
Update: Apparently Blackpearl users can create a custom security provider to handle SSO authentication.
More From pstilgoe
K2 4.5 Release Candidate Is Now Available
By peter.stilgoe
K2 blackpearl®, K2 blackpoint® and K2 connect® 4.5 Release Candidates now available!
K2 blackpearl, K2 blackpoint and K2 connect have moved into a new era with the introduction of K2 4.5 – the next generation of K2 products!
This release focuses on greater stability and better performance. K2 4.5 still has all the great functionality you’re accustomed to plus great additional features, such as Inline Functions, an updated designer for SharePoint, support for Microsoft Windows Server 2008 R2 and Microsoft Visual Studio 2008, memory and performance enhancements, SSL support, a better installation experience, and more.
K2 blackpearl 4.5 and K2 blackpoint 4.5 are now built from a single codebase, which means that all performance and resource-utilization enhancements will be available to all K2 customers. K2 connect has been updated so that it can leverage these enhancements, as well.
K2 4.5 is the fifth minor installment of K2 blackpearl following RTM, SP1, 0803 and 0807. Because K2 blackpearl and K2 blackpoint are now based on the same core components, we’ve decided to bring the product names into sync.
What’s new in the 4.5 releases of K2 blackpearl and K2 blackpoint
• K2 Designer for SharePoint
• K2 Studio
• Improved design and developer experience
• Enhanced end-user experience
• Optimized infrastructure
• Simplified installation experience
1.New support for:
Windows Server 2008, including R2
SQL Server 2008
Visual Studio 2008
2.Non- AD Installation
3.SSL Support
4.Inline Functions
5.Reports
New filters and parameters
Using SmartObject direct execution functionality
6.Performance enhancements to SmartObjects and the K2 Workflow Server
7.In MOSS/WSS K2 configuration Features are deployed as solutions
8.K2 Designer for SharePoint enhancements include:
Inline Functions
SmartObject Filters
Custom Work Item Notification
Process Data Fields
New Wizards
9.Internationalization of the codebase
10.Numerous documentation updates
11.Inclusion of all Updates
Visit www.k2.com for more information
More From pstilgoe
External User Not Recieving Sharepoint Alerts
By peter.stilgoe
I had a problem where external users, in this case hotmail addresses werent recieving Sharepoint Notifications. I was scratching my head but the solution was a simple one, as they normally are….
If you are going to let users outside of your domain receive outgoing email from SharePoint, you may need to enter their domains as valid in SMTP. To do this go to your SMTP server under IIS and right click on Domains. Choose New Domain, and Remote. Add the domain of your users’ email address. If it is going to be a mixed bag, you may need to add several remote domains such as *.com, *.net, *.org, *.co.uk etc etc
More From pstilgoe
Import Excel 2007 Spreadsheet as Sharepoint List Error Method ‘post’ of object ‘IOWSPostData’ failed
By peter.stilgoe
If you get the following error Method ‘post’ of object ‘IOWSPostData’ failed, you can fix it by doing the below:
Do a search on you C: drive for a file named: EXPTOOWS.XLA
Open it and Enable Macros
Select the Developer tab and the Visual Bacis or press ALT+11. Same result. You are ready to alter the file.
Search for:
lVer = Application.SharePointVersion(URL)
Add a new line just below:
lVer = 2
Save and exit.
Now try the import again & it should work.
NOTE: this is a problem with excel as opposed to Sharepoint so this would need to be done on all workstations requiring the ability to import Excel 2007 spreadsheets as custom lists.
More From pstilgoe
Sharepoint 2010 User Profile Synchronization Service stuck on starting
By peter.stilgoe
For anyone else having this issue it looks like this is an issue with the beta version of Sharepoint 2010 as when using service accounts it appears that the user profile sync just sticks on ‘Starting’ & never actually starts.
To get it started add your service account as a local admin & reboot & you should find it starts OK.
Good job its a beta in a test environment!



March 26th, 2010
