Customer Portal

Return LookUp Value

Comments 4

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello Indu,
    lookup table serves as virtual port in LookupJoin component, so to refer the data use just notation as for 1st input port: $1.fieldName (see attached graph as example).
  • Avatar
    indu
    0
    Comment actions Permalink
    Hi Agata,

    Tried to create a graph following your graph. The graph is running successfully but there are no outputs!
    The data source field seems to be empty in your graph. Is that the problem that i am not getting the output??
    Also the Data Source tab takes FileURL, is there any way that i can connect to the DB by giving connection details (like host name/username/password)?

    Thanks,
    Indu
  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello Indu,
    you need to pre-fill the lookup table with data of course. You have a few possibilities:
    • use DBJoin instead of LookupJoin

    • use DBLookup instead of SimpleLookup
      In both above cases your query should look something like:
      select * from "Product table" where Product_code = ?

    • Pre-fill your lookup table with DBInputTable --> LookupTableReaderWriter
  • Avatar
    indu
    0
    Comment actions Permalink
    Thanks Agata,
    It worked with DBLookup :)

Please sign in to leave a comment.