It introduces how to upgrade the plugins or application from a lower iDesktop version to SuperMap iDesktop 8C(2017) or newer versions.
1: It pops up the XtraForm reference is not found when compiling the source codes.
Reason: it inherits from UIForm of iDesktop.
Solution: Add the DevExpress.Utils.V15.2 reference in the project. Note, DevExpress.Utils.V15.2.dll is in Bin folder of iDesktop.
2: After launching iDesktop, the output window is not available.
Reason: “SuperMap.Desktop.Output” is renamed to “SuperMap.Desktop.UI.Output”, and the location is changed to “./SuperMap.Desktop.UI.Controls.dll” from “./Plugins/Frame/SuperMap.Desktop.Frame.dll”.
Solution: modify the relevant configurations in SuperMap.Desktop.Frame.config under WorkEnvironment\Default.
3: if the plugin/application directly uses the function in old version of iDesktop such as SQL query, these functions can be used, but don’t have icons.
Reason: the save path of some icons have be changed. E.g., for the SQL query, it is located in image=“..\Resources\DataView\Icon\Dataset\Query\SQLQuery.png, now it locateds in image=“..\Resources\DataView\Icon\Query\SQLQuery.png”.
Solution: Modify the relevant save path of icons according to the configuration files in WorkEnvironment in the published 8C(2017) version or a newer version.
4: if the plugin/application directly uses the function in old version of iDesktop such as Spatial query, these functions can’t be used.
Reason: it deletes SuperMap.Desktop.Assistance.dll and SuperMap.Desktop.DataProcess.dll in 8C(2017) version and newer versions, and relevant functions are covered in other dll.
Solution: Modify the relevant dll path of the relevant functions according to the configuration files in WorkEnvironment.
5: some controls in Ribbon are not arranged neatly, especially in the area CheckBox and the controls are dense.
Reason: 8C(2017) and newer versions use the new interface library DevExpress. There may be comparability problem for the configuration file.
Solution: modify the relevant configuration files in WorkEnvironment.
6: The public CtrlAction(IBaseItem caller, IForm formClass) constructor in CtrlAction is obsolete.
Reason: The constructor function in CtrlAction of 8C(2017)version and newer versions doesn’t support 2 or more parameters.
Solution: modify the relevant configuration files in WorkEnvironment.