Base 64 to Document

Hi,

 

I want to convert a base 64 to a document. I want to do this in expression itself and not in Process. So suggestion other than "Get Base64 Document from Database" smart service.
I am receiving base64 from external system and now I want to convert that to a document.
Please suggest.

Parents
  • Hi Ekansh,

    You can do the following approach.
    In recent version appian included the object of document.
    To support sending Base64 documents, Appian also extended the capabilities of CDTs. CDTs now support the Document data type. This not only benefits Integrations, but any Appian objects that use documents.
    Instead of needing to cast documents to and from integers to store Document IDs in a relational database, now documents just work. When you write them to the database, they will automatically be stored as integers. When you query back for them, they’ll be treated as documents

    Thanks,
    Sudha.P
Reply
  • Hi Ekansh,

    You can do the following approach.
    In recent version appian included the object of document.
    To support sending Base64 documents, Appian also extended the capabilities of CDTs. CDTs now support the Document data type. This not only benefits Integrations, but any Appian objects that use documents.
    Instead of needing to cast documents to and from integers to store Document IDs in a relational database, now documents just work. When you write them to the database, they will automatically be stored as integers. When you query back for them, they’ll be treated as documents

    Thanks,
    Sudha.P
Children

 Discussion posts and replies are publicly visible