Hi,
If let's say i have a code that says
QueryBuildDataSource = query.AddDatasource(...)
And i want to remove this datasource from the query based on a condition..how can i do it by code?
I can't find a method related to clearing datasource from a query
Hi,
Supplementary Note:
In addition, related articles are found for you, you can refer to them. Hope these will be useful as well!
How can I delete a dataSource previously added? — mibuso.com
Best Regards,
Hana
This post is my own opinion and does not necessarily reflect the opinion or view of my company.
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.
Hi,
You can also refer to the below thread.
community.dynamics.com/.../remove-added-data-source-to-qbds
Thanks,
Girish S.
Hi, Please check this old thread
Hi,
You can use the enabled propery to disable it.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156