- (Topic 4)
You are developing an app.
You plan to publish the app to Microsoft AppSource. You need to assign an object range for the app. Which object range should you use?
Correct Answer:
D
When developing an app for Microsoft AppSource, it is essential to use an object range that is specifically designated by Microsoft to avoid conflicts with other apps and the base application. The correct object range to use is:
✑ An object range within the range of 70000000 to 74999999 that is requested from
Microsoft (D): This range is reserved for AppSource apps. Developers need to request this range from Microsoft to ensure that the objects used in their extension do not conflict with those used by other extensions or by the base application. Using this reserved range helps maintain the integrity and compatibility of extensions published on AppSource.
It's important to note that the other ranges mentioned (A, B, C, and E) are not suitable for apps intended for AppSource. Ranges 50000 to 59999 and 50000 to 99999 are typically reserved for per-tenant customizations or partner solutions, not for distribution on AppSource. The standard range 1 to 49999 is reserved for the base application objects, and using an object range divided by countries (C) is not a standard practice for AppSource
apps.
- (Topic 4)
A company has a Business Central online environment.
You need to create an HTTP GET request that connects to an external REST service. Which solution should you use?
Correct Answer:
E
To create an HTTP GET request that connects to an external REST service in a Business Central online environment, the solution to use is the HttpClient data type variable (E). The HttpClient data type in AL language is designed for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. This makes it the ideal choice for interfacing with external REST services, as it provides the necessary methods and properties to configure and execute HTTP GET requests, handle the responses, and process the data returned by the REST service. This approach is more direct and flexible compared to using specific codeunits like "Web Request Helper" (B) or "Http Web Request Mgt" (D), which might not provide the same level of control or specificity needed for RESTful interactions.
- (Topic 4)
A company uses Business Central Users in DepartmentA are assigned a base application permission set.
The company observes that Departments can display a critical page that should be unavailable to the department.
You need to resolve the system control issue. What should you do?
Correct Answer:
E
✑ Permission sets control access to objects (such as pages, tables, reports) in Business Central. By creating a new permission set that specifically excludes the critical table (or page) and assigning this permission set to the users in Department A, you can prevent them from accessing the page.
✑ Option A (creating a different role center page) is incorrect because role centers control the user interface, but do not directly restrict access to specific pages or tables.
✑ Option B and Option C (extending the base application permission set) are not the best options because extending permission sets typically involves adding permissions, not removing access. The question requires restricting access to a critical page, so simply including or excluding permission sets won??t solve the issue at the table or page level.
✑ Option D (creating an entitlement object) is not relevant here, as entitlements are used in more complex licensing scenarios or environments.
Summary:
Creating a permission set object that specifically excludes access to the critical table or page and assigning it to the users will solve the problem effectively.
DRAG DROP - (Topic 4)
You create the following Vendor table and Item table in Business Central.
You require the following data set to assign vendors to items.
You need to create a query to assign the vendors.
Which three code blocks should you use to develop the solution? To answer, move the appropriate code blocks from the list of code blocks to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
Solution:
To create a query that assigns vendors to items in Business Central, use the following code blocks in sequence:
✑ dataitem(Vendor; Vendor)
✑ dataitem(Item; Item)
✑ DataItemLink = "Vendor No." = Item.Vendor_No;
Creating a query:In Business Central, a query object is used to combine data from multiple tables. You start by specifying each table as a data item. In this case, you would start with the Vendor table and then the Item table. After specifying the data items, you need to link them together. The DataItemLink property is used to establish a relationship between two data items based on a common field. Here, you are linking the Vendor and Item tables on the "Vendor No." field, which is present in both tables. This link ensures that the query will return a dataset that includes related records from both tables based on the vendor number. The order of the code blocks ensures the logical flow and relationships between tables as required for the query.
Does this meet the goal?
Correct Answer:
A
- (Topic 4)
You are customizing Business Central by using Visual Studio Code. You create a project that will extend Business Central. The AL extension contains JSON files, which are automatically generated and are used to store configuration data
For testing purposes, you plan to add the following changes to the files:
• Specify that page 21 must be opened after publishing.
• Enable debugging
• Disable the capability to download the source code You need to add the configurations to the JSON files.
Which two configurations should you add? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Correct Answer:
CE
You are customizing Business Central using Visual Studio Code and JSON files for configuration.
You plan to:
✑ Open page 21 after publishing.
✑ Enable debugging.
✑ Disable the capability to download the source code.
Which configurations should you add?
The options involve two primary JSON files: launch.json and app.json, and configuration tags like startupObjectId and resourceExposurePolicy.