I am using the Python Fuel SDK to access Data Extensions (DEs) and Shared Data Extensions (SDEs).
I am able to list all data extensions and see all my DEs and SDEs using the FuelSDK's ET_DataExtension() object.
de = ET_Client.ET_DataExtension() de.props = ["CustomerKey", "Name"] getResponse = de.get() print len(getResponse.results) # greater than 0 for both DEs and SDEs
I am able to get rows for my DEs using FuelSDK's ET_DataExtension_Row() object.
row = ET_Client.ET_DataExtension_Row() row.CustomerKey = DEKey row.props = ["Name"] getResponse = row.get() print len(getResponse.results) # greater than 0 if DEKey is for a DE, 0 if DEKey is for a SDE
However, when I try to access my SDE's rows using ET_DataExtension_Row() I get no results. Has anyone been able to successfully get SDE rows and if so what did you do differently?
Note I have tried using the Name instead of CustomerKey and prepending
ENT. as some have suggested. I've tried modifying the QueryAllAccounts property of ws_retrieveRequest as others have suggested.