Reference
BlogPostSummary SFO
Properties
| Field | Type | Comment/Sample |
|---|
Methods
| Method | Returns | Parameters | Parameter Types | Comments/Sample |
|---|---|---|---|---|
getAttribute(string attributeName) | string | attributeName | string | |
getAttributeI18N(string attributeName) | string | attributeName | string | same as getAttribute, but returns the content translated into the customer's desired language. |
getAttributeI18NHtmlLang(string attributeName) | string | attributeName | string | Returns the HTML lang attribute to be used on the surround DOM element to tell search engines how the content was translated. |
getAuthor() | string | |||
getCreationDate() | [Date](./date-sfo.md) | |||
getDefaultMultimedia() | [BlogPostSummaryMultimedia](./blogpostsummarymultimedia-sfo.md) | |||
getExcerpt() | string | |||
getExcerptHtmlLang() | string | Returns the HTML lang attribute to be used on the surround DOM element to tell search engines how the content was translated. | ||
getMultimedia() | [BlogPostSummaryMultimedia](./blogpostsummarymultimedia-sfo.md)[ ] | |||
getMultimedia(string type) | [BlogPostSummaryMultimedia](./blogpostsummarymultimedia-sfo.md) | type | string | |
getMultimediaByCode(string code) | [BlogPostSummaryMultimedia](./blogpostsummarymultimedia-sfo.md) | code | string | |
getMultimediaByFilename(string filename) | [BlogPostSummaryMultimedia](./blogpostsummarymultimedia-sfo.md) | filename | string | |
getMultimediaDefaultFirst(string type) | [BlogPostSummaryMultimedia](./blogpostsummarymultimedia-sfo.md) | type | string | same as the method above, but will return the first multimedia if there is no default |
getPublicationDate() | ||||
getStoreFrontBlogPostOid() | int | this is the the unique key of for the blog post | ||
getTags() | string[ ] | |||
getTitle() | string | |||
getTitleHtmlLang() | string | Returns the HTML lang attribute to be used on the surround DOM element to tell search engines how the content was translated. | ||
getUrlPart() | string | |||
getVisibility | string |
See Also
Was this page helpful?