Good day
I am running into a slight problem with the function as below
MsSql2008FeatureLayer tempCCI = new MsSql2008FeatureLayer(customConnString, item.layerName , item.idCol, 4326);
When the layername(tableName) is a numeric value or contains a space the layer does not load.
Altering the code as below does not resolve the issue either.
MsSql2008FeatureLayer tempCCI = new MsSql2008FeatureLayer(customConnString, "[" + item.layerName + "]", item.idCol, 4326);
Please advise and thank you
Regards
Meyer
MsSql2008FeatureLayer Numeric Table Name or Table name with space
Hi Meyer,
Thanks for reporting this issue, we have fixed it now. But unfortunately, we have stopped to build the daily package as we are preparing the release of Map Suite 8.0.
As a workaround, I think we can register the sql2008FeatureSource_ExecutingSqlStatement event and then append the "[" and "]" characters for the table name.
Sorry for any inconvenience and if any questions, please feel free to let me know.
Thanks,
Troy
Hi Troy
Thank you very much for the feedback.
When is Map Suite 8.0 due to be released?
Regards
Meyer, You are welcome.
Not sure the exact time but I guess it should be in June.
Please let me know if you have more questions.
Thanks,
Troy