Image saving by the rich text editor

In Advanced rich text editor, i want to save a image, then how to save the source code of that image which is view in menu bar into a variable? 

I want to save below source code into a variable: 

But, When I pass a variable in richTextSaveInto, it save like below:  (length of characters: 247454)

which is too long to save into DB.

So, I want to save the source code which is view in menu bar 

Please anyone suggest !!

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to nandanir9165

    ok.. 2 options,

    1. You wanted to store variable big text to db and due to too many chars you did not able to store.

    for that, change data type to long text in db /  update cdt through xsd (columnDefinition="LONGTEXT"). it will resolve your problem.

    2. if you want to store doc in Appian folder

    for that use connected system. here you code is correct which I already tested. just check the uuid  and if that is also correct then check the folder if your doc is in that per I suggested above in reply.

     

Children