Change metadata

Comments

2 comments

  • Avatar
    Tim Segall

    Simplest solution is probably just to hook the output of the Excel node to a new Transform node.

    In the new transform node, you need to create a new Field (named Description) with the contents of the blank field.  Then you need to remove the old blank field.  The ProcessRecords just copies the records.

    Configure Fields
    out1 += in1
    out1.Description = in1[' ']
    out1 -= in1[' ']

    ProcessRecords
    out1 += in1

    0
    Comment actions Permalink
  • Avatar
    Adrian Williams

    Dataverse 3.1.6 changed how it handles the subtraction of output metadata from the output metadata specification.

    This means that its necessary to reverse the order of the last two statements in the ConfigureFields property script described above, i.e. the ConfigureFields script should now be:

    out1 += in1

    out1 -= in1[' ']

    out1.Description = in1[' ']

     

    This change is described in the Python API Changes section at the end of the Dataverse 3.1.6 release overview article, here:

    https://lavastorm.zendesk.com/hc/en-us/articles/115002994593-Dataverse-3-1-6-is-Now-Available

    0
    Comment actions Permalink

Please sign in to leave a comment.



Powered by Zendesk