17 March, 2011

How to Enlarge the Size of Announcements Web Part

The purpose of an announcement web part is to provide relevant information to the users of a center. The content displayed in announcement web parts is page-based. That means, if a user has access to the page displaying the web part, they will be able to see the content displayed in the web part.

Yesterday, one user raised a ticket as she wants to enlarge the size of the announcement webpart. The reason behind this is-When we create the announcement then the announcement webpart shows some information and remaining one in the dotted lines. So user has to click on that link to view the complete announcement.

User's query was reasonable as why the user click on the link each time if they want to view the complete info. Let me clear first thing-There is no out-of-box way to achieve this functionality. If you want to fulfill this requirement then please use SharePoint Designer 2007(SPD).

In this post, i am going to convey the steps that i have taken to resolve this issue. In case of any doubts/queries then please let me know. I would be more than happy to help you as well as resolves your issues, Thanks...

Here we go:-
1. Open the default.aspx page in SharePoint Designer (Please take the backup of this page first before making any kind of changes)

2. Click on the announcements web part and you'll notice a List View Options button is displayed in the upper left corner of the web part.

3. Click on Change Layout.

4. Select the Layout tab and select the layout that is 3rd or 4th from the bottom of displayed layouts and click OK.

5. Click yes to the Site Definition Page Warning dialog. 

6. Save your work in SharePoint Designer.

7. Go back to your browser in which the site is currently open and check the results (Please refresh once)

16 March, 2011

This Form Template Is Browser-Compatible, But It Cannot Be Browser-Enabled On The Selected Site.


I have an InfoPath form which is published to a document library in a SharePoint site. I am using InfoPath 2007 and MOSS 2007 enterprise edition. When I try to publish the form, and when I check the box "Enable the form to be filled out by using a browser", I only have the option to publish the form as Administrator approved form template, the other options of publishing it in a document library or publishing it as a content type are grayed out. 

 The InfoPath wizard is throwing an error message:

"This form template is browser-compatible, but it cannot be browser-enabled on the selected site"

Troubleshooting Steps:

1. Check Central Administration Settings

 -Central administration
 -Application Management
 -Click on Configure InfoPath Forms Services in the InfoPath Forms Services section (Check the following Check-boxes)
 a. “Allow users to browser-enable form templates”
 b.“Render form templates that are browser-enabled by users”

2. SharePoint Site Settings
1)   Open your SharePoint site
2)   Click on Site Actions 
3)   Site Settings
4)   Select Site collection features under Site Collection Administration
5)   Activate InfoPath Forms Services support or Office SharePoint Server Enterprise Site Collection feature

3. InfoPath 2007 client settings:
1)   Open the InfoPath client
2)   Tools
3)   Form Options
4)   Select the Compatibility category
5)   Check the 'Design a form template that can be opened in a browser or InfoPath'
6)   Click Ok

4. Form Publishing:

1)   When you published the form on to a document library then please make sure this settings (imp step):
2)   Check the “Enable this form to be filled out by using a browser” checkbox and finish.

5. Document Library Settings:
1)   Open the document library
2)   Settings
3)   Document Library Settings
4)   Advanced Settings
5)   Select the “Display as a Web page” option in the Browser-enabled Documents category

After all these troubleshooting steps, if you still faces the same issue then please execute the below mentioned commands and your issue will be resolved:

stsadm -o deactivatefeature -filename IPFSSiteFeatures\feature.xml -force -url %SITE_COLLECTION_URL%

stsadm -o deactivatefeature -filename IPFSWebFeatures\feature.xml -force -url %SITE_COLLECTION_URL%

STSADM.EXE -o activatefeature -filename IPFSSiteFeatures\feature.xml -url %Sitecollection_URL% -force

STSADM.EXE -o activatefeature -filename IPFSWebFeatures\feature.xml -url %sitecollection_URL% -force

If you have any queries/questions then please let me know. I would be more than happy to help you as well as resolves your queries...

10 March, 2011

How to find GUID of SharePoint list:MOSS 2007/WSS 3.0


In this post i am going to discuss multiple ways by which we can easily find the guid of sharepoint lists. SharePoint list's are used on day-to-day basis and sometimes there might be customer requirement/project need where we required sharepoint list Guid.


Please refer the following ways and select the easiest way as per your requirement. In case of any confusion/queries then please let me know,Thanks...


First Way:


-Navigate to the SharePoint list using the browser.
-Select the Settings + List Settings menu command.
-Copy the Url from the browser address bar into Notepad. It will look something like:


http://sharepoint2007/ProjectX/_layouts/listedit.aspx?List=%7B26534EF9%2DAB3A%2D46E0%2DAE56%2DEFF168BE562F%7D


