08 September, 2011

Blocked file types in SharePoint 2010


Each Web application maintains a list of blocked file types that is based on file name extensions. For example, you can block files that have the .exe extension because those files can be run on the client computer and can contain malicious code.

By default, many file types are blocked, including file types that are treated as executable by Internet Explorer. Files, whose names include braces, (for example, filename.{doc}) are also blocked by default.

Following are the file types that are blocked by default and their corresponding file name extensions.

.ade
Microsoft Access project extension
.adp
Microsoft Access project
.app
Application file
.asa
ASP declarations file
.ashx
ASP.NET Web handler file.
.asmx
ASP.NET Web Services source file
.asp
Active Server Pages
.bas
Microsoft Visual Basic class module
.bat
Batch file
.cdx
Compound index
.cer
Certificate file
.chm
Compiled HTML Help file
.class
Java class file
.cmd
Microsoft Windows NT command script
.com
Microsoft MS-DOS program
.config
Configuration file
.cpl
Control Panel extension
.crt
Security certificate
.csh
Script file
.dll
Windows dynamic-link library
.exe
Program
.fxp
Microsoft Visual FoxPro compiled program
.hlp
Help file
.hta
HTML program
.htr
Script file
.htw
HTML document
.ida
Internet Information Services file
.idc
Internet database connector file
.idq
Internet data query file
.ins
Internet Naming Service
.isp
Internet Communication settings
.its
Internet Document Set file
.jse
JScript Encoded script file
.ksh
Korn Shell script file
.lnk
Shortcut
.mad
Shortcut
.maf
Shortcut
.mag
Shortcut
.mam
Shortcut
.maq
Shortcut
.mar
Shortcut
.mas
Microsoft Access stored procedure
.mat
Shortcut
.mau
Shortcut
.mav
Shortcut
.maw
Shortcut
.mda
Microsoft Access add-in program
.mdb
Microsoft Access program
.mde
Microsoft Access MDE database
.mdt
Microsoft Access data file
.mdw
Microsoft Access workgroup
.mdz
Microsoft Access wizard program
.msc
Microsoft Common Console document
.msh
Microsoft Agent script helper
.msh1
Microsoft Agent script helper
.msh1xml
Microsoft Agent script helper
.msh2
Microsoft Agent script helper
.msh2xml
Microsoft Agent script helper
.mshxml
Microsoft Agent script helper
.msi
Microsoft Windows Installer package
.msp
Windows Installer patch package file
.mst
Visual Test source files
.ops
Microsoft Office profile settings file
.pcd
Photo CD image or Microsoft Visual Test compiled script
.pif
Shortcut to MS-DOS program
.prf
System file
.prg
Program source file
.printer
Printer file
.pst
Microsoft Outlook personal folder file
.reg
Registration entries
.rem
ACT! database maintenance file
.scf
Windows Explorer command file
.scr
Screen saver
.sct
Script file
.shb
Windows shortcut
.shs
Shell Scrap object
.shtm
HTML file that contains server-side directives
.shtml
HTML file that contains server-side directives
.soap
Simple Object Access Protocol file
.stm
HTML file that contains server-side directives
.url
Uniform Resource Locator (Internet shortcut)
.vb
Microsoft Visual Basic Scripting Edition file
.vbe
VBScript Encoded Script file
.vbs
VBScript file
.ws
Windows Script file
.wsc
Windows Script Component
.wsf
Windows Script file
.wsh
Windows Script Host settings file


In case of any queries/questions regarding the above mentioned information then please let me know…

I would be more than HAPPY 2 HELP U as well as RESOLVES UR ISSUES :-) :-)

07 September, 2011

Add Web Parts to DispForm, EditForm or NewForm.aspx

One of my user had opened a ticket by asking is it possible to show an “Item List” on the “View Item” page.
When viewed the complete details and browsed to the “View Item” page and clicked the Site Actions then i found out that there were no “Edit Page” option available.
Did some research and found the solution.

Resolution steps are as follows:
1. Open Internet Explorer

2. Navigate to your “View Item” page i.e. DispForm.aspx

3. Replace everything in the URL after “?ID=#“ with “&PageView=Shared&ToolPaneView=2″ (without the quotes please) and press Enter

That’s it-ISSUE RESOLVED :-) :-)

If you have any queries/questions regarding above mentioned information then please let me know..
I would be more than HAPPY to HELP you as well as RESOLVES your issues, Thanks again!!

Moving the View Dropdown for Wide Lists


Right from last few days, i was working on one issue in which the user had requirement-How to avoid scrolling to the extreme right of the list with more than 25 columns added.

Requirement was complex one but made it simpler because of Mike Smith's Training Notes:http://techtrainingnotes.blogspot.com/2011/07/sharepoint-2007-moving-view-dropdown.html

Mike Smith has written a fabulous article regarding this which reflects a below mentioned code that we need to use by means of SharePoint content editor webpart and thas it !!

-Display the list’s view page
-Click Site Actions, Edit Page
-Add a Content Editor Web Part and move it to the bottom of the page (below the list’s web part)
-Edit the Content Editor Web Part, click the Content Editor button and paste in the following JavaScript
-Save & test

Note: Please refer the exact code from Mike Smith's Traing notes (above mentioned link)

If you have any queries/questions regarding the above mentioned information then please let me know...
I would be more than HAPPY to HELP you as well as RESOLVES your issues, Thanks