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

Unable to perform Unbound Function RetrieveCurrentOrganization #65

Closed
ramarao9 opened this issue Feb 3, 2020 · 2 comments
Closed

Unable to perform Unbound Function RetrieveCurrentOrganization #65

ramarao9 opened this issue Feb 3, 2020 · 2 comments
Assignees
Labels

Comments

@ramarao9
Copy link

ramarao9 commented Feb 3, 2020

When trying to use the method executeUnboundFunction for the function 'RetrieveCurrentOrganization' the parameter conversion is not handled for enumerated values.

Please see the below link for an example of a valid url.
https://crmtipoftheday.com/757/passing-enumerated-values-to-web-api/

e.g.
Expected
api/data/v9.1/RetrieveCurrentOrganization(AccessType=@p1)?@p1=Microsoft.Dynamics.CRM.EndpointAccessType'Default'

Actual

api/data/v9.1/RetrieveCurrentOrganization(AccessType=@p1)?@p1='Microsoft.Dynamics.CRM.EndpointAccessType'Default''

Notice the additional quotes added above generated from the buildFunctionParameters.js is causing an error.

BTW it's an awesome library!! Thank you!

@AleksandrRogov
Copy link
Owner

hi @ramarao9 ! Thank you for reporting this issue, it should now be fixed with 1.6.1.

And thank you for your kind words!

@ramarao9
Copy link
Author

ramarao9 commented Feb 4, 2020

Thank you for fixing this so quickly!

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

No branches or pull requests

2 participants