Reference
BlogPost SFO
Properties
| Field | Type | Comment/Sample |
|---|
Methods
| Method | Returns | Parameters | Parameter Types | Comments/Sample |
|---|---|---|---|---|
attrDefinitionList | [DefinitionList](./definitionlist-sfo.md) | attributeName | string | |
attrSimpleList | [SimpleList](./simplelist-sfo.md) | attributeName | string | |
getAttribute(string attributeName) | string | attributeName | string | |
getAttributeI18N(string attributeName) | string | attributeName | string | Same as getAttribute(), but returns the content translated to the customers 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 | | | |
getBody() | string | |||
getBodyHtmlLang() | string | Returns the HTML lang attribute to be used on the surround DOM element to tell search engines how the content was translated. | ||
getCreationDate() | [Date](./date-sfo.md) | | | |
getDefaultMultimedia() | [BlogPostMultimedia](./blogpostmultimedia-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() | [BlogPostMultimedia](./blogpostmultimedia-sfo.md) [] | | | |
getMultimedia(string type) | [BlogPostMultimedia](./blogpostmultimedia-sfo.md) | type | string | |
getMultimediaByCode(string code) | [BlogPostMultimedia](./blogpostmultimedia-sfo.md) | code | string | |
getMultimediaByFilename(string filename) | [BlogPostMultimedia](./blogpostmultimedia-sfo.md) | filename | string | |
getMultimediaDefaultFirst(string type) | [BlogPostMultimedia](./blogpostmultimedia-sfo.md) | type | string | same as the method above, but will return the first multimedia if there is no default |
getPublicationDate() | [Date](./date-sfo.md) | | | |
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?