tough question

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tough question

  • Creator
    Topic
  • #48142
    Ivan Ng
    Participant

      I am using the xltCall object to perform custom transformations.  I know that I can use the xpm.getInAddresses() to get the addresses of the inputs.  But how do I get the addresses of the outputs?

      I need to use xltCall to allows charset conversion and for encapsulation of backgound processing.

      Thank you very much for any response.

    Viewing 3 reply threads
    • Author
      Replies
      • #57812
        Anonymous
        Participant

          Ivan,

          I won’t claim to be a java guru but I have an idea how you might get a destination address.  In the translation action put the destination field in the source list.  Cloverleaf will put a ~ at the beginning of the address but at least it’ll be there.

          It looks like there really isn’t a function to retrieve the destination addresses.

        • #57813
          Ivan Ng
          Participant

            Dear Greg,

            Thank you very much for your answer.

            I have not tried that but that would not work because if the field is placed on the input list instead of the output list, the xpm object would not have the field in its output list and the value cannot be set using the setSting function.  I guess we can put the same field in both the input list and the output list to get this to work.  But I wish to do it more elegantly.

          • #57814
            Anonymous
            Participant

              Actually, I was thinking that you could get a string value of the path and that would help.  You’re looking for a way to know what the path is so that you don’t have to burn it into a setObject function, right?

            • #57815
              Ivan Ng
              Participant

                Both the setString and the setObject function requires the name of the field.

            Viewing 3 reply threads
            • The forum ‘Cloverleaf’ is closed to new topics and replies.