Skip to main content
1-Visitor
Dec 7, 2016 7:26 AM UTC
Question

How to put Image into a RichTextField?

Hi @all

I want to put Image into a RichTextField using CLI (im createcontent)

Thanks

    2 replies

    17-Peridot
    Dec 19, 2016 10:20 PM UTC

    Hello Byeongjin,

    In one of my own Custom Gateway loaders written in Java, I am adding the following tag and it works: <img src=path/filename...>

    But unfortunately, I am not sure how to manage this with CLI.

    Volker

    Translate
    bkim-21-VisitorAuthor
    1-Visitor
    Jan 3, 2017 3:22 AM UTC

    I solved the CLI
    command problem with the example code below.

    im createcontent
    --parentID=1061 --type=Requirement --insertLocation=first
    --addAttachment="field=Text Attachments,path=c:/AAA.png"
    --richContentField=Text="<img src=mks:///item/field?fieldid=Text
    Attachments&attachmentname=AAA.png>"

    Translate