Customer Portal

combine columns and convert to a single target value

Comments 2

  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hi,

    concat function returns null as a part of the output string. If you want to avoid it, use something like this:
    //#CTL2

    function integer transform() {

    if (isnull($in.0.Version)){
    $out.0.Anwendung=$in.0.Anwendung;
    } else {
    $out.0.Anwendung=concat($in.0.Anwendung,$in.0.Version);
    }

    return ALL;
    }
  • Avatar
    peterpan
    0
    Comment actions Permalink
    Hi,

    i think you misunderstood me. I don't want to avoid this valuecombination. Furthermore i don't understand why the second value is NULL although the metadata is defined from the source-excelsheet.

    Best Regards

Please sign in to leave a comment.