Details Card¶
The details card is used to display information in a list layout for content such as news, pages, documents, images and videos.
Managed Properties¶
AuthorOWSUSER
Description
DocumentLink
FileType
FileExtension
MediaDuration
ModifiedOWSDATE
NormSiteID
Path
PictureHeight
PictureWidth
PromotedState
owstaxIdMercuryCategory
Title
UniqueID
WebId
Slots¶
Slots are defined for each type of item returned: Page = News/Pages, Doc = Documents, Image = Images, Video = Videos.
Slot | Managed Property |
---|---|
PageTitle | Title |
PageDate | ModifiedOWSDATE |
PageUser | AuthorOWSUSER |
PageTags | owstaxIdMercuryCategory |
PageDescription | Description |
DocTitle | Title |
DocDate | ModifiedOWSDATE |
DocTags | owstaxIdMercuryCategory |
DocIcon | FileType |
VideoIcon | FileType |
Note
Each type of Slot can be defined for each item, Title and Description are displayed by default for each item using the slot value will override the value.
Swapping Geo Value¶
When Geo is displayed on a template, the value of this may not be best represented to what the Geo location is. The value can be updaeted in the custom branding file using the css below:
Hides Current Value
.mercury-geo-{Geo Value}[data-geo*="{Geo Value}"] span {
display: none;
}
Sets New Value
.mercury-geo-{Geo Value}[data-geo*="{Geo Value}"]::before {
content: '{New Geo Value}';
}