- (Exam Topic 2)
You are building a Microsoft Outlook add-in.
Which object should you use to save a user's preferences between sessions and devices?
Correct Answer:
D
- (Exam Topic 2)
You have a SharePoint Framework (SPFx) 1.5 solution.
You need to ensure that the solution can be used as a tab in Microsoft Teams. What should you do first?
Correct Answer:
D
Starting with the SharePoint Framework v1.8, you can implement your Microsoft Teams tabs using SharePoint Framework.
Reference:
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-web-part-as-msteams-tab
- (Exam Topic 2)
You are developing a web app that will display emails from the Microsoft 365 mailbox of the current signed-in user.
For performance reasons, you do not want all the emails to be loaded simultaneously, rather page-by-page as the user navigates the app.
You plan to display 30 emails per page. The most recent emails must be displayed first.
How should you complete the query parameters for the REST request to display the third page of emails? To answer, drag the appropriate query parameters to the correct targets. Each query parameter may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Solution:
Box 1: top
Number of items to return in a result Box 2: skip
$skip Indexes into a result set. Also used by some APIs to implement paging and can be used together with
$top to manually page results.
Reference: https://developer.microsoft.com/en-us/graph/docs/overview/query_parameters
Does this meet the goal?
Correct Answer:
A
- (Exam Topic 2)
You have an API that is secured by using Azure Active Directory (Azure AD). You are designing a SharePoint Framework (SPFx) solution.
Which object should you use to connect to the API from the solution?
Correct Answer:
C
By using the AadHttpClient, you can easily connect to APIs secured by using Azure AD without having to implement the OAuth flow yourself.
Reference: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient
- (Exam Topic 2)
You need to develop an add-in for Microsoft Excel that can be used from the Windows, Mac, and web versions of Excel.
What are two ways to develop the add-in? Each correct answer presents a complete solution?
NOTE: Each correct selection is worth one point.
Correct Answer:
DE
D: Run the following command to create an add-in project using the Yeoman generator: yo office
Visual Studio Code is a great tool to help you develop your custom Office Add-ins regardless if they are for Outlook, Word, Excel, PowerPoint and run in the web clients, Windows clients, iOS clients or on macOS.
Open the project in Visual Studio Code by entering the following on the command line from within the same folder where you ran the generator:
code.
E: You can create VSTO Add-ins for Excel.
To create a new Excel VSTO Add-in project in Visual Studio
< > >< > >< > >< > >< > >< > > >