SharePoint, XBOX, .NET, Technology - What I am reading

    [Home] [Recent] [Site Map] [SharePoint] [XBOX]

   

SharePoint Blogs

10/15/2007 SharePoint Connections: It is SharePint Time
Going to SharePoint Connections in Vegas? If so, stop by the Coral Reef bar on Tuesday evening after the sessions. Andrew Connell is hosting "SharePoint by Day, SharePint by Night" and it will be a relaxing, low-key op to chat with one of us poor SharePoint geeks or just throw back a drink with a few fellow friends. AC has all the details on his blog, please go check out his post for more info . See you there! Posted on SharePoint Blogs...(read more)
10/15/2007 Migration Stories - Part 1: Migrating forms to MOSS 2007

Overview

The current migration project I am working on is migrating a very large, 8 year-old portal and all its contents from an archaic BroadVision platform to MOSS 2007. BroadVision is absolutely one of the worst portal software packages I have ever seen, and is proving to be quite difficult to migrate into MOSS 2007. This is part 1 of an ongoing series of stories about this project and its challenges.

Migrating Forms

BroadVision has support for a crude version of custom web forms, that can be used to collect data and either email the data or save it in a database. These forms are standard html forms with html form tags, and almost all of them have a spot at the top of the form where some introductory html is placed to instruct the user on how to use the form, the form's purpose, etc. This project has about 200 of these forms, for almost every department in the organization.  These forms have very little workflow, with just some primitive options to email or CC people when new forms are submitted. There is no easy way to automate this migration.

Below is an example of one of these forms, which is a form to update an employee's address:

InfoPath vs Custom Lists vs ASP.NET Web Applications

The first decision to be made in migrating these forms is choosing the right technology. I presented 3 options to the customer:

  • InfoPath - Pros: Flexible, supports validation, custom actions and workflows, can save data to sharepoint lists, libraries, and external databases. Cons: Requires training and design skills, and sometimes coding and development efforts
  • Custom SharePoint Lists - Pros: Anyone can do it, easy repository for data, built-in export to Excel, Datasheet view, MOSS 2007 workflows. Cons: Limited validation support, little or no design control, data can only be placed in SharePoint
  • Custom asp.net web application - Pros: Complete control over design and storage. Cons: Requires development effort

With over 200 forms to migrate, very little resources, plenty of new forms yet to be created, and lots of forms that need updating or reviews, the customer wanted every department to own, migrate, and create their own forms. The best solution in this case was the one that empowered the end users to create and manage their own forms as easily as possible.

For 90% of the forms, the custom list was the right approach, unless a form needed advanced features like validation, pre-population, etc. The only stumbling block then was having the ability to edit the form that is displayed when you create a new item (NewForm.aspx).

Introductory Text and HTML

Every form in the old portal had a space at the top where introductory HTML could be placed to provide instructions. Since a custom SharePoint list uses the default NewForm.aspx page when adding a new item, there is really no place where this intro HTML could be placed. To solve this, we used a special querystring to put the NewForm.aspx page into edit mode, where we could add a Content Editor Web Part above the form's contents.

Following is the method for getting this to work:

  1. Go to the custom list and click the menus to add a new item.
  2. On the New Item form, add a querystring parameter to the end of the url, and hit enter. For example, a typical New Item form's url might be:

    http://intranet/Docs/Lists/Tasks/NewForm.aspx?RootFolder=%2fDocs%2fLists%2fTasks&Source=http%3a%2f%%2fintranet%2fDocs%2fLists%2fTasks%2fAllItems.aspx

    Add the following text to the very end of the url: &ToolPaneView=2

    The new URL becomes:

    http://intranet/Docs/Lists/Tasks/NewForm.aspx?RootFolder=%2fDocs%2fLists%2fTasks&Source=http%3a%2f%2fintranet%2fDocs%2fLists%2fTasks%2fAllItems.aspx&ToolPaneView=2
  3. This puts the page into Edit mode, and displays the Add Web Parts toolpane. Click Next until you see the Content Editor Web Part. Drag it into the Web Part Zone at the top of the page.


  4. In the newly added part, click the link to open the Tool Pane ("To add content, open the tool pane and then click Rich Text Editor.") , and paste your introductory text into the Rich Text Editor. When done, click OK, your instructions are now live on the Form.

Granted, telling an end user to hack a querystring to add a web part is not the most user friendly approach, but it is certainly something that can be documented well, and is certainly easier than InfoPath training. Of course this step could also be done easily with SharePoint Designer, but that is another layer of complexity that the users don't need.

 


Posted on SharePoint Blogs
10/15/2007 More Community Kit for SharePoint Downloads Available
Body: Okay, I really need to spend some time just reading the SharePoint team blog for a while. Lawrence Liu has been going wild outputting content through his Community Kit mechanism and then posting about it. I just saw several more goodies there I Read More......(read more)
10/15/2007 Form Based Authentication Solution Posted
Body: Somehow I missed this while scrolling on the SharePoint Team site. This is a great post for those looking to implement Forms based Authentication. Check out their post on" Announcing the Community Kit for SharePoint: Internet/Extranet Edition Read More......(read more)
10/15/2007 SharePoint by Day, SharePint by Night @ SharePoint Connections in Vegas!
Had your fill during the day and you want to chill for a bit after the conference before you had out for a night on the town? Got some WCM questions on the brain? What about general SharePoint development questions? Maybe just SharePoint questions? Oh Read More......(read more)
10/15/2007 Quick and Simple: Use Fixed Keyword Query in Search Core Results
Quick and Simple Instructions: Edit a page and add a Search Core Results web part. Edit that web part and expand "Fixed Keyword Query". Add the fixed keyword query (e.g. ContentType:"Training invoice" TrainingInvoiceNumber:1111) Expand Read More......(read more)
10/15/2007 Monday Morning Readings - Check Out the Community Kit for SharePoint: Virtual Earth Maps on SharePoint
Body: I am out in Atlanta today presenting on SharePoint as part of a Citrix/Microsoft event. I am pretty excited to see what the latest happenings are with Citrix as they offer great solutions to enable multinational SharePoint deployments. In the meantime Read More......(read more)
10/15/2007 Jacksonville Office Geeks (JOG) Now on LinkedIn
If you're in the Jacksonville, Florida area and you're excited about Office development, maybe it's time to join our group! Now you can stay up to date on the latest developments by joining our LinkedIn user group at http://www.linkedin.com Read More......(read more)
10/15/2007 How to elevate permissions?

From time to time I need to elevate the permissions of a group of users. A recent example was when I created a FAQ discussion forum on our top level site in MOSS. Normally all our employees are visitors to the main site as we have special content managers for this site (it's a publishing site) but for this list they needed to be able to add content (contributor rights).

I've read a couple of different ways to handle situations where permission rights conflict like this and one golden rule I've heard is never to change the rights of a predefined group, such as giving visitors contributor rights. If you violate this rule you end up with a number of lists, sites and what have you where a visitor no longer is a visitor.

The "proper" solution, I would guess, is to create a new SharePoint group and call it "Contributors to this list" or some such, give it the proper rights and then add the users to this group. This is a rather cumbersome process though.

You could also add the users to the "Contributors" group but that would give them contributor rights to the entire site and that's a no-no - at least for me.

Lately I've found myself violating my golden rule more often than not by breaking permissions inheritance from the site the list resides in and then giving the orphaned visitors group the proper rights - simply because it's the easy way out.

How do you handle situations like this? Quick and dirty or by the book? Or maybe some other way?


Posted on SharePoint Blogs
10/15/2007 Document Library and ItemAdding Event

               In one of our project, we are supposed to lock down the users from creating folders at ROOT in document library. We thought of restricting through event handler. During coding we found that, ItemAdding event doesn't provide enough information to determine where the folder is been added.

              Searching on net, we found that was the bug in Microsoft, and they have provided a hotfix. You can get the Hotfix information in the below URL. It not only solves this problem, but also couple of other bugs, which you can find it in this URL.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;934790

             After installing this hotfix, you will get the AfterUrl property is having the information to determine where the folder/file is been added. But be careful in installing this hotfix, bcose sometimes it might negatively affect your project. We faced a problem of 'Access denied' error message for accessing LOGS folder programmatically. So, testing the hotfix completely in a test environment is mandtory b4 installing on Development/Production machines.

 Satheesh Palaniswamy. 

 


Posted on SharePoint Blogs
上一页 1 2 3 4 5 6 7 8 9 10 下一页

   

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