salesforce-marketingcloud / FuelSDK-Python

FuelSDK for python
Other
126 stars 194 forks source link

[BUG] Property name error when trying to retrieve all columns from a data extension #126

Open zhaisw opened 3 years ago

zhaisw commented 3 years ago

Describe the bug In sample_dataextension.py, line 74, the property name used to filter a data extension is CustomerKey, which is the CustomerKey for a Data Extension Field. It should be the CustomerKey of a Data Extension.

To Reproduce Run the sample code in sample_dataextension.py.

Expected behavior The property name in line 74 should be changed to 'DataExtension.CustomerKey'.

Code snippet

myDEColumn.search_filter = {'Property' : 'DataExtension.CustomerKey','SimpleOperator' : 'equals','Value' : NameOfDE}