1

I am getting below error when I compile.

Operand for the method is not an element for code

DataSourceName dataSourceName = queryDataSourceStr(DMF***TargetEntity, DMF****PostalAddressView);

Error Line is appearing under "DMF****PostalAddressView".

Confused with the error appearing at this place. Any help is appreciated.

Alex Kwitny
  • 11,211
  • 2
  • 49
  • 71
Raj
  • 85
  • 14

1 Answers1

1

This question isn't very clear, but it has something to do with your environment.

queryDataSourceStr accepts two parameters like this:

queryDataSourceStr(queryName, dataSourceName)

So for your line

queryDataSourceStr(DMF***TargetEntity, DMF****PostalAddressView);

Go to the AOT>\Queries\DMF***TargetEntity and look for the DataSource DMF****PostalAddressView and see if it exists.

See if you've customized that query, if config keys are on/off, or if you are missing model files. DMF objects are apart of the data migration framework.

Alex Kwitny
  • 11,211
  • 2
  • 49
  • 71
  • Thanks for the help. It worked. I searched in the Queries\DMF**TargetEntity for DMF**PostalAddressView. The datasource name has "_1" at the end. I removed that "_1" and it worked. Thanks. @Alex Kwitny – Raj Aug 11 '16 at 02:32