09 September, 2010

SP2010: Exporting and Importing Web Parts

After you have properly configured a web part, including both common and unique properties, you may want to reuse the web part with the same settings in other sites or pages. SharePoint provides you with this capability by allowing you to export most web parts and import them into another site.

Exporting the web part creates an XML file with a .webpart or .dwp extension that contains the properties of the web part and the information SharePoint needs to duplicate its functionality. If the Export Mode web part property is set to the Non-sensitive Data Only option, the export will not include certain properties marked as sensitive information (such as passwords).

To export a web part, follow these steps:

1. On the page, click the Edit Page link in the Site Actions menu.
2. On the title bar of the web part you wish to export, open the Web Part Menu by
clicking the down arrow on the right.
3. On the Web Part Menu, click the Export... option.
4. On the File Download dialog box, click the Save button.
5. On the Save As dialog box, browse to the directory where you want the webpart file placed and click the Save button.

To use this exported web part (or any other .webpart or .dwp file provided to you by other users), you must import it into the site as a user with the Full Control permission level where you want to use the web part. You can import a web part in one of two ways. The first way to import the file prevents others from using the web part, but it must be done each time you want to add it to a page.


To import a web part using this method, follow these steps:

1. On the page, click the Edit Page link in the Site Actions menu.
2. On the page, select the Web Part command from the Web Parts group on the Editing Tools - Insert ribbon.
3. On the Web Parts bar, click the down arrow next to Upload a Web Part.
4. On the Upload a Web Part pane, click the Browse button.
5. On the Choose File dialog box, browse to the .webpart or .dwp file, select it, and click the Open button.
6. On the Add Web Parts pane, click the Upload button.
7. In the Categories section of the Web Parts bar, select the Imported Web Parts category and add the web part to the page

The other process used to import a web part file causes the web part to appear in the other categories available in the Web Parts bar. This is beneficial because other users can easily add instances of this imported web part by using the appropriate category, whereas the previous import method was a one-time-use scenario.

To import a web part using this method, follow these steps:

1. On the site, click the Site Settings link in the Site Actions menu.
2. If the site is not a top-level site, click the Go to Top Level Site Settings link
under the Site Collection Administration section.
3. On the Site Settings page, click the Web Parts link under the Galleries section.
4. On the Web Part Gallery page, select the Upload Document command from
the New group on the Library Tools - Document ribbon.
5. On the Upload Web Part window, click the Browse button.
6. On the Choose File dialog, browse to the .webpart or .dwp file, select it, and
click the Open button.
7. On the Upload Web Part window, click the OK button.
8. On the Edit Item window, edit the name, title, and description that were
loaded from the file. Select a Group and, optionally, any of the
Recommendation Settings to determine how the web part is organized and
presented to users on the Web Parts bar.
9. Click the Save button.

The Web Part Gallery page will refresh and contain your newly uploaded webpart in the list. The Web Part Gallery page also lets you edit, delete, and manage security for web partsusing the same familiar capabilities found in lists and libraries. The Edit Item window for a web part in the Web Part gallery contains an Export command in the Actions group on the Edit ribbon, allowing you to export the web parts as files for importing elsewhere.


Please let me know in case of any queries/questions,I hope the above information will helps you to understand the detailed know-how about export-import process of webparts..Thanks..

SP2010:How to Manage Webparts On Pages

After adding web parts to a page, you may need to do many other tasks to create a useful SharePoint page. Rearranging, closing, deleting, and connecting web parts are all done after placing the page in Edit mode. Edit mode provides you with the option to modify the presentation of the page; note that you don’t need any programming knowledge.

After placing web parts on the page, you may determine that the page would function better if the web parts were presented in a different order or in a different location. SharePoint allows you to easily rearrange the web parts on the page once the page is in Edit mode. Edit mode displays the current page, making the management features available to you. To set the page to Edit mode and rearrange web parts, follow these steps:

1. On the page, click the Edit Page link in the Site Actions menu.
2. The page will be refreshed, displaying the content areas and web part zones. The page is now in Edit mode.
3. Click the title bar of a web part you want to move; and while holding down the mouse button, drag the web part to another location in a content area or web part zone on the page. If placing the web part in a zone, a bar will appear when the mouse is in a valid location to place the web part.
4. When the mouse is in the correct location within the content area or the bar
appears in the desired location within a web part zone, release the mouse button.

You may also want to remove web parts that you have determined should no longer appear on the page. There are three ways to keep a web part’s content from displaying on the page. The first is to minimize it. Minimizing a web part keeps the title bar displayed, but does not display the contents of the web part to the user.

To minimize a web part on a page, follow these steps:

1. On the web part page, click the Edit Page link in the Site Actions menu.
2. On the title bar of the web part you wish to minimize, open the Web Part menu by clicking the dropdown arrow on the right.
3. On the Web Part menu, click the Minimize option. You can also select the Minimize command from the State group on the Web Part Tools - Options ribbon.

If you face any issues/queries regarding the above procedure then please let me know,Thanks...

08 September, 2010

SharePoint 2010: How to add a webpart to Pages

Web parts are an important factor in determining how information is presented to SharePoint users.These reusable components can be placed on pages and configured to present SharePoint content in themost beneficial way for your site.

Web parts are not limited to displaying SharePoint information. They can also provide you with the ability to search and manage data in external databases and file systems. Custom web parts can bedeveloped to provide much of the functionality found in other applications, thereby integrating your SharePoint environment with your other existing systems.

Once you have created a site or have added either a Web Part page, Publishing page, or general content page to an existing site, you will want to customize the display of the page by adding web parts. This is accomplished directly on the page using ribbon commands.

For Web Part pages and some Publishing page layouts, web part zones are provided to manage where web parts are placed within the page. Add a web part to a web part page in a collaboration siteusing the following steps:

1. On the page, click the Edit Page link in the Site Actions menu.

2. On the web part page, click the Add a Web Part link in the web part zone where you want the new web part placed.

3. In the Categories section of the Web Parts bar, select the category that most closely corresponds to the type of functionality you are looking for in a web part.

4. In the Web Parts section, select the web part you want to place on the page.

5. In the About The Web Part section, select the desired web part zone in the Add The Web Part To selection box.

6. Click the Add button.

7. Select the Stop Editing command from the Edit group on the Page ribbon.


Done !! The webpart has been successfully placed on your page..

If you have any queries/doubts regarding the above mentioned procedure then please let me know,Thanks..

07 September, 2010

Dataview does not work work in SP 2010

Hey Guys, 

This is another post based on Office 2010 issue in combination with SharePoint.

Error Message:

The list cannot be displayed in Datasheet view for one or more of the following reasons:
-A datasheet component compatible with Microsoft SharePoint Foundation is not installed.
-Your Web browser does not support ActiveX controls.
-A component is not properly configured for 32-bit or 64-bit support.

What happens exactly:
I have Office 2010 installed but when I tried to open a list in Sharepoint Server 2010 in dataview I get the "datasheet component combatible with SharePoint Foundation is not installed" error.

Resolution:

after lots of research n troubleshooting, i found out this great article which is published from Microsoft:

If your business needs justify using the 64-bit version of Office 2010, you can install the 2007 Office System Driver: Data Connectivity Components to enable the Datasheet component. These components are available from the 


Microsoft download center:http://www.microsoft.com/downloads/details.aspx?familyid=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en

Office 2007: Microsoft Office Diagnostics

This is one of the vital feature which is enclosed by Microsoft in Office 2007.

Microsoft Office Diagnostics in the 2007 Microsoft Office system is a series of diagnostic tests that can help you discover why your computer is crashing (closing abnormally). The diagnostic tests can inform you about problems and might identify ways that you can solve other problems.
When Office Diagnostics determines that the data might help diagnose and fix a problem.

The Office Diagnostics are:

Setup Diagnostic:
This test checks for corruption in the files and registry settings in your 2007 Microsoft Office system installation. Files and settings can be corrupted by malicious viruses or by hardware that is faulty or incorrectly configured.

Disk Diagnostic:
This test looks for evidence of problems with your hard disk. Specifically this test checks for errors logged by the following:

-The Windows system event log.

-The Self-Monitoring, Analysis and Reporting Technology (SMART) feature of your hard disk. SMART is a feature that some disk drive manufacturers provide to give users advance notice of potential hard disk failure.

Memory Diagnostic:
This test verifies the integrity of your computer's random access memory (RAM).

Check for known solutions:
This test reviews the data on crashes of the 2007 Office release that have recently occurred on your system. The test then connects to a server to look for any solutions that might be available for the problems that caused these crashes.

How to run Office Diagnostics:

Click the Microsoft Office Button, and then click Excel Options.
Click Resources.
Click Diagnose, click Continue, and then click Start Diagnostics.


If you face any issues/queries regarding the above information then please let me know,Thanks.