[Home] [Recent] [Site Map] [SharePoint] [XBOX]
When using InfoPath forms as Content Types you're bound to run into the error "Content Type is still in use", when trying to remove an existing InfoPath as a Content Type.

From my experience you will not be able to remove any InfoPath form Content Type from a Form Library that has submitted InfoPath forms based off that Content Type. If the library is using multiple InfoPath form Content Types you can go into the Form Library Settings page and update a property for it not to show. From the settings page locate the "Content Types" section and then click the "Change new button order and default content type" link.

From the "Change New Button Order and Default Content Type" page uncheck the "Visible" check box for he form you no longer want appearing on the Form Library "New" button.

If this InfoPath form is the only Content Type for the Form Library then you can go and edit the Form Library security and not allow any new forms to be added. The Form Library security link "Permissions for this form library" is located on the Form Library Settings page under the "Permissions and Management" section.
Earlier this year, I also discovered that you can remove the "New" button from the Form Library toolbar by blanking out the library form "Template URL". This property is located on the "Advance settings" page and is only available when "Allow management of content types?" property is set to "No". I'm not sure why you're allowed to do this but I thought I would share it because it was something interesting.
Cheers
As I posted earlier I was attending and speaking at the South Carolina Code Camp this weekend and I'm proud to say that the code camp was a great success, at least I thought so. I was able to meet a bunch of new people and some old friends. It was a great time.
On a personal note the 2 sessions that I did on InfoPath, InfoPath Forms Services and .NET went better than expected from the speaking standpoint but had technical problems with my VPC image and Vista but I was able to overcome the hurdles. Having this opportunity to speak exceed all my expectations and hope to have another chance in the near future. I would like to give Murray Gordon a special thank you for giving me this chance.
Cheers
It's been a while since I last blogged - with the work I am doing at the moment I haven't had time!
I have been given the task of creating new site definitions complete with branding and functionality. I'm still waiting to go on my SharePoint Designer course but having played with my virtual environment for the past month I have picked up quite a bit ![]()
So far I have created a new site definition based on STS unde SiteTemplates, I have managed to create new preview images and got a new tab to appear on the New SharePoint Site page. I was quite pleased with myself when it all worked. Then I applied a custom master page to the new site definition by changing ONET.XML in my new site definition's XML directory. Following that I started playing around adding new Web Part Zones and seeing how everything linked together. ONET.XML defines the initial content that is displayed in the default.aspx page of your new site.
I've also modified custom.master so that additional options are available in the top right hand corner navigation bar. So far it all works ![]()
What's next? Well, I need to create site definitions for wikis, blogs etc all by the end of next week!
One thing I haven't worked out how to do is apply my own custom css file - I had problems when I tried to apply an alternate css file through the SharePoint Site Settings pages. There has to be a better way of applying your own CSS file so that it is applied after CORE.CSS, maybe someone will work it out.
One little quirk I did notice was that if I created a site using my new site definition and custom master page and then tried to edit the site in SharePoint Designer, the custom.master file that appeared in the mastercatalogs directory was different to my site definition's custom.master file - wierd! I'll have to come back to that one.
I am documenting everything I am doing, including the quirks, and I'll post the document here in a future blog once I have made sure it all works ok.
It's been handy having the virtual environment to work with. I keep a backup of the VHD file (10Gb!) and can restore if I foul up (which I quite often do!). I would recommend virtualisation for anyone who has the kit that is able to take the strain. 2Gb of RAM seems to be the minimum workable. I tried it on a 1.5Gb laptop and it struggled. Not nearly as slow as my original setup of 1Gb though!
I've just signed up to the SharePoint User Group UK site as it could be quite handy building up a network of fellow SharePoint misfits ![]()
One of the other things I have been tasked with is to create an online help centre for our users. I have created a SharePoint 2007 wiki site for this and set up a series of pages with detailed help on blogs, wikis etc. I then found the Customizable Everyday Productivity Education (EPE) content developed by Microsoft IT for end user training page which has some useful stuff on there for end users, so I may be cribbing bits from it.
You've also probably already found this but Help for SharePoint 2007 from Microsoft is quite good too.
Anyway, next week should be interesting as I try and get all of the site definitions finished. I'll let you know how I get on.
Site List:
>>Xbox Live_s Major Nelson
>>Xbox 360 & SharePoint 2007 Weblog
>>Carsten Keutmann_s Blog
>>Mohamed Zaki_s Blog [Sharepoint MVP]
>>The Mit_s Blog
>>Mart Muller_s Sharepoint Weblog
>>Microsoft SharePoint Products and Technologies Team Blog
>>SharePoint Solutions Blog
>>4GuysFromRolla.com Headlines
>>ASP.NET Blogs
>>SharePoint Blogs
>>SharePoint Blogs
>>Joel on Software
>>ADO Guy_s Rants and Raves
>>Microsoft Live Labs
>>GadgetNews
>>Windows Vista Team Blog
>>VoIP & Gadgets Blog
>>schrankmonster blog
>>Via Virtual Earth Blog
>>Feed
>>MSDN Blogs
>>Mashable!
Links:
Jack's Readings
Month Archives:
Oct 2007
Sep 2007
Top Tags:
social software social networking .NET mashable Sharepoint ASP.NET Web 2.0 Web2.0 Startups Community News Search Marketplace General Software Development AJAX Windows Vista Visual Studio Microsoft myspace Silverlight People Powered! YouTube Vista MOSS Featured News C# Events MOSS 2007 Google WPF Office 2007 Web Community Security General Personal Xbox 360 facebook Tools development SharePoint 2007 Fun Atlas Architecture ASP.NET AJAX myspace codes TheLongTail IIS SQL Server Developers Revenue Sharing Video Pictures WCF Mobile 2.0 Announcements Orcas MIX07 Arcade Team System JavaScript News
@2007 All rights Reserved |