Customer Portal

UniversalDataWriter - Using Metadata Field-String as FIlename

Comments 2

  • Avatar
    slechtaj
    0
    Comment actions Permalink
    Hi Tocki,

    You can use partitioning feature of the UniversalDataWriter. Basically what you need to do is to:

    • Set Partition key attribute of the writer to the field you want to use in the filename

    • Next you need to define the Filer URL. To the place where the Partition key is supposed to be used write hash tag (#) - this is a placeholder for the key. So taking your example into account, it may look like this: ${DATAOUT_DIR}/#

    • If you do not want to write value of the field used in the URL you can exclude it using "Exclude fields" attribute of the writer.


    Hope this helps.
  • Avatar
    tocki
    0
    Comment actions Permalink
    Thank you, that worked

Please sign in to leave a comment.