nerdexam
Microsoft

70-573 · Question #233

You develop a new publishing page layout named MyPage.aspx for a SharePoint site. You create an Elements.xml file. Elements.xml contains the following code segment. (Line numbers are included for…

The correct answer is B. <Property Name="PublishingHidden" Value="True" />. MNEMONIC RULE: "publishing page = PublishingHidden" How to Restrict page layouts to specific Sites? 46f4-8dbbca3405d3a6c6

Developing SharePoint Sites

Question

You develop a new publishing page layout named MyPage.aspx for a SharePoint site. You create an Elements.xml file. Elements.xml contains the following code segment. (Line numbers are included for reference only.) 01<File Url="mypage.aspx" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE"> 02<Property Name="Title" Value="MyPage" /> 03<Property Name="ContentType"Value="$Resources:cmscore,contenttype_pagelayout_name ;" /> 04<Property Name="PublishingAssociatedContentType" Value="; 05 #$Resources:cmscore,contenttype_page_name;; 06 #0x01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC432 78EE811;#"/> 07 08</File> You need to prevent users from creating pages based on the page layout. Which property tag should you add at line 07?

Options

  • A<Property Name="Hidden" Value="True" />
  • B<Property Name="PublishingHidden" Value="True" />
  • C<Property Name="RequireSiteAdministrator" Value="False" />
  • D<Property Name="Rights" Value="ViewListItems" />

How the community answered

(31 responses)
  • A
    3% (1)
  • B
    74% (23)
  • C
    16% (5)
  • D
    6% (2)

Explanation

MNEMONIC RULE: "publishing page = PublishingHidden" How to Restrict page layouts to specific Sites? 46f4-8dbbca3405d3a6c6

Topics

#publishing page layout#Elements.xml#PublishingHidden#content types

Community Discussion

No community discussion yet for this question.

Full 70-573 Practice