YouTube Icon

Interview Questions.

Top 33 Microsoft Office Sharepoint Server (MOSS) Interview Questions - Jul 26, 2022

fluid

Top 33 Microsoft Office Sharepoint Server (MOSS) Interview Questions

Q1. Explain How To Implement Workflow In Sharepoint?

Steps to put in force workflows in MOSS:

Add workflow to a record library, routing file to one of a kind people for approval.

Document creator begins the workflow and creates record approval duties, and assigns those tasks to various individuals/humans.

Author sends an e-mail to numerous members with mission commands and a link to the file in query.

As individuals entire their movements one after the alternative, they are able to view the repute of the file.

The workflow ends when all participants have finished their obligations regarding the document.

Author of the workflow is notified via an e-mail after the workflow has ended. 

Q2. Explain The Role Of Runwithelevatedprivileges?

RunWithElevatedPrivileges executes code because the System account. This basically then me that the code which you deliver as a delegate to the technique, has complete permissions to modify SharePoint objects in query.

Q3. Explain The Role Of Spwebapplication Object?

The SPWebApplication elegance includes numerous strategies and properties to carry out diverse manipulations on internet applications. I.E. Perform backups, upload content material databases, add website collections, set alert settings, exchange the web.Config file and so on. The class definitely represents the IIS load balanced net application this is mounted at the server farm.

Q4. Differentiate Between Method Activity And Event Activity In Workflow.?

In Moss, a technique interest is one that performs an action, e.G.: developing/updating a undertaking. However, an event interest is a cascading one which runs in reaction to an movement which has took place.

Q5. Explain The Ways To Initiate The Workflow?

Ways to initiate a workflow:

Once a workflow has been linked to a file, one can start the workflow by means of choosing the workflow which you want from the list of workflows to be had for the record or object. If wished, one may ought to fill a shape with the data this is wished with the aid of the workflow. Based on how the workflow changed into configured, it is probably feasible to personalize it and begin it.

There are essentially three approaches, Manually, When new listing item is delivered, and When a brand new list item is up to date.

Q6. Explain Types Of Sharepoint Sites?

Types of sharepoint web sites:

Wiki : This is normally wherein all of us is authorized to add/trade content material for a common knowledgebase.

Blog : This kind of website is for posting specialized articles or records for absolutely everyone to read.

Publishing website online : This website online is used to approving specific content before it’s posted to anybody.

Document library : A website particularly used for report control functions.

Download website : This type of web site allows in tracking the matter of downloads and tune them.

List or Forum : The concept is to have unique people submit a subject and then permit others to touch upon the posts.

Survey : Usually a site that’s accessed through every body for carrying out a survey.

Dashboard : The concept of a dashboard is for commercial enterprise executives to gain statistics and carry out reporting obligations.

Q7. What Is The Role Of Spwebapplication Object?

The SPWebApplication class includes various methods and homes to carry out diverse manipulations on web packages. I.E. Perform backups, add content material databases, add site collections, set alert settings, trade the web.Config report and so forth. The magnificence genuinely represents the IIS load balanced web utility this is set up at the server farm.

Q8. What Is The Webpartmanager Sealed Class? What Is Its Purpose?

The WebPartManager sealed magnificence manages everything in context of a WebPart page, i.E. WebParts controls, occasions, capability in WebPartZones and so on. It is likewise known as the important magnificence of the WebPart manipulate set.

Q9. Tell Me The Differentiate Between Synchronous And Asynchronous Events?

Synchronous occasion are the ones in which the caller wishes to pause to look ahead to a response. The reality that it waits for a response me that the call is a “blocking off” call to the occasion handler. This gives the thread that encountered the event an possibility keep away from executing code that the occasion identifies undo the results of code that the occasion identifies.

Asynchronous event is one wherein the caller continues with out pausing for a reaction. This allows concurrency among both the caller and the method being referred to as.

Q10. How Dpm For Moss Work?

Data Protection Manager affords the capacity to backup a whole sharepoint farm including the SQL Server databases, metadata, farm configuration files and indexes for federated seek. Bakups can be automated to occur upto 4 instances an hour primarily based on the need. DPM starts by means of backing up a baseline reproduction of the sharepoint surroundings.

