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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to get all table names specific to a solution/current solution

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I am trying to retrieve entity metadata (all entities) that are part of a specific solution.

Right now I am able to get all tables using webapi ([Organization URI]/api/data/v9.0/EntityDefinitions) whihc is returning all the tables of the environment/organization.

reference link: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/webapi/use-web-api-metadata

Can anyone please help me to find the way by which only the tables that are part of a solution can be retrieved?

Appreciate your help.

Thank you.

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    Did you try to use solutioncomponent and related entity ?

    docs.microsoft.com/.../solutioncomponent

  • Atmaram90 Profile Picture
    5 on at

    Hi Mahen,

    Thanks for the reply.

    I have tried with solutioncomponent but there is no related entity to traverse.

    Also tried another approach by invoking /api/data/v9.0/entities .But this API returns a solutionId which is different from my solution's id as a result I can't filter.

    Still trying and finding on the hope of getting a solution.

  • Atmaram90 Profile Picture
    5 on at

    Finally I am able to get the entity IDs based on solution id

    /api/data/v9.0/solutions({solution id})/solution_solutioncomponent?$filter=componenttype eq 1

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 45 Most Valuable Professional

#2
iampranjal Profile Picture

iampranjal 36

#3
Satyam Prakash Profile Picture

Satyam Prakash 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans