Skip to content
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

Retriving Option Sets from Microsoft Dynamics #676

Open
anshumandhamoon opened this issue Oct 16, 2019 · 1 comment
Open

Retriving Option Sets from Microsoft Dynamics #676

anshumandhamoon opened this issue Oct 16, 2019 · 1 comment

Comments

@anshumandhamoon
Copy link

I'm using this library and trying to retrieve option sets from Dynamics CRM. There's a way to get these option sets using string maps but unfortunately, when I query to retrieve these, I get an exception saying: "Entity collection [stringmaps] not found".

I'm able to retrieve option sets with regular HTTPClient calls but wanted to understand if we can retrieve it using OData library.

Can anyone suggest what is missing here or other alternatives to retrieve the option sets?

Thanks

@ktriple
Copy link

ktriple commented Nov 19, 2024

I have the same issue, sadly this has not been answered since 2019 😅

Would it be possible to ignore the collection check perhaps?

Even the command text does not work:

var responseString = await client
    .GetCommandTextAsync<CEStringMapDto>(
        "stringmaps", 
        s => s.ObjectTypeCode == entityName && s.AttributeName == attributeNameJsonKey,
        CancellationToken.None
        );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants