exam questions

Exam MB-400 All Questions

View all questions & answers for the MB-400 exam

Exam MB-400 topic 2 question 4 discussion

Actual exam question from Microsoft's MB-400
Question #: 4
Topic #: 2
[All MB-400 Questions]

An organization has a Dynamics 365 Customer Engagement.
You plan to use a JavaScript web resources file in the Accounts form. The file has a dependency on two image web resource files and on the custom field new_placeofbirth in the Account entity.
You need to add the dependencies for the JavaScript file.
Which three action should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

  • A. From Web Resources, select the JavaScript file for the Account form and then select the JavaScript file.
  • B. Open the web resources file, add the two image web resources to the dependency's lists, and then add the custom field new_placeofbirth to the dependency's list.
  • C. In the Account form, select Form Properties, select Non-Event Dependencies, and then add the custom field new_placeofbirth.
  • D. In the Account form, select Form Properties and add the primary JavaScript file and the other two image web resources in Form Libraries.
  • E. From Settings, select Customization and then select Customize the System.
  • F. Select Account, select Forms, and then select the Account form.
Show Suggested Answer Hide Answer
Suggested Answer: BCE 🗳️
All the Web Resources stored in the database can be accessed in the CRM. Following are the steps involved −
Step 1 (E) "" Go to Settings → then Customizations → and then Customize the System.
Step 2 (B)"" From the left navigation, select CRM Web Resources.
C: In our Dynamics 365 forms, there are measures we can take to ensure fields that are being used by JavaScript are not removed from forms. To prevent this from happening, we can go to Form Properties and select the Non-Event Dependencies, and add the website field:

Reference:
https://msdynamics.net/microsoft-dynamics-news/crm-web-resources-using-jscript/ https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/web-resource-dependencies

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sanharshu7
Highly Voted 4 years, 9 months ago
E F C I checked, I didn't see the system view to add an image as dependency on the JS file dependency tab. It has views only for (CSS,HTML, RESX,XML, js)
upvoted 15 times
Oda
4 years, 5 months ago
This is correct, imaged cannot be added as a dependency in the file, and E > F > C is the correct steps to achieve the requirement. the 'account form' in F is talking about the "Account" form in the account entity.
upvoted 2 times
...
...
ClairFraser
Highly Voted 4 years, 10 months ago
A, B, E dependencies are added from the Js resource page
upvoted 8 times
KenCraw
3 years, 11 months ago
Everything else is distracting, I believe Clair has the correct answer, as per: https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/web-resource-dependencies
upvoted 1 times
KenCraw
3 years, 11 months ago
I'm torn between A,B,E + E,F,C. I checked the same thing the sanharshu7 did, and same the same system views.
upvoted 2 times
...
...
...
isaw
Most Recent 3 years, 4 months ago
Correct answer is EFC. as per sanharasu
upvoted 1 times
...
jkaur
4 years, 4 months ago
Answer is EFC
upvoted 1 times
...
ExamFever
4 years, 4 months ago
Karlomanio, please read the question "you need to add dependencies FOR the JavaScript". Hence the given answer is correct.
upvoted 1 times
...
Karlomanio
4 years, 5 months ago
I'm going to be different from everyone else and say C, D, F because that is how I did it on the Microsoft training they had online. Why in this situation would even open the resources file (B)? That editing is done and has nothing to do with associating the file something else.
upvoted 1 times
...
mgharably
4 years, 10 months ago
we cannot add images to the dependency's lists neither in the Js dependency or the form dependency
upvoted 2 times
RoelG
4 years, 10 months ago
She it should be E, F, C
upvoted 21 times
...
ClairFraser
4 years, 10 months ago
"...web resource dependencies are not limited to just RESX web resources. You can associate a JavaScript web resource to any other type of web resource to create dependencies that will cause the associated web resource to be loaded together with the JavaScript web resource" https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/web-resource-dependencies
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago