I know it has been asked before and I did read them but none of them had a answer for me. I am trying to create a detail library file so I can brouse the project and insert the details into my project. My issue is using data shapes as a filter. I feed into the data using the Orchid(View.ByViewType Node) and get my list and by using the List.GroupByKey node I am able to get Data shapes to look awsome the issue is 1 have 17 unique keys and no mater what I pick it pulls the same details. I kind of see what it is doing Like I select category 17 and choose the only one in the column and that is 0 position the export out of dynamo is just 0 and that is the first item out of the original list. I have attached the script for help I have been beating my head on this all day.
I know I am just sorting it wrong but feel like I tried everything I am up to file 15 lol
I don’t use Data-Shapes enough to know if this issue was ever resolved in newer updates, but I would suspect it’s related if you’re only ever able to pull values from index0 (the first detail categories in your list of detail categories).
The quick fix would be to know how many detail categories you have and to build out that many individual listview data nodes:
I don’t know what the structure of your sorted list looks like, but I wouldn’t think that a direct wire from the pre-grouped sorted list into the Values input of Listview Data is going to give you the right values regardless - in the public examples on the .io, Key and Values are identical list structures.
Whenever I use a fixed number of lists, I’ll usually use a separate ‘Listview Data’ node for each list. However, such as in your case, when using a varying number of Lists, you could try using the List Levels within the ‘Listview Data’ node, such as in this screenshot. I find that setting the InputName List Level to @L1, and the other two inputs, Keys and Values List Levels to @L2, the dialog box will display and work properly. Good luck with it.
WOW never thought of adding in levels to the Data shapes node. I kept messing with the levels of the other nodes. I also fixed the List.GroupByKey to be a direct input to the Values (not from the main list) and then all worked as should Thank you so much for the help.
Also Robert that was the way I was going to go might make it simpler so the list (groups) doesnt get so crazy I have 17 right now lol