Skip to content

Can't use array functions on arrays stored in globalChannelMap #4542

Discussion options

You must be logged in to vote

I slept and figured it out:

.split() was returning a JavaArray, so I'm iterating an extra time to shove all the elements into a native (Javascript) array before pushing it to the globalChannelMap.

labStatusList = [];
tempArray = mappedValues.split(',');
for each (var item in tempArray) {
labStatusList.push(item);
}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by bartlettmichael62
Comment options

You must be logged in to vote
2 replies
@tonygermano
Comment options

@bartlettmichael62
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants