nerdexam
Microsoft

70-489 · Question #32

You create a SharePoint site collection for a law firm. You create the following objects in the site collection. A user searches for a legal case. The search results must contain only current cases…

The correct answer is B. MPCaseID. In SharePoint search, result types use managed properties to define filtering conditions. The 'MP' prefix in MPCaseID identifies it as a managed property, which is the correct object type for result type rules.

Plan and implement a search solution

Question

You create a SharePoint site collection for a law firm. You create the following objects in the site collection. A user searches for a legal case. The search results must contain only current cases. You need to create a custom result type that displays only current cases. Which object should you use?

Exhibit

70-489 question #32 exhibit

Options

  • ACases
  • BMPCaseID
  • Ccase
  • Dows_CaseID
  • ECaseID

How the community answered

(32 responses)
  • A
    13% (4)
  • B
    78% (25)
  • C
    3% (1)
  • D
    6% (2)

Why each option

In SharePoint search, result types use managed properties to define filtering conditions. The 'MP' prefix in MPCaseID identifies it as a managed property, which is the correct object type for result type rules.

ACases

Cases is the name of a list or library in the site collection, not a managed property, so it cannot be used directly in search result type conditions.

BMPCaseIDCorrect

SharePoint search result types are built on managed properties - indexed, queryable properties that are mapped from crawled properties in the search schema. The 'MP' prefix in MPCaseID is a naming convention indicating it is a managed property, making it the appropriate object to reference when configuring a result type condition that filters for current cases. Raw column names and crawled properties cannot be used directly in result type definitions.

Ccase

case refers to a content type name rather than a managed property, and result type conditions require managed properties defined in the search schema.

Dows_CaseID

ows_CaseID is a crawled property (the ows_ prefix denotes a raw SharePoint list column value discovered during crawl), and crawled properties must first be mapped to a managed property before they can be used in result type rules.

ECaseID

CaseID is the site column name and is not itself a managed property - it must be mapped through the search schema to a managed property before it can be referenced in result type conditions.

Concept tested: SharePoint Search managed properties for custom result types

Source: https://learn.microsoft.com/en-us/sharepoint/manage-search-schema

Topics

#result types#managed properties#search customization#content types

Community Discussion

No community discussion yet for this question.

Full 70-489 Practice