Timeline for Access Referenced Items using Integrated GraphQL
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 29, 2019 at 12:35 | comment | added | Amit Kumar | I have written custom resolver and in which i am accessing the children of current item and returning children. In the ReactJS component i am not getting the items via sitecoreContext.route.fields. I checked the JSON response and found that item present sitecoreContext.route.placeholders.myplaceholder[0].items. Currently only one component present then i can access via index value. Can't i get the json data in ReactJS component via sitecoreContext.route.fields?sitecorechat.slack.com/files/U8MTHHT1A/FJRL0B76W/… | |
May 28, 2019 at 14:48 | comment | added | Amit Kumar | Thanks for the information. In case of GQL, I have to take Id of current item where rendering added then need to filter categories (path or I'd of categories folder required) on the basis of product id. Can we use search query in integrated mode? If yes, can you please share the sample, if possible. AFAIK the custom c# code can be used in custom resolver. is my understanding correct? | |
May 28, 2019 at 13:59 | history | answered | Anastasiya | CC BY-SA 4.0 |