Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Alternate Key in dsl.xml?

    We are using the latest Power Edition, and have a simple question (I hope): is there any way to specify an alternate key in a ds.xml file?

    This is our use case: we are using BatchUploader to import records in a CSV where the DS is specified in a custom ds.xml (w/java server side code as well, for some custom validations/behavior). We want to ensure that there is no duplication in one of the fields immediately when the CSV file is uploaded. A primary key is already in place for other fields and that ensures no duplication in that context. An alternate key seems like a reasonable approach to do this, if supported. If there is any other approach that will work here, that would be fine also.

    Thanks in advance.

    #2
    In the BatchUploader case you can do whatever you want by targeting a .ds.xml that has custom Java logic to do translation of keys (or any other date) before saving to the actual target DataSource.

    Comment

    Working...
    X