Notifications
Announcements
No record found.
Hello everyone.I hope you can help me, what I want to do is grab a field from a page extension and put it in a report but when passing it it appears that they do not exist in that context
I don't know if it can be done, thanks.
Hi, I did the same test as you and it didn't seem to be a problem.
Source code:
tableextension 50100 MyExtension extends Vendor { fields { field(50000; "Comprador Zitro"; Boolean) { DataClassification = CustomerContent; } } } reportextension 50100 MyExtension2 extends "Purchase Document - Test" { dataset { addlast(PageCounter) { dataitem(Vendor1; Vendor) { column(Comprador_Zitro; "Comprador Zitro") { } } } } }
Hope this helps.
Thanks.
ZHU
Thanks for the prompt response.Can it be done in different files?
In a single file it does not give me problems, but it is an extension that is already published in business central and what I want to do is use it but in the report extension.
Attached images.
Hi Josue Morales
I tested the same thing in different objects but it does not seems a problem.
Kindly close the VS code and reopen and then add the fields in the Report Extension or reload the window of VS code and proceed with your customization.
If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much
Hi, Of course, I just put it in the same file for the convenience of screenshots.
But if your two files do not exist in the same extension (app), you need to add the dependency property in app.json.
More details: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-json-files#Appjson
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,577
YUN ZHU 888 Super User 2025 Season 2
Jainam M. Kothari 778 Super User 2025 Season 2