Hi Robert,
I am trying to see if DynamicWorkspaces will be useful in my case. I am not able to get the correct syntax for using database table as right table source. I have this DB added as a dynamic workspace via catalog.
I saw your other reply from How can I add attributes to a feature class?
Here is my syntax for dynamiclayer trying directly from rest console. I am getting "Unable to find the specified 'dataSourceName' in 'dataSource' for dynamic dataLayer with 'id': -1." error.
{
"source": {
"dataSource": {
"dataSourceName": "MYDatabase.DBUser.ColumnName", //does not work.
//"dataSourceName": "MYDatabase.dbo.ColumnName", //does not work.
//"dataSourceName": "sde.dbo.ColumnName", //does not work.
//"dataSourceName": "MyWorkspaceName.dbo.ColumnName", //does not work.
"workspaceId": "MyWorkspaceName",
"type": "table"
},
"type": "dataLayer"
}
}
Do you have any suggestions? Also, is there a way to just list datasourcenames from the dynamic workspace?
Thanks!