-Delete everying before and including “List=”.
-Change “%7B” to “{” 
-Change all “%2D” to “-“
-Chnage “%7D” to “}”


You are now left with the Id:


{26534EF9-AB3A-46E0-AE56-EFF168BE562F}


Second Way:


-Go to respective List
-Go to Settings 
-List Settings 
-Right-click on the 'Information management policy settings' link and 
-choose Copy Shortcut.
-Paste the URL and you can see the GUID surrounded with "{" and "}".


+ Access the list via your browser and select the View you want to find the GUID.
+Select "Modify this View" and copy the URL.
+You will get a URL like this,



http://sharepoint2007/admintesting/_layouts/ViewEdit.aspx?List=%7B5C65CB1A%2D2E1B%2D488A%2DAC07%2DB115CD0FC647%7D&View=%7B75E689B4%2D5773%2D43CB%2D8324%2D58E42E1EB885%7D&Source=http%253A%252F%252Fmysite%253A5050%252Ftestsara%252FLists%252FTasks%252FAllItems
%252Easpx



From the above URL, you will find this:


List=%7B5C65CB1A%2D2E1B%2D488A%2DAC07%2DB115CD0FC647%7D
View=%7B75E689B4%2D5773%2D43CB%2D8324%2D58E42E1EB885%7D


Replace "%7B" with "{"
Replace all "%2D" with "-"
Replace "%7D" with "}"


You are now left with the following GUIDs:


List ID is {5C65CB1A-2E1B-488A-AC07-B115CD0FC647}


View ID is {75E689B4-5773-43CB-8324-58E42E1EB885}


Third Way:


SharePoint Tips Utility Pack: http://spstipsutilitypack.codeplex.com/


SharePoint Tips Utility Pack is a package of utilities for the administrator\developer\deployer of SharePoint 2007 and WSSv3. 


Fourth Way:


A little GUID picker: Credit goes to Ronalus- http://blogs.msdn.com/b/ronalus/archive/2007/09/08/a-little-guid-picker.aspx


+Type a Site URL, and select “Display Lists Titles and Ids”. From the list of lists you can select a list GUID, and with right-click copy it to the List ID input field.


+After clicking “Display Views” you see the available list views. Again you can select a view guid, and with right-click copy it to the View input field.


+Select “Display Items” to display the list items in the view.


+With a click on “Display default List Attribute Names” de internal names of the fields in the list are displayed.


Fifth Way: 


SharePoint Inspector: http://spi.codeplex.com/


=SharePoint Inspector is a free tool to browse your SharePoint 2007 farm. 
=You can see objects composing its structure, get their properties by reflection, which can be very useful when you want to check if your code does what it should do.
=You can use also some advanced features like activate/deactivate SharePoint features, add/remove event receivers, manage your recycle bin.


Please refer the following screenshots regarding the same:





Regional settings in SharePoint 2007/SharePoint 2010


How do you change the SharePoint time Regional settings to match up the server settings? 


Every SharePoint site can be customized to use specific regional settings that are used as the default settings for all users of your site. 
Individual users can also choose to use these default settings or specify their own personal settings


I have noticed that the server time is 11:00 AM EST, while the newly uploaded the documents (into Shared Document library) are dated as 8:00AM. I believe it is the PST. How do I change the time setting?


Here is the answer:


How To Change the Regional Settings For a Site:


Do the following on each SharePoint site on which you want to change the default regional settings:


-Open the site on which you want to change the default regional settings.


-On the Site Actions menu , click Site Settings.


-On the Site Settings page, under Site Administration, click Regional settings.


-On the Regional Settings page, select the settings that you want for this site, and then click OK.


===========================================
How To Change Regional settings in SharePoint 2010





How To Change Regional settings in sharepoint 2010


@Central Administration


-Open the Central Administration(CA)
-Application Management
-Web Application
-General Settings (Web Application General Settings)


@Site Level


-Go to 'Site Action' then 'Site Settings' under Site Administration, click Regional settings. 
-Adjust the format to the desired setting and click Ok.

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

08 March, 2011

Journey of Microsoft Internet Explorers



Internet Explorer is the world's most popular Web browser. Security, ease of use, and improvements in RSS, CSS, and Ajax support are Microsoft's priorities for Internet Explorer.

The latest version of the browser includes support for:
-Accelerators - which allow supported web applications to be invoked without explicitly navigating to them.
-Web Slices - which allows portions of page to be subscribed to and monitored from a redesigned Favorites Bar.
-InPrivate privacy features.
-Smart Screen phishing filter.

How the journey started: Internet Explorer through the years

Internet Explorer: powering the internet since 1995!

Microsoft’s Internet Explorer has come a long way since its introduction in 1995, when it was released together with the Windows 95 Plus! Pack. Internet Explorer 1.0 transformed the world by making it easy to get online, accomplishing what no other browser had done before: making the Internet accessible for the masses.

You can trace Internet Explorer’s roots all the way back to a web browser developed in 1987 called Mosaic, which was the first web browser to use a graphical user interface. The technology and trademarks behind Mosaic were eventually licensed to a company founded in 1990 called Spyglass. And in 1995, Spyglass licensed the source code for Mosaic to Microsoft and Internet Explorer was born.

Since then, Internet Explorer has grown to become the most widely used web browser around the world.

Internet Explorer 1.0 (1995)

Used on Windows 95, IE 1.0 was only slightly more than 1 megabyte in size and sure you could surf the internet, but not much more. In fact, you could forget about accessing video or music files, reading newsgroups or even viewing graphics.

Internet Explorer 2.0 (1995)

Released within the same year, IE 2.0 was the very first cross-platform browser that supported both Windows and Mac. It brought with it support for JavaScript, frames, cookies, giving web developers and designers tools to design secure and media-rich websites with tracking abilities.

Internet Explorer 3.0 (1996)
IE 3.0 revolutionized the world by offering Internet Mail, News 1.0, displaying graphics and playing  audio files. In the six hours of its release, there were more than 32,000 downloads. By the end of the first week, more than 1 million copies of the browser were downloaded. 

Internet Explorer 4.0 (1997)
Released in 1997, the Internet came to life when menus expanded with a click and images could be dragged around. IE 4.0 also included an option to enable “Active Desktop”, which displayed Internet content on the desktop itself and was updated automatically as the content changed. 

Internet Explorer 5.0 (1999)
IE 5.0 helped ushered in a new era of e-commerce with its expanded programming capabilities. 

This was the first browser to support bi-directional text, an important feature for international users who’s languages are written from right to left!

Internet Explorer 6.0 (2001)
IE 6.0 had all the fun stuff, with the Images Toolbar, Auto Image Resize, Print Preview and Media Bar.  It was the most widely used web browser during its tenure, surpassing IE 5.0. At its peak in 2002 and 2003, IE6 attained a total market share of nearly 90%.

Internet Explorer 7.0 (2006)
IE 7.0 made Internet surfing safer with a phishing filter, stronger encryption, and a “delete browsing history” button to easily clear private data. It also introduced tabbed browsing, allowing users to do more things faster and easier with the browser. 

It was the browser that truly delivered the Web 2.0 experience.

Internet Explorer 8.0 (2009)
Released in 2009, IE 8.0 remains one of the most secure browsers on the market today, introducing revolutionary security and privacy features such as InPrivate Browsing and SmartScreen phishing protection.

IE 8.0 also introduced a bunch of new user features like web slices, accelerators, automatic Tab crash recovery and inline search within pages. Users rejoice!

so here is the browser of the future

I have just installed Internet Explorer 9, which is now available for download. First think that i noticed is that it’s a faster browser than Internet Explorer 8. Pages seem to load faster, and IE itself is lighter on its feet and more agile. The second thing is that Microsoft made major changes to the look of IE and moved major components around. The Favorites Center is now on the right side and pop-up blocker notifications display from the bottom of the application window. The IE icon on the taskbar has a large E symbol, and the letter is a lighter shade of blue.

Discover Internet Explorer 9: A more beautiful web 

All-around fast
-Faster and more responsive websites. 

-Hardware-accelerated text, video, and graphics

-Installs faster, starts faster

Focused on your websites
The new browser frame makes any website shine. 

Simplified yet enhanced, the user interface brings sites forward. Characteristics of each website are reflected throughout the browser, allowing you to be more immersed in each site you visit.

SmartScreen Filter
SmartScreen Filter helps combat these threats with a set of sophisticated tools:

    -Anti-phishing protection—to screen threats from imposter websites seeking to acquire personal information such as user names, passwords, and billing data.
    
    -Application Reputation—to remove all unnecessary warnings for well-known files, and show severe warnings for high-risk downloads.
    
    - Anti-malware protection—to help prevent potentially harmful software from infiltrating your computer.

Pinned Sites
 With Pinned Sites, you can get to your favorite sites directly from the Windows taskbar—without having to open Internet Explorer first. 
Each site that's pinned to the taskbar has a Jump List. Pinning a site takes seconds: click the icon to the left of the web address in One Box, or the tab for the website, or the website's icon on the New Tab page, and then drag it to the taskbar.

One Box
Whether you want to navigate to a website or start a search, you have a single place to go in Internet Explorer 9—One Box.

Surfing and searching—all in one place

With One Box, surfing or searching the web is a snap. You can start typing a web address and AutoComplete anticipates what you’re looking for to help you get to your websites quickly.

Microsoft said that the Release Candidate version is going to automatically be updated to the final version, so a direct download should be available starting with March 14.