Customer Portal

No applicable constructor/method found for actual parameters

Comments 1

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    try

    outputRecords[0].getField("ImageLocation").setValue(images.get(strippedName).getImgFile().getPath());

    instead of

    ${out.0.ImageLocation}=(Object)(images.get(strippedName).getImgFile().getPath());

    For performance improvement use rather field's numbers instead of theirs names, eg.:

    outputRecords[0].getField(0).setValue(inputRecords[0].getField(0)); //${out.0.ItemID}=${in.0.ItemID}
    outputRecords[0].getField(1).setValue(inputRecords[0].getField(1)); // ${out.0.ItemNumber}=${in.0.ItemNum}
    .
    .
    .
    outputRecords[0].getField(2).setValue(images.get(strippedName).getImgFile().getPath());

Please sign in to leave a comment.