Announcement

Collapse
No announcement yet.

HTML WYSIWYG-Field

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTML WYSIWYG-Field

    Hello,
    I would like to load a file in the WYSIWYG-Field.
    Example:
    <a download="test.txt" href="data:text/plain;base64,aGVsbG8Kd29ybGQ=">Download</a>

    But this is probably ignored by the HTML.

    Thanks for ideas​

  • #2
    CRM-BE,

    To be honest, it's not entirely clear why upload files to the Wysiwyg field? For this, there is a field in EspoCRM with the File type, or Attachment Multiple (if you need to download several files).

    Comment


    • #3
      Hello Victor,

      I would like to generate a text file from various data from an entity.



      Comment


      • #4
        i think, base64 as file will not work. Search in internet by search "summernote" (that is the editor).

        Comment


        • #5
          Summernote has nothing to do with this, I think.

          Comment


          • #6
            Hi yuri,
            i have an extension called “HTML Dashlet”.
            The download works in the dashlet.

            I need a field type HTML for my entity
            or is there the possibility to create a TXT via formula-script?​

            Comment


            • #7
              I can't say for sure, this would need checking.

              You can create an attachment entity with record\create function. Try passing the text in the 'content' attribute.

              Note that you would also need to solve an access problem. Your attachment record should be accessible for regular users. You can assign the attachment to a specific parent (parentType and parentId attributes) or the 'related' field.

              Comment

              Working...
              X