web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

The copying of the ListPage from one AOS to another may save the old image?

(0) ShareShare
ReportReport
Posted on by 737

 

  1. 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).

  2. Then I transfer (by model) MyFormListPage1 and MyQuery1 and MyTable1 into another AOS2.

  3. After transferring, I have modified MyTable1 by deleting some fields and methods;

  4. And I have added another fields and methods, so MyTable1 become MyTable2. I have done synchronization and compilation of tables.

  5. 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:

  1. (on AOS2) I have deleted MyTable2 from MyQuery1 and added it again (then I refresh datasource on MyFormListPage1 and MyDisplayMenuItem and redeploy one again)

  2. 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

  3. 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)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sanhthosh.Kumar.K Profile Picture

Sanhthosh.Kumar.K 2

#2
Raed Salah Bzour Profile Picture

Raed Salah Bzour 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans