Notes
Notes
- This component renders the
Abstractfield from the current context item's Resource template. It does not use a separate datasource item. - If the
Abstractfield is empty and the page is not in editing mode, the component renders nothing (early return). - The abstract text is rendered inside a heading element using
Html.RenderHeadingwithHeadingImportance.Sameand aleadCSS class combined with theHeadingSizedictionary phrase. - An optional horizontal rule (
<hr>) is displayed below the abstract when theShowHorizontalRulerendering parameter is set to1. - Standard BSTools5 column classes and additional CSS classes are applied to the wrapper div.
- The component includes an
<edit-label>tag for Experience Editor support.
Control Properties
Resource Abstract
Displays a summary view of a Business Hub resource item including title, abstract text, publication date, and category. Used on listing pages and search results to preview resource content before navigation.
Control Properties
| Parameter | Type | Description |
|---|---|---|
| ShowHorizontalRule | Checkbox | When checked (value 1), renders a <hr> element below the abstract text. |
| HeadingSize | Dictionary phrase | CSS class applied to the heading element alongside the lead class. Retrieved via GetDictionaryPhrase("HeadingSize"). |
| Column classes | Inherited (Column) | Standard BSTools5 column sizing, offset, and padding parameters. |
| AddClass | Inherited (Column) | Additional CSS classes appended to the component wrapper. |
Template Properties
Template Properties
This component does not use a datasource template. It binds to the current context item using the Resource model, which provides the Abstract text field.
| Template | ID | Description |
|---|---|---|
| ResourceAbstract (Rendering Parameters) | {3E2913E9-184B-4D42-A760-8AA1E245CA25} | Rendering parameters template with the ShowHorizontalRule checkbox field. Inherits from BSTools5 Column ({BFBEB573-1751-46B9-8F16-C01C9DCDB105}), Heading Size ({801F6AB4-1065-4BD6-835E-3C22F19ACA28}), and a base rendering parameters template ({8CA06D6A-B353-44E8-BC31-B528C7306971}). |
Model: Resource — provides the Abstract property (text field) bound from the context item.