Kernel::System::DynamicField::ObjectType::Article

NAME

Kernel::System::DynamicField::ObjectType::Article

DESCRIPTION

Article object handler for DynamicFields

PUBLIC INTERFACE

PostValueSet()

Performs specific functions after setting new values on the dynamic field for this object type.

    my $Success = $ObjectType->PostValueSet(
        Field    => $FieldObject, # The dynamic field object
        ObjectID => 123           # The ObjectID of the dynamic field is assigned to
        Value    => $Value,       # Value to store, depends on backend type
        UserID   => 123,          # UserID of the caller
    );

ObjectDataGet()

Retrieves the data of the current object.

    my %ObjectData = $ObjectType->ObjectDataGet(
        ObjectID => 123, # optional, can be set during object creation.
        UserID   => 123,
    );

returns:

    %ObjectData = (
        ObjectID => 123,
        Data     => {
            ArticleID              => 123,
            TicketID               => 2,
            CommunicationChannelID => 1,
            SenderTypeID           => 1,
            IsVisibleForCustomer   => 0,
            # ...
        }
    );
Scroll to Top