DLaB.Xrm.XrmToolBoxTools
DLaB.Xrm.XrmToolBoxTools copied to clipboard
Select entities from Solutions
We talked about this, and IF you want to….
Check this code + designer how to get and select the solution: https://github.com/rappen/FetchXMLBuilder/blob/20c2090eef9e94a5559be31b5ea59d55db43fe66/FetchXmlBuilder/Forms/ShowMetadataOptions.cs
Looks like this:
This is getting the entities from the settings above: https://github.com/rappen/FetchXMLBuilder/blob/20c2090eef9e94a5559be31b5ea59d55db43fe66/FetchXmlBuilder/FXBMetadata.cs#L417-L465
You may also look at this for getting the entities details: https://github.com/rappen/FetchXMLBuilder/blob/20c2090eef9e94a5559be31b5ea59d55db43fe66/FetchXmlBuilder/FXBMetadata.cs#L163-L193
It also filters by metadatas, I think you just ignore that, but look at the solution-setting.
Enjoy!