Which two actions should you perform?
You have a BDC entity. You need to ensure that the BDC entity can be indexed by the SharePoint indexer.
Which two actions should you perform? (Each correct answer represents part of the solution. Choose two)
What should you do?
You have a Records Center site. You need to create a custom file plan for documents based on their content type.
What should you do?
What should you do?
Your company stores product information in a Microsoft SQL Server 2005 database. You create a Business Data Catalog (BDC) definition to search for product information within the database. You need to ensure that incremental crawls can be performed in the database for indexing. What should you do?
Which code segment should you insert at line 13?
You are creating a Microsoft Office SharePoint Server 2007 Web Part.
You write the following code segment. (Line numbers are included for reference only.)
01 public Button cmdCrawl;
02 protected override void CreateChildControls()
03 {
04 cmdCrawl = new Button();
05 cmdCrawl.Click += new EventHandler(cmdCrawl_Click);
06 cmdCrawl.Text = “Update Index”;
07 }
08 public void cmdCrawl_Click(object sender, EventArgs e)
09 {
10 Microsoft.Office.Server.Search.Administration.Content sspContent =
11 new Microsoft.Office.Server.Search.Administration.Content
12 (SearchContext.Current);
13 …
14 }
You need to ensure that the Web Part initiates a search crawl of a scope named Patents.
Which code segment should you insert at line 13?
What should you do?
You are creating a Microsoft Office SharePoint Server 2007 site. You have a document library that is subject to an audit. You need to prevent relevant records from expiring during an ongoing audit. What should you do?
What should you do?
Your company uses a portal site template to recreate site hierarchies. You need to add additional sites to the hierarchy that is defined in the portal site template. What should you do?
What should you do?
You create an application for a Microsoft Office SharePoint Server 2007 server. You create a call center dashboard. You create a Key Performance Indicator (KPI) list that contains KPIs. You add a KPI Web Part to the dashboard to view KPIs. You need to permit users to view details that make up each KPI. What should you do?
What should you do?
You are creating an Enterprise Search web part. You need to ensure that the web part returns only results where the web part in is installed. You must achieve this goal by using the minimum amount of deployment effort.
What should you do?
What should you do?
Your company stores employee details in a Microsoft SQL Server database. You are creating a Report Center site on a SharePoint server. You need to ensure that a report on employee details can be generated in the Report Center site.
What should you do?
Which code segment should you add?
User Profiles in your SharePoint farm contain the job title property. The job title property contains the user job title. You have an audience defined for the Sales department. The audience contains a rule. You create a custom application that contains the following code segment:
01: Using site as New SPSite.Open(“http://intranet”)
02: Dim context as ServerContext = ServerContext.GetContext(site)
03: Dim audienceMgr as New AudienceManager(context)
04: Dim audienceColl as AudienceCollection = audienceMgr.Audiences
05: Dim salesDepartmentAudience as Audience =
audienceColl.Open(“SalesDepartment”)
06: Dim salesDepartmentRules as ArrayList = salesDepartmentAudience.AudienceRules
07:
08:
09:
10:
11: salesDepartmentAudience.AudienceRules = salesDepartmentRules
12: salesDepartmentAudience.Commit()
13: End Using
You need to change the audience to include only the users that have the job title set to Manager.
Which code segment should you add?