Forum Discussion

csolis214's avatar
6 years ago

Load a really big file for reading

Hello. I'm wondering if it's possible to put a big file into the SDK that can then be utilized by a freemarker endpoint. Is that something that is possible?  - Christopher Solis
  • STARFLEET's avatar
    6 years ago

    Hi csolis214 ,

    i guess you will add it into the asset foder in web > html. I have not enough information whether the mentioned file is something which is dynamically created. In case not, why are you not uploading it directly into the asset folder via Admin Dashboard.

    Regardless which way you use, all docuemtns within the assets folder can be referenced via url or in the freemarker code via context object asset:

    https://freemarker-docs-portal.lithium.com/refer/contextObjects#asset

    Hope this helps.