It then there onwards plays full backups on everyday foundation using the sharepoint VSS author and underlying factor VSS writers to perceive blocks or fragments of the farm and content material databases that have modified. It is designed for sharepoint administrators and presents them with wizards and workflows to assist shield the information. It represents facts to be included within the equal context as the consumer accesses it.

Q11. How To Implement Workflow In Sharepoint?

Steps to put into effect workflows in MOSS:

Add workflow to a file library, routing record to exceptional people for approval

Document creator begins the workflow and creates document approval tasks, and assigns these obligations to diverse contributors/human beings.

Author sends an e-mail to numerous individuals with project instructions and a link to the file in question.

As contributors entire their moves one after the opposite, they could view the status of the report.

The workflow ends while all contributors have finished their obligations regarding the file.

Author of the workflow is notified thru an email after the workflow has ended.

Q12. What Is .Ddf File?

A .Ddf record: Data Directive File. It incorporates the metadata just like the source files and their vacation spot places. The .Ddf document is passed as a parameter to the MAKECAB application to orchestrate production of the SharePoint solution record.

Q13. What Are Application Pages In Sharepoint?

One can create custom utility pages to add GUI additives in Sharepoint. Unlike website online pages, an software page is deployed handiest as soon as consistent with Webserver. Application pages can not be custom designed based on websites, and are primarily based on digital _layouts listing. Application pages are all compiled collectively right into a single dll and are also used across all web sites inside a server farm. They are desired to website online pages because of their performance blessings over them and they also guide inline code.

Q14. Explain The Six Pillars Of Moss 2007?

Six pillars of MOSS2007:

Collaboration : SharePoint permits for collaboration with the aid of integrating workspaces, responsibilities, forums, surveys, blogs, RSS feeds and Wikis.

Portal : SharePoint is a portal framework constructed using more than one portlets called internet components. It offers Master pages which can be used for keeping consistency throughout the portal. The portal gives a unmarried join up get admission to or information together with numerous seek abilties. The portal also has seamless integration with Visual studio, which may be used to construct custom net components for use in SharePoint portal.

Enterprise search : MOSS consists of ACL-aware seek across both nearby and far off information stores with functions that allow specialised look for humans and information. It offers Business statistics save integration which helps in indexing the databases for searches.

Web & Enterprise Content Management : MOSS gives file management abilities which includes versioning skills, test in/out, record locking, wealthy metadata, workflows, policies, role-based get right of entry to controls on one of a kind degrees i.E. Library, folder, report ranges.

Forms pushed Business Process : MOSS gives XML primarily based InfoPath bureaucracy that are to be had on a selection of structures which includes cellular gadgets.

Business Intelligence : Websites in MOSS gives a rich dashboard on macro degree. The B.I. Talents presented consist of server-primarily based Excel Services and Excel Web Services API's, line of enterprise utility and records repository integration, and extra state-of-the-art competencies to reveal key overall performance indicators.

Q15. Explain The Role Of Allowunsafeupdates?

AllowUnsafeUpdates permits updates on a GET request. It essentially permits code to skip safety validation whilst making modifications to Sharepoint items which aren't done within a HTTP POST request.

Q16. What Are The Components That Workflow Architecture?

Components of workflow architecture:

One can create workflows using Visual Studio2010 workflow designer. Every single workflow is compiled into its own dll. One wishes to create a Workflow definition (XML primarily based) to use it in a farm. The xml includes the following facts:

Name, GUID and description of the workflow

Location of any custom forms being utilized by this workflow

Correct magnificence in the meeting that is to be called.

Each server farm carries an affiliation table for workflow, which links various workflows to the content material type, list or document it applies to. It also includes information concerning how the workflow is initiated i.E.With the aid of customers or mechanically in conjunction with the tasks associated with that workflow.

Q17. What Is Moss? Explain Its Features?

MOSS stands for Microsoft Office Share Point Server. MOSS is a portal primarily based platform for entire management of documents & web services. It is a platform for creation of custom designed internet primarily based programs & portals like blogs, wiki etc. MOSS affords protection capabilities and may be configured to return separate content primarily based at the fact that the consumer has logged on using net, intranet or extranet.

Q18. Describe Page Layouts Of Moss?

Page layout defines the appearance and feel of a Web page. Content for the web page is saved in fields at the page. When you view or edit a web page, the content material is displayed inside the discipline controls.

The kinds of fields on a page are decided by the content kind for the web page. Each content material type includes columns. When you create a content material kind, you upload column templates to the content kind for every area. Column templates decide the default area control this is related to the columns in addition to the kind of content the field can comprise, along with a single line of text, a hyperlink, or a picture.

Q19. What Is Sharepoint Workflow? Explain Its Purposes?

Workflows are implementation of enterprise processes allowing people to collaborate on documents thru diverse project duties assigned to people. They beautify productivity and organization of labor in an company. This enables humans to most effective give attention to responsibilities given to them. It’s essentially a deliberate series of obligations assigned to people to reap an outcome.

Workflows included in MOSS:

Approval.

Collect Feedback.

Collect signatures.

Disposition approval.

Three-kingdom.

Group approval.

Trlation control.

Overall MOSS workflows goal at higher productiveness keeping collaboration and commercial enterprise processes in mind.

Q20. What Is Caml?

CAML:- Collaborative Application Markup Language.It is an XML primarily based language and affords statistics constructs used to accumulate the SharePoint fields and is likewise used for desk definition. CAML is used to construct or customise SharePoint primarily based websites and assemble a CAML question in a WebPart to retrieve values from a SharePoint List.

Q21. Explain Classresources? How To Reference And Deploy Resources With An Asp.Net 2.0 Webpart?

ClassResources are defined in the SharePoint answer record. It is a helpful directory to use if you want to set up custom pictures. In ASP.NET 2.Zero, objects (snap shots) are referenced via embedding them as sources inside an meeting. ClassResources permits us to take away recompiles to alternate small interface changes or alterations to external JavaScript documents. Just saving the documents can paintings.

Q22. Difference Between Spsite And Spweb Object?

SPSite:

The SPSite item represents a group of sites, i.E. Site Collection, a top degree web page and all its sub sites.

It is used to get a sub web page of a Site Collection.

It is represented inside an SPSiteCollection object that includes the collection of all website online collections within the Web utility.

It includes the diverse subsites and the information concerning them.

SPWeb:

The SPWeb item represents an example of a SharePoint Web, and the SPWeb object carries things just like the real content material.

It represents a SharePoint Foundation website.

SPWeb item routinely adds the brand new SPWeb object to an internal listing.

It incorporates things like the real content.

Q23. How Do The Sub Sites Work In Sharepoint?

Sharepoint Websites exist in a hierarchy. At the pinnacle of the hierarchy is a Top-Level internet site. There can then be a couple of sub websites beneath this top-stage internet site and sub websites beneath sub web sites. The complete structure is then known as a domain series.

Administrators can determine who can create sub sites under the top stage website. One can see the list of sites and sub sites below the pinnacle level site by means of the usage of the Sites and Workspaces net page. The list suggests best one degree at a time.

Q24. Differentiate Between A Site And A Web?

A collection of websites along side the pinnacle degree web page is known as a unmarried website collection in Sharepoint. While developing a new Web Application, one has to follow growing a site collection to specify the content material of the internet utility. A web utility can for that reason even incorporate lots of website collections. The net software is needed to host those web page collections. Web application is the logical & bodily partition/box within IIS to create portals.

Q25. Explain Webpart Properties, And What Are Some Of The Attributes You See When Declaring Webpart Properties In Code?

WebPart properties are just like ASP.NET manage properties, they are used to specify the characteristics of a webpart and by means of specifying the attributes with the favored values with the aid of a consumer. Some of the attributes are WebDescription, WebDisplayName, Category, Personalizable, and WebBrowsable.

Q26. How Do You Return Sharepoint List Items Using Sharepoint Web Services?

Create a reference to the SharePoint Lists.Asmx web service by means of appending “/_vti_bin/Lists.Asmx” to the give up of a domain call. One can use this url to add a carrier reference in Visual studio there onwards. This will query the WSDL for the Lists.Asmx carrier.

Next step is to configure the safety to have the ability to name the provider strategies. You can try this by altering the bindingConfiguration to suggest the trport uses NTLM authentication, that's the default.

We can then iterate through all the lists.

Example:

ServiceReference1.ListsSoapClient proxy = new ServiceReference1.ListsSoapClient();

proxy.ClientCredentials.Windows.ClientCredential = new NetworkCredential();

XmlNode node = proxy.GetListCollection();

XPathNavigator nav = node.CreateNavigator();

XPathNodeIterator iter = nav.SelectDescendants("List", "http://schemas.Microsoft.Com/sharepoint/soap/", false);

even as (iter.MoveNext())

     string name = iter.Current.GetAttribute("Title", string.Empty);

     string identity = iter.Current.GetAttribute("ID", string.Empty);

     Messagebox.Show ("title:" + identify + “ and id:” + identity);

 

author.Flush();

Q27. Explain Impersonation, And When Would You Use Impersonation?

Impersonation is the idea of supplying capability inside the context of a distinctive identity, for instance letting a person get admission to the machine with nameless access. You would use impersonation so that you can get admission to resources on behalf of the user with a exclusive account, that typically, that would offer simply the very fundamental rights to get entry to the system.

Q28. Explain Sharepoint Master Pages And Its Features?

Master pages provide a base appearance and experience and preferred behaviors which might be needed for all the pages for your website. The content web page combines with the layout of the grasp web page to form the complete output. Microsoft SharePoint Foundation is built on pinnacle of Microsoft ASP.NET, therefore, it supports master pages for outlining elements which are commonplace to all pages.

Advantages of Master Pages:

People can save their time and sources via making design adjustments in a single vicinity they'll be meditated in all pages that use the master page. The User interface can be reused.

More regular pages and a better end-user experience

Q29. What Are The Types Of Page Layout Columns?

Types of page format columns: 

Scheduling Start Date : Displays the date and time when the web page is seen on a site.

Scheduling End Date : It includes the date and time wherein the page is not visible on a website.

Contact : Contains the name of the individual or organization who created the web page.

Contact E-mail Address: Page Content : Contains the name of the page layout related to every instance of a page. Includes the email deal with of the person that created the page.

Contact Name : Contains the name of the individual that created the page.

Contact Picture : incorporates the photo of the man or woman you can contact approximately the web page.

Page Content : Contains the name of the web page layout related to every example of a page.

Q30. Discuss The Architecture Of Moss?

Architecture of MOSS:

Office Sharepoint Server : This layer manages excel services, infopath forms offerings, project server, agency seek, coverage, single sign up, business records catalogs.

Asp.Net Forms : This layer lies below Office Sharepoint Server layer. It is the layer accountable for Asp.Net based sites.

Windows Sharepoint Services : This is a collection of home windows services that's used by sharepoint to hook up with the database and can be used for development purposes.

Development equipment : On the left is the collection of diverse development paradigms that can be used to carry out development and create various webparts, or examine and get information from WSS the usage of Visual studio.

Q31. How To Invite Users To Join A Windows Sharepoint Services Site?

Sharepoint based totally websites may be configured to be password covered to restrict access to users. Only registered users can then get entry to it and an invitation to those users is sent through electronic mail. Moreover, they also aid roles, enabling directors to restriction certain members based on their roles to sure permissions.

When including a new consumer, one may also save their email address and request sharepoint to ship an email to the user to enable them to get admission to the sharepoint primarily based website. Shrepoint itself provide with web pages to manage users, person organizations, roles and permissions to make certain protection and ease of user control on sharepoint based websites.

Q32. What Is Impersonation, And When Would You Use Impersonation?

Impersonation is the concept of offering functionality in the context of a exceptional identity, for example letting a person get admission to the machine with anonymous get right of entry to. You would use impersonation to be able to get admission to sources on behalf of the person with a unique account, that normally, that would provide just the very fundamental rights to get right of entry to the machine.

Q33. Which Is Better A Usercontrol Or Webpart?

Comparison of UserControl and WebPart :

Advantages of UserControl:

Developers are already familiar with person controls which reduce the learning curve.

UserControls may be used with different ASP.NET applications. Hence reusable.

 Developing person controls the use of Visual studio is plenty faster than building it thru code as inside the case of WebParts.

Disadvantages of UserControl:

There is a overall performance overhead as usercontrol use a shim as a wrapper to paintings with Sharepoint.

Deployment is a bit messy.

Advantages of WebPart:

Everything is to be had and customizable, i.E. Toolbar, conduct, content material etc.

Better performance as there may be no shim wrapper.

Provide a structured deployment mechanism.

Disadvantages of WebPart:

Developers are strange so gaining knowledge of curve is steeper.

They are strictly for Sharepoint and gained’t work with other ASP.NET programs. Thus no longer reusable.




CFG