Is it possible to return a full list of all data elements names in custom code (written under Rules)?
I have a few data elements and there will be new elements added in the future. I don't want to update my custom code every time a new element is added. Instead I want to GET a full list of data element names, then loop through the _satellite.getVar("<Data_element_name_here>") function in order to populate my query.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Yes, you can! They're actually available inside the_satellite object.
Object.keys(_satellite._container.dataElements)
Views
Replies
Total Likes
Yes, you can! They're actually available inside the_satellite object.
Object.keys(_satellite._container.dataElements)
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies