-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support enabling multiple virtual tables at a time #15
Comments
Hey @aariste , glad to see you here 😄 Thanks for the suggestion. I'm not sure if the API can handle multiple entities at once, @Splaxi can probably answer that. But even if the API cannot, our cmdlets sure could and then just call the API in the background separately for each entity name. You could probably already right now do something like $entityNames = ("entity1","entity2")
foreach ($entity in $entityNames) {
Set-BapEnvironmentVirtualEntity -Name $entity -EnvironmentId 00000000-00...
}
|
Hi @aariste Thanks for the feedback - we welcome all perspectives and suggestions. As @FH-Inway points out, by wrapping the current implementation in a loop - you get what you're looking for. But that said... I was in doubt whether or not to support an array on entities or not. We are using the Where I just learned about the |
And we get some cool stuff out of the box it seems: Both |
https://blogs.infosupport.com/ms-crm-2015-bulk-update-data-using-powershell/ And here we can learn how to load the DLL files and make it easier in the discovery phase of things. I suggest staying away from the DLL files, as I don't know if we are allow to redistribute these along with the module. So for now we can just use them, to map out how the raw data structure for the SOAP is - and do the implementation based on that. |
About using the DLLs... I understand the reason to not use them, but I just checked another tool like xrmToolbox and they include them in their package. I'm also using a modified version of AXUtil.dll (which maybe is even worse than using the original DLL 🤣) for the ISVLicenseGenerator tool. I guess that as long as they're used on community-like tools MS is fine with that, but of course they can decide against that at-will. I'll investigate the PowerShell module from the last comment! |
For the cmdlets Set-BapEnvironmentVirtualEntity and Update-BapEnvironmentVirtualEntityMetadata, could it be possible to add support to pass a list of entities with their full names, so we modify the properties for all of them?
Is there any API limitation preventing this?
The text was updated successfully, but these errors were encountered: