In excel I am using tags like
&=c8.node.DefaultRecipe.CurrentRevision.BTY_ID_String
&=c8.node.DefaultRecipe.CurrentRevision.BTY_Expert_String
This tags are working fine and I am getting desired values for this tags
But my now uses case is I want to access “BTY_Source_string” and “BTY_Ingredient_PurposeOfUse_enumlist” which is present inside “LibraryItem” and it is array of “Ingredients”,
So tags that I used are
1: &=c8.node.DefaultRecipe.CurrentRevision.RecipeFoodLabelRevision.Ingredients.LibraryItem.BTY_Source_string
2:
&=c8.node.DefaultRecipe.CurrentRevision.RecipeFoodLabelRevision.Ingredients.LibraryItem.BTY_Ingredient_CAS1_string
So in above case it is printing only first object value of “BTY_Source_string” and “BTY_Ingredient_PurposeOfUse_enumlist” ,
I want to print full list how I can print whole list in this case ?
Please refer below JSON that I am using.
Please send me some links so that I can refer and complete my requirnments.
{
“node”: {
“DefaultRecipe”: {
“RecipeFoodLabelRevision”: {
“Ingredients”: [
{
“LibraryItem”: {
“BTY_Source_string”: “XXX”,
“C$Name”: “XXX”,
“BTY_Ingredient_PurposeOfUse_enumlist”: [
“XX”
],
“BTY_Ingredient_CAS1_string”: “XX”
},
“RelativeQty”: 0.878
},
{
“LibraryItem”: {
“BTY_Source_string”: “XXX”,
“C$Name”: “XX”,
“BTY_Ingredient_PurposeOfUse_enumlist”: [
“XX”
],
“BTY_Ingredient_CAS1_string”: “XX”
},
“RelativeQty”: 0.121288
},
{
“LibraryItem”: {
“BTY_Source_string”: “XX”,
“C$Name”: “XX”,
“BTY_Ingredient_PurposeOfUse_enumlist”: [
“XX”
],
“BTY_Ingredient_CAS1_string”: “XX”
},
“RelativeQty”: 0.10768799999999998
},
{
“LibraryItem”: {
“BTY_Source_string”: “XX”,
“C$Name”: “XX”,
“BTY_Ingredient_PurposeOfUse_enumlist”: [
“XXXT”
],
“BTY_Ingredient_CAS1_string”: “XX”
},
“RelativeQty”: 0.104712
}
]
}
}
}
}