views:

21

answers:

0

Bulkload automatic configuration bulkload.yaml. How to export reference property for key reference field back to datastore from csv.

- property: datacenter
  external_name: datacenter
  # Type: Key Stats: 2 properties of this type in this kind.
  import_transform: transform.create_foreign_key('DataCenter')
  export_transform: transform.key_id_or_name_as_string

For some trial, it always export as 'DataCenter:name=1234' other than 'DataCenter.id=1234' on datastore. Previously downloaded csv data id is: 1234

Where is more detail reference on export_transform for this.