Sunday 29 June 2014

Moss 2007 interview questions

How to add a dropdown in the Master page.
• How to add BDC file to MOSS
• How to configure outlook to MOSS
• Can we edit master page through c# code
• How to publish infopath to moss through infopath interface
• Excel services
• What is extension of BDC file
• What is application definition file
• Can we add webpart to master page
• How to edit moss site through sharepoint designer
• What are the difference b/w system.web.ui.webcontrols.webparts and Microsoft.sharepoint.webpart pages
• Custom webpart development
• Custom workflow development
• Content type
• Site column
• Site template
• How content type is related to page layout
• How to attach a content type to document library
• If moss have 10 content types how to map 2 content types to document library
• Target audience in document library
• How to show document title names in web part which are checked
• How can we get user name in webpart
• How to install search
• Can we search for Pdf file in moss
• How content database will work
• BDC navigation
• Site collection
• What is SSP
• Database in web application
• Where will be stored user images in moss
• What is web part communication
• How search index will work in moss 2007
• Custom search in moss 2007
• What is diff b/w spsite and spweb
• What is the class name to get site permissions in object model
• What is the class name to get list details in moss 2007
• BDC xml parameters
• Can we get subsites from spweb
• Web application path in local system
• What are the methods used in custom webpart
• How to deploy custom webpart and what are the diff methods
• What is spquery in object model
• What is “Filter description” in BDC xml file
• What is search crawl in moss 2007
• Can we develop a custom webpart without render method
• What is the use of SPFeatureReceiver
• What is IDEnumerator
• How to add .aspx pages to moss
• How to avoid loading all js files and css files in client side when we are using custom css
• How to deploy a web part in server when the application is in client place
• We have 100 lists in server ,how can we categorise those list according to category
• How can we get diff types of languages according to the login place
How search index will work in MOSS 2007
Custom search in MOSS 2007
what is diff b/w spsite and spweb
Ans) SpSite is the root site(Root site+Subsites)
Spweb is particular site.
SPList is related to all the list to a SITE
what is the class name to get site permissions in Object Model.
what is the class name to get LIST details in MOSS2007
BDC XML parameters....
Can i get sub sites fom spWeb ans)No
Tell me webapplication path in local system
Tell me methods which r used in custom webpart.
How to deploy costom webpart and what r the diff methods.
What is SPquery in Object Model
What is "FilterDescriptor" in BDC XML file.
Ans)In this section Define the filters supported by the back-end method (or sql query) here
Site Defination and site template
Abstract Class and Interface
what is search crawl MOSS 2007
Can i develop a Custom webpart with out Render Method?
what is the use of SPFeatureReceiver
IDEnumerator:
To enable Business Data Search, you must define a SpecificFinder and a special type of MethodInstance method called IDEnumerator in your metadata
what is the refernce name space for data types (base class for data types)
what is deligates and types
what r diff b/w sql 2000 and 2005
how to catch exceptions in sql
what is session and how can we trace in .net
Session types
what is the array and arraylist
what is the diff b.w value type and reference type
What is the serialization and advantage
What is the cookieless session
A)http://www.devx.com/tips/Tip/27427
Interface
Abstract Class
Partial Class
Sealed Class
What is the diff b/w function and Storedprocedure
ACID properties in SQL
what is webpart
steps to develop custom workflow
Name space to create custom workflow
microsoft.sharepoint.ddl-----path of this dll
what is workflow
types of workflow
what r the default workflows
How to add microsoft.sharepoint.ddl to Application
How to deploy a workflow in server (Steps)
How to call another server table tr current server in sql
what r the new features in sql 2005
What is the trigger and types
what is the cluster and non-cluster
What is the diff b/w html control and server control
How can i call server control in Javascript
How can i convert html control to server control
what the advantages of server controls insted of html controls
what is GC pattern
Diff b/w structure and class
what is interface and advantage
Object model coding
ref value and out value
site template and site defination
working with web services in MOSS
The SharePoint 2007 Architecture.
CAML, Features, Custom Actions, and Application Pages.
List Types.
Form-Rendering Controls.
Field Types.
Site Columns and Site Content Types.
Site Definitions and Site Provisioning Providers.
Advanced SharePoint Programming.
Event Receivers.
SharePoint Web Parts.
Code Access Security (CAS).
Deployment.
Business Data Catalog.
1.How to deploy webparts in sharepoint application using script.
2.What is content Type
3.Difference between WSS and MOSS
4.How to configure events in sharepoint site
5.which server farm you people are using
6.How do you use BDC in your application
7.Explain architecture of your project.
8.what are the softwares do you need for installation
9.Is it compulsary to install microsoft office
8.Different types of templates in moss
9.Can you create more than one ssp site
10.what is the use of ssp
11.how do you implement workflows in your sharepoint site
12.Did you use sharepoint designer for customizing templates
13.if user profiles are exist in oracle database then which authentication did u use for that site.
How search index will work in MOSS 2007
Custom search in MOSS 2007
what is diff b/w spsite and spweb
Ans) SpSite is the root site(Root site+Subsites)
Spweb is particular site.
SPList is related to all the list to a SITE
what is the class name to get site permissions in Object Model.
what is the class name to get LIST details in MOSS2007
BDC XML parameters....
Can i get sub sites fom spWeb ans)No
Tell me webapplication path in local system
Tell me methods which r used in custom webpart.
How to deploy costom webpart and what r the diff methods.
What is SPquery in Object Model
What is "FilterDescriptor" in BDC XML file.
Ans)In this section Define the filters supported by the back-end method (or sql query) here
Site Defination and site template
Abstract Class and Interface
what is search crawl MOSS 2007
Can i develop a Custom webpart without Render Method?
what is the use of SPFeatureReceiver
****************************************
We can restore the sharepoint List/ Document library with content, the size of a template cannot exceed 10485760 bytes.
***********************************
Workflows using workflow foundation
Customize Blogs, RSS Feeds etc
Search Scoped
Content Query web part
Advanced MOSS 2007 features
Business Intelligence
Business Data Catalog
Excel Services
InfoPath forms
NEW
What is a safe control configuration? To configure disk-based caching, which element in web.config should be modified?
Please list the port numbers used by the Office Web Services in the MOSS Farm?
What is the base control that every SharePoint Field control is inherited from?
What is a safe control configuration? To configure disk-based caching, which element in web.config should be modified?
List out shared services?
which type of datasources that can be integrated using Business Data Catalog in MOSS
How activate "feature" in MOSS
Please list the operations that are related to solution management in MOSS using "stsadm".
You are designing an Internet site http://www.mycompanysite.com/ using Web Content Management features (WCM) of MOSS. Due to security requirements, all of the content authoring is to be done only in the authoring farm (company intranet) using the WCM features of MOSS at http://authoring.mycompanysite.com/. Can you promote content from Authoring Farm to Internet Farm? If the answer is yes, what step should you do to allow content deployment in the Internet Farm?
You are trying to develop a new Feature. However, on feature activation you want to execute some custom code. What class should you inherit to achieve this? Can web parts developed in ASP.NET 2.0 be used in WSS V3 web part pages?
In WSS version 3, IConsumer and IProvider interfaces are made obsolete. What alternate interfaces are recommended to implement the above to achieve web part communications?
To create a custom router for the Records Center in SharePoint, what interface and method should you implement? You have developed a new feature called MyNewFeature that depends on the "MyCustomFeature". How do you specificy the dependency in the MyNewFeature feature.xml?
While creating a Webpart, which is the ideal location to Initialize my new controls ?
Override the CreateChildControls method to include your new controls. To make sure that the new controls are initialized.. call 'EnsureChildControls' in the webparts Render method. You can control the exact Rendering of your controls by calling the .Render method in the webparts Render method.
How to query from multiple lists ?
Use SPSiteDataQuery to fetch data from multiple lists
How Does SharePoint work?
The browser sends a DAV packet to IIS asking to perform a document check in. PKMDASL.DLL, an ISAPI DLL, parses the packet and sees that it has the proprietary INVOKE command. Because of the existence of this command, the packet is passed off to msdmserv.exe, who in turn processes the packet and uses EXOLEDB to access the WSS, perform the operation and send the results back to the user in the form of XML.
What is the difference between Syncronous & Asyncronous events?
Syncronous calls ending with 'ing' E.g. ItemDeleting Event Handler code execute BEFORE action is committed WSS waits for code to return Option to cancel and return error code
Asyncronous calls ending with 'ed' E.g. ItemDeleted Event Handler code executes AFTER action is committed WSS does not wait for code to return Executed in its own Worker thread.
What is ServerUpdate() ?
Any changes in the list, i.e. new addition or modification of an item.. the operation is complete by calling the Update method.
But if a List is set to maintain versions .. and you are editing an item, but don't want to save it as a new version, then use the SystemUpdate method instead and pass in 'false' as the parameter.
What is query.ViewAttributes OR How can you force SPQuery to return results from all the folders of the list?
If you use SPQuery on any SPlist .. it will bring back results from the current folder only. If you want to get results from all the folders in the list.. then you need to specify the scope of the query by the use of ViewAttributes.. e.g. query.ViewAttributes = "Scope=\"Recursive\"";
What are content types ?
A content type is a flexible and reusable WSS type definition that defines the columns and behavior for an item in a list or a document in a document library. For example, you can create a content type for a customer presentation document with a unique set of columns, an event handler, and its own document template. You can create a second content type for a customer proposal document with a different set of columns, a workflow, and a different document template.
Workflow can be applied to what all elements of SharePoint ?
While workflow associations are often created directly on lists and document libraries, a workflow association can also be created on a content type that exists within the Content Type Gallery for the current site or content types defined within a list. In short, it can be applied ... At the level of a list (or document library) At the level of a content type defined at site scope At the level of a content type defined at list scope
What are the ways to initiate the workflow ?
1. Automatic 2. Manual (standard WSS UI interface) 3. Manual (Custom UI Interface)
What are the types of input forms that can be created for a workflow ?
You can create four different types of input forms including an association form, an initiation form, a modification form, and a task edit form. Note that these forms are optional when you create a workflow template.
What are ways to create input forms for workflow ?
Two different approaches can be used to develop custom input forms for a WSS workflow template. a. You can create your forms by using custom application pages, which are standard .aspx pages deployed to run out of the _layouts directory. ( disadv: lot of code required when compared to Infopath approach) b. using Microsoft Office InfoPath 2007 (disadv: picks up a dependenct on MOSS, i.e. it cannot run in a standalone WSS environment)
What does RunWithElevatedPrivileges do?
Assume that you have a Web Part in which you want to display information obtained through the Windows SharePoint Services object model, such as the name of the current site collection owner, usage statistics, or auditing information. These are examples of calls into the object model that require site-administration privileges. Your Web Part experiences an access-denied error if it attempts to obtain this information when the current user is not a site administrator. The request is initiated by a nonprivileged user. you can still successfully make these calls into the object model by calling the RunWithElevatedPrivileges method provided by the SPSecurity class. C#: SPSite siteColl = SPContext.Current.Site; SPWeb site = SPContext.Current.Web; SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite ElevatedsiteColl = new SPSite(siteColl.ID)) { using (SPWeb ElevatedSite = ElevatedsiteColl.OpenWeb(site.ID)) { string SiteCollectionOwner = ElevatedsiteColl.Owner.Name; string Visits = ElevatedsiteColl.Usage.Visits.ToString(); string RootAuditEntries = ElevatedSite.RootFolder.Audit.GetEntries().Count.ToString(); } } });
What does AllowUnsafeUpdates do ?
If your code modifies Windows SharePoint Services data in some way, you may need to allow unsafe updates on the Web site, without requiring a security validation. You can do by setting the AllowUnsafeUpdates property. C#: using(SPSite mySite = new SPSite("yourserver")) { using(SPWeb myWeb = mySite.OpenWeb()) { myWeb.AllowUnsafeUpdates = true; SPList interviewList = myWeb.Lists["listtoinsert"]; SPListItem newItem = interviewList.Items.Add(); newItem["interview"] = "interview"; newItem.Update(); } }
What is a SharePoint Feature? What files are used to define a feature?
A SharePoint Feature is a functional component that can be activated and deactivate at various scopes throughout a SharePoint instances, such as at the farm, site collection, web, etc. Features have their own receiver architecture, which allow you to trap events such as when a feature is installing, uninstalling, activated, or deactivated. The element types that can be defined by a feature include menu commands, link commands, page templates, page instances, list definitions, list instances, event handlers, and workflows. The two files that are used to define a feature are the feature.xml and manifest file(elements.xml). The feature XML file defines the actual feature and will make SharePoint aware of the installed feature. The manifest file contains details about the feature such as functionality.
What does SPWeb.EnsureUser method do? Checks whether the specified login name belongs to a valid user of the Web site, and if the login name does not already exist, adds it to the Web site. e.g SPUser usr = myWeb.EnsureUser("mmangaldas");
What is the difference between method activity and event activity in WF ?
A method activity is one that performs an action, such as creating or updating a task. An event activity is one that runs in response to an action occurring.
How Branding can be achieved by Master Pages? What are the advantages or disadvantages of Master Pages?
Does sharepoint provide any way to grant read-only access to all the users of the company on the portal?
What does the webpart .cab file include?
What are the different Back-up and Restore methodologies?
What are the steps to create a web-part?
What are the benefits of using Infopath?
What are the different namespaces per Sharepoint Object Model?
What are the steps in running a custom WebService under the context of SharePoint?
Which version of .NET Framework runtime is required to install Microsoft Office SharePoint server 2007?
In MOSS Capacity Planning documents from Microsoft TechNet, a typical MOSS farm represented as 4x1x1. What does 4 stand for in the representation 4 x 1 x 1?
List 2 out-of-box workflow types that are available in MOSS 2007. How do you turn on Auditing for a SharePoint List?
Explain how to enable anonymous access to a SharePoint site?
What is Alternate Access Mapping? What does the "12 hive" mean in SharePoint?
Which SharePoint object and method is used to access a SharePoint List item?
Which control(s) should you inherit to create a web part for Windows SharePoint Services v3?
How can you display content from one site in another under the same site collection ?
How to Create a custom list form?