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

Response from types call returns only name and types codename #16

Closed
Simply007 opened this issue Aug 25, 2017 · 1 comment
Closed

Response from types call returns only name and types codename #16

Simply007 opened this issue Aug 25, 2017 · 1 comment
Assignees

Comments

@Simply007
Copy link
Contributor

I have used delivery client to load content type definition.
I have needed to get all possible options from the multiple choice field.

I have used the code defined in:
https://github.com/Enngage/KenticoCloudDeliveryTypeScriptSDK#working-with-content-types

Response does not contain possible options to the multi choice field:
multiplechoice

There is also no raw response that could be used to get the option values.

Note it would be also good to extend type calling by specifik what elements to load, but it does not block me :-)
https://developer.kenticocloud.com/v1/reference#view-a-content-type-element

@Enngage
Copy link
Contributor

Enngage commented Aug 28, 2017

Strongly typed support for options is added in https://github.com/Enngage/KenticoCloudDeliveryTypeScriptSDK/releases/tag/v1.5.12

Try updating NPM version and let me know if this works as you need :-)

I'll add support for querying only certain elements in future releases since I have no time now :/

@Enngage Enngage closed this as completed Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants