# Storing string attribute as blob

**URL:** <https://forums.losant.com/t/storing-string-attribute-as-blob/3944>\
**Category:** Help\
**Tags:** device-state\
**Created:** [July 21, 2021, 5:56pm UTC](https://forums.losant.com/t/storing-string-attribute-as-blob/3944 "2021-07-21T17:56:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [July 21, 2021, 5:56pm UTC](https://forums.losant.com/t/storing-string-attribute-as-blob/3944/1 "2021-07-21T17:56:56Z")

</div>

I have a string I need to store as an attribute, but it’s more than 1023 characters.  
I attempted to store it as a blob having a workflow using the “encodeBase64” helper, and set the Attribute Content Type to text/csv, and it appeared to have stored it.

How can I show this string in a dashboard?

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [July 21, 2021, 6:45pm UTC](https://forums.losant.com/t/storing-string-attribute-as-blob/3944/3 "2021-07-21T18:45:05Z")

</div>

@Lars_Andersson,

To display a blob attribute in a dashboard that is text (rather than an image) you will likely need to use the [Custom HTML Block](https://docs.losant.com/dashboards/custom-html/) with some JavaScript to decode the Blob data.

Thank you,  
Heath
