70-573 · Question #55
You have a SharePoint site. The current master page of the site is v4.master. You create a custom master page named MyMasterPage.master. You deploy the master page to /_catalogs/masterpage/. You…
The correct answer is C. Set the MasterUrl property and CustomMasterUrl property of the site to. MNEMONIC RULE: "MasterUrl and CustomMasterUrl" At runtime, the value in this property replaces the ~masterurl/default.master token in content SPWeb.MasterUrl Property At runtime, the value in this property replaces the ~masterurl/custom.master token in content…
Question
You have a SharePoint site. The current master page of the site is v4.master. You create a custom master page named MyMasterPage.master. You deploy the master page to /_catalogs/masterpage/. You need to apply the custom master page to only the content pages of the site. What should you do?
Options
- ARename the custom master page as v4.master and overwrite
- BRename the custom master page as v4.master and overwrite
- CSet the MasterUrl property and CustomMasterUrl property of the site to
- DIn the @Page directive of each page layout, set the MasterPageFile attribute to
How the community answered
(51 responses)- A4% (2)
- B18% (9)
- C71% (36)
- D8% (4)
Explanation
MNEMONIC RULE: "MasterUrl and CustomMasterUrl" At runtime, the value in this property replaces the ~masterurl/default.master token in content SPWeb.MasterUrl Property At runtime, the value in this property replaces the ~masterurl/custom.master token in content SPWeb.CustomMasterUrl Property
Topics
Community Discussion
No community discussion yet for this question.