Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

myArray is not responding as GLOBAL scope?

Avatar

Level 8

Hello

I want to have a Array declared in the form, and that Array should VISIBLE to every where of the form.

Meaning, i can use tthat aray in every page, every subform, every text field to append the elements

And to loop that array in some button (on click event).

PLs. let me know how can i declare a array that is GLOBAL in scope, really global? at what level i hv to declare it? at root node level (say, my form name is VISITORinfio, so, keeping curson on this node and declaring array in readDoc event? )

I tried with these options but not working at all!!

1 Reply

Avatar

Level 8

Pls. help me that let me know how to declare a GLOBAL SCOPE array(i did by using var, with out var key word, i did at TOP level, even i dont hv any functions!) - Thank you