Hi Community!
I currently have an array the following format:
[
{
"sss_index": 1,
"sss_name": "Project Overview",
"sss_parentname": null,
"sss_quotetemplateheadingid": "1b3cdc49-3e36-ee11-bdf5-00224891c295",
"sss_tier": 1
},
{
"sss_index": 1,
"sss_name": "Project Summary",
"sss_parentname": "Project Overview",
"sss_quotetemplateheadingid": "6c0d2c51-3e36-ee11-bdf5-00224891c295",
"sss_tier": 2
},
{
"sss_index": 2,
"sss_name": "Scope",
"sss_parentname": null,
"sss_quotetemplateheadingid": "b8d85c63-3e36-ee11-bdf5-00224891c295",
"sss_tier": 1
}
I'm looking to convert this into a single record, that looks like so:
{
[sss_index]-[sss_name]:true
}
or
{
"1-Project Overview": true,
"1-Project Summary": true,
"2-Scope": true
}
Using Select, I am able to create an array of records like this:
[
{
"1-Project Overview": true
},
{
"1-Project Summary": true
},
{
"2-Scope": true
}
]
But...I can't figure out how to create a single record out of the array.
Any ideas?
Thanks!
Brendan