PrepAway - Latest Free Exam Questions & Answers

Category: 70-542

Exam 70-542: TS: Microsoft Office SharePoint Server 2007 – Application Development

Which code segment should you add to line 5?

You have a Line of Business application defined in a business data catalog. You create a web part to browse the data of the LOB application. You have the following query to interact with the LOB application and the web part:

01: Dim lobSystem As LOBSystem = ApplicationInRegistry.GetLOBSystem()(“lob1”)
02: Dim lobSystemInstance As LOBSystemInstance =
lobSystem.GetLOBSystemInstance()(“lob1Instance”)
03: Dim ent1Entity As Entity = lobSystem.GetEntities()(“DBOEntities”)
04: Dim fc As FilterCollection = ent1Entity.GetFinderFilters()
05:

You need to render the results of the query and the web part.

Which code segment should you add to line 5?

Which two actions should you perform?

You create a SharePoint Server 2007 site. You create a trusted document library. You name the financial workbooks in the SharePoint site. The document library contains Microsoft Office Excel workbooks. You create an assembly named FinancialFunctions that implements custom business logic. You need to call the methods defined in FinancialFunction from the workbooks that are stored in the document library.

Which two actions should you perform? (The correct answer represents part of the solution. Choose Two.)

Which code segment should you add at line 6?

You have a Microsoft Office InfoPath form that is published using InfoPath Services. You plan to publish a new version of the InfoPath form. You need to take the current InfoPath form offline and must ensure that users who currently have the form open have one hour to complete the form.

You write the following code segment:

01: Dim services as SPServiceCollection = SPFarm.Local.Services
02: Create svc as SPService in services
03: Dim fs As FormService = Try Cast(svc, formService)
04: If fs is not Nothing Then
05: Dim ft as FormTemplate = fs.FormTemplates(“myForm”)
06: …
07: End If
08: Next

Which code segment should you add at line 6?


Page 11 of 15« First...910111213...Last »