Kernel::WebApp::Util::ArticleBody

Table of Contents

NAME

Kernel::WebApp::Util::ArticleBody – Helper class to get/prepare the article body.

Get()

Gets the article body

    my $Body = $Util->Get(
        Article => {    # required
            TicketID  => '...',
            ArticleID => '...',
            etc.,
        },

        # To include attachments in the form upload cache.
        FormID     => '...', # optional

        Blockquote => '...' # optional 1|0

        BlockquoteConfig => { # optional
            # In case the "Quote" is not enabled,
            #   skip the "Message From...End Message" wrapper.
            SkipNoQuoteWrapper => '...' # optional 1|0

            # Always include the headers 'Subject ReplyTo Reply-To Cc To From'
            #   in the body, normal only when the 'quote' is not active
            #   the headers are included.
            AlwaysIncludeHeaders = '...' # optional 1|0
        },
    );

Returns article body.

Scroll to Top