Q.
How do I make my site non-restricted? Ans. If you want your site to have
anonymous access enabled (i.e., you want to treat it like any site on the
Internet that does not ask you to provide a user name and password to see the
content of the site), follow these simple steps:
#
Login as an administrator
#
Click on site settings
#
Click on Go to Site Administration
#
Click on Manage anonymous access
#
Choose one of the three conditions on what Anonymous users can access:** Entire
Web site** Lists and libraries** Nothing Default condition is nothing; your
site has restricted access.
The
default conditions allow you to create a secure site for your Web site.
Q.
Can each user have access to their own calendar? Ans. Yes there are
two ways to do this,
*
by creating a calendar for each user, or
*
by creating a calendar with a view for each user.
Q.
What types of files can I upload / post to the site? Ans. The only files
restricted are those ending with the following extensions: .asa, .asp, .ida,
.idc, .idq.Microsoft reserves the right to add additional file types to this
listing at any time. Also, no content that violates the terms of service may be
uploaded or posted to the site.
Q.
Can SharePoint be linked to an external data source? Ans. SharePoint data
can be opened with Access and Excel as an external data source. Thus,
SharePoint can be referenced as an external data source. SharePoint itself
cannot reference an external datasource.
Q.
How does Ribbon works ? Ans. A file called CMDUI.XML stays at the web front end
which contains the Out-of-Box site wide Ribbon implementation i.e. all the
Ribbon UI for the entire site. In addition to this you have a CustomAction for
each ribbon component. These CustomActions have CommandUIExtentions block which
has CommandUIDefinitions and CommandUIHandlers which make up the activity of
the ribbon component. So, when the ribbon is loaded the CommandUIDefinition
merges with Out-of-Box definition in the CMDUI.XML
Q.
How would you add a link in the Ribbon? Ans. You can add any link or Custom
Action under any of the existing tabs of the ribbon or can create a new a new
tab and place your links under it.
Q.
What does CMDUI.XML contain? Ans. The definitions for the
out-of-the-box ribbon elements are split across several files in the SharePoint
root, with TEMPLATE\GLOBAL\XML\CMDUI.XML being the main one.
Q.
What is REST ? How is it used in SharePoint 2010 ?
Ans.
REST (Representational State transfer) is a protocol (powered by ADO.NET
services) which is used for getting data out of sharepoint via Url. It is
mostly used to access data from sharepoint even when you are not in the
sharepoint context.
Q.
What datatype is retured by REST ? Ans. REST does not return an object of
type SharePoint Site\List. Instead, it returns an XML output.
Q.
What is the difference between a Site Definition and a Site Template? Ans. Site Definitions
are stored on the hard drive of the SharePoint front end servers. They are used
by the SharePoint application to generate the sites users can create. Site
Templates are created by users as a copy of a site they have configured and
modified so that they do not have to recreate lists, libraries, views and
columns every time they need a new instance of a site.
Q.
How will you use WebParts or other solutions Created in SharePoint 2007 in
SharePoint 2010 ? Ans.
In SharePoint 2010 the 12 hive is now replaced by 14 hive, So we will rewrite
and recompile any code that refers to files and resources in “12″ hive. In
addition to we must recompile custom code written for Windows SharePoint
Services 3.0 and Office SharePoint Server 2007 that does not run on IIS.
Q.
What has Changed in SharePoint 2010 Object model? Ans. Microsoft has
replaced the “12 hive” structure that we had in SharePoint 2007 with “14 Hive”
structure in 2010.
It
has apparently added four new folders to its hive.
The
Folders are :
*
Policy
*
UserCode
*
WebClients
*
WebServices
Q.
How do you create a Custom action for an item in a list ? Ans. This can be done
by adding a new feature into SharePoint. You would need to use customaction tag
in your elements.xml file and will have to set various properties like imageurl
or UrlAction for your customaction. You can later add this feature into
sharepoint using stsadm install feature command.
Q.
How would you bind this CustomAction to a specific list ? Ans. To do this you
can either create a new list type(again a feature) and use the listtype number
for the new list in your RegistrationType property of the Customaction. The
CustomAction will then show up only for the items of this list type. or You can
create a new content type and then use that content type's id in your
cutsomaction to bind the custom action to items of just that content type. Add
the new content type to the list where you need this customaction.
Q.
How do make an existing non-publishing site Publishing? Ans. You can simply
activate the SharePoint Publishing Feature for the Site, you want to make
publishing.
Q.
What are Application Pages in SharePoint? Ans. Unlike site pages (for example,
default.aspx), a custom application page is deployed once per Web server and
cannot be customized on a site-by-site basis. Application pages are based in
the virtual _layouts directory. In addition, they are compiled into a single
assembly DLL.
A
good example of an Application Page is the default Site Settings page: every
site has one, and it's not customizable on a per site basis (although the
contents can be different for sites).
With
application pages, you can also add inline code. With site pages, you cannot
add inline code.
Q.
What is Authentication and Authorization? Ans. An authentication system is how
you identify yourself to the computer. The goal behind an authentication system
is to verify that the user is actually who they say they are.
Once
the system knows who the user is through authentication, authorization is how
the system decides what the user can do.
No comments:
Post a Comment