Notifications
Announcements
No record found.
Hi All,
I have a data entity with shared table as data source in which one of the columns is dataareaid column, we have made the data entity available in open in excel menu options but the requirement is to export only for the current company based on the dataareaid column.
The ranges columns in the data entity doesn't work so I have added in the datasource range but that syncs to the default company to dat when i checked in sql.
How can we acheive this.
moved to the d365 forum
You can't apply such dynamic ranges in the metadata definition of the entity. Only in runtime.
However the "Export to Excel" exports only the records that the user has filtered / visible on the form. So you can either create a default filtering logic on the form (show only records where DataAreaCreatedIn is current company), or let the user filter as they see best and export the result to Excel.
In other words, the Export in Excel shows you the same data than what the user sees on the form. That's the purpose of the feature: export what you see into Excel.
Hi Nikoloas,
Thans for he clarification,
regarding this "So you can either create a default filtering logic on the form (show only records where DataAreaCreatedIn is current company)"
How can we apply by default ?
can you through somelight.
Thanks
Krishnendu
That's a new topic / question. I suggest you first search the web ("dynamics 365 operations filter form x++" or similar search words) and if you can't find info, please post a new question on the forum.
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.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional