Skip to main content
Reference

BlogPost SFO

Properties

FieldTypeComment/Sample

Methods

MethodReturnsParametersParameter TypesComments/Sample
attrDefinitionList[DefinitionList](./definitionlist-sfo.md)attributeNamestring
attrSimpleList[SimpleList](./simplelist-sfo.md)attributeNamestring
getAttribute(string attributeName)stringattributeNamestring
getAttributeI18N(string attributeName)stringattributeNamestringSame as getAttribute(), but returns the content translated to the customers desired language.
getAttributeI18NHtmlLang(string attributeName)stringattributeNamestringReturns 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()stringReturns 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()stringReturns 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) typestring
getMultimediaByCode(string code)[BlogPostMultimedia](./blogpostmultimedia-sfo.md) codestring
getMultimediaByFilename(string filename)[BlogPostMultimedia](./blogpostmultimedia-sfo.md) filenamestring
getMultimediaDefaultFirst(string type)[BlogPostMultimedia](./blogpostmultimedia-sfo.md) typestringsame 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()stringReturns the HTML lang attribute to be used on the surround DOM element to tell search engines how the content was translated.
getUrlPart()string  
getVisibilitystring  

See Also

Was this page helpful?