question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot fetch value from the attributeName which is in hierarchical level

See original GitHub issue

I am having a hierarchical object in json. I am using connectMenu to list out the catogories in a dropdown. When I give attributeName: “taxonomies_hierarchical.category.lvl0” i got response. But When I give attributeName: “taxonomies_hierarchical.category.lvl1”, the result is empty. How can I get the lvl1 values?

"taxonomies_hierarchical": {
        "category": {
          "lvl0": [
            "Manchester"
          ],
          "lvl1": [
            "Manchester > Hopwood House"
          ]
        }
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
AmshaRanjanicommented, Mar 1, 2018

Hi @bobylito thanks for your reply. Here is the link for live reproducible, https://codesandbox.io/s/yp07y8vp6z. when I use the menu widget with attributeName : “taxonomies_hierarchical.locations.lvl0”. I can get the values. But when I give attributeName : “taxonomies_hierarchical.locations.lvl1” am getting empty response. At the same time am getting value in refinementList

1reaction
patilvarshcommented, Jun 20, 2018

yes i sent mail to support@algolia.com

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to recursively find attribute value on different level in java
For getting into deeper level you can go with recursion: Get fields on current level - search for required one for current segment,...
Read more >
Reference - Algolia Community
You will get a hierarchical presentation of your facet values: a navigation menu of your facet values. helper.on('result', function(event){ console.log(event ...
Read more >
CRM 2011: Retrieve Hierarchical Records - Recursive ...
In case anyone is still struggling with this, you can do this with the FetchXMLBuilder plug-in to XTMToolBox without needing multiple data sets ......
Read more >
List of available contact attributes and their JSONPath reference
A description of all the contact attributes in Amazon Connect and their JSONPath reference.
Read more >
LDAP DNs and RDNs
dc=com. Each RDN is comprised of name-value pairs. Every RDN must contain at least one pair (an attribute name followed by an equal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found