-
On AOS1 I have MyFormListPage1, where the MyQuery1 is used. MyQuery1 contains the MyTable1. MyTabel1 contains some fields and methods (let’s call them fields1 and methods1).
-
Then I transfer (by model) MyFormListPage1 and MyQuery1 and MyTable1 into another AOS2.
-
After transferring, I have modified MyTable1 by deleting some fields and methods;
-
And I have added another fields and methods, so MyTable1 become MyTable2. I have done synchronization and compilation of tables.
-
Then (on AOS2) I have deployed my MyFormListPage1 into EP, and when I tries to call my MyFormListPage1 on EP – I have an error that my MyTable2 doesn’t contains fields and methods that I have deleted in step 3 (those fields that were actual on AOS1 but not needed and not used on AOS2).
What I was trying to do:
-
(on AOS2) I have deleted MyTable2 from MyQuery1 and added it again (then I refresh datasource on MyFormListPage1 and MyDisplayMenuItem and redeploy one again)
-
I have discovered, that if add a method1 (one of those, that I have deleted in step 3) into MyTable2 – the error message switch to another text says the another method2 is absent on MyTable2
-
At the same time, (on AOS2) when I tries to open MyFormListPage1 from AOT (not from EP) – it opens correctly, without any errors.
The original error message (on EP) is:
Data field MyTable2!method2** does not exist in dataset view MyTable2
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.ControlsCommonFunctionality.RegisterFieldForDisplayAndSecurity(DataSetView dataSetView, BoundField boundField, AxDataBoundControlHelper axDataBoundControlHelper)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.ControlsCommonFunctionality.RegisterFieldsForDisplayAndSecurity(DataSetView dataSetView, DataControlFieldCollection fields, AxDataBoundControlHelper axDataBoundControlHelper)
at Microsoft.Dynamics.Framework.Portal.UI.WebControls.AxForm.<>c__DisplayClassc.<FlattenAndRegisterFields>b__b(Control control)
I assume, the somehow, the image of MyFormListPage1 (from AOS1) have copied into AOS2 (I don’t know how). Of course – I can mistake. Maybe it’s somehow related to the IDs of object that we transferred from AOS1 into AOS2 (maybe with some other reasons).
I would be grateful for any ideas of how to fix this.
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (