Skip to Content
0
Aug 17, 2023 at 08:45 AM

SAC adding widgets of multiple types to Object/Array

86 Views

Dear Experts,

Is there a way in SAC Analytics Application to add widgets with different types to Objects or Array?

What I would like to have is (or something like this):

 
var multiObject = {
         inputField1 : textField1,
         dropDown1 : textField2
                   }

Error message: "...must be string or string[]"

Or an Array like this could also work:

var multiArray = [
       [inputField1, textField1],
       [dropDown1, textField2]
                 ]

error : I have to declare the Type of the Array in advance.

Any workaround? Selection is also expecting strings

Many thanks for your help!

Attila