All components hidden from scope

Hi all,

I'm new to retool and I'm trying out the Multi page. During my exploration I created a Modal and I then learned about scoping. I wanted to make reference to a selection on my Main page in my Model.

My solution for this was to move all of my Components to Global. I did so my selection "Main" and then selection "Convert to global scope as seen below.

However, now when I reference one of these components it still says they are scoped to "Home" or "Not Defined".
image

I can't seem to find my Components from my original "Home" anywhere. Even when I create brand new components on my home page they do not appear in the Components list

The Component still appears in searches

It still appears on my "Home Main" screen

I can still see the Component's State:

value
null
label
"Select Matter"
allowCustomValue
false
allowDeselect
false
automaticItemColors
false
clearInputValueOnChange
false
customValidation
""
disabled
false
disabledValues
emptyMessage
"No options"
formDataKey
"selectMatterDropDown"
hidden
false
hideValidationMessage
false
iconAfter
""
iconBefore
""
id
"selectMatterDropDown"
inputValue
""
invalid
false
itemAdornmentShape
"circle"
itemAdornmentSize
"auto"
itemMode
"dynamic"
labelAlign
"left"
labelCaption
""
labelPosition
"top"
labelWidth
33
labelWidthUnit
"%"
labelWrap
false
loading
false
maintainSpaceWhenHidden
false
margin
"4px 8px"
overlayMaxHeight
375
overlayMinWidth
null
placeholder
"Select an option"
readOnly
false
required
false
searchMode
"fuzzy"
selectedIndex
null
selectedItem
null
selectedLabel
null
showClear
false
showInEditor
false
showSelectionIndicator
true
textAfter
""
textBefore
""
tooltipText
""
validationMessage
""

Any help would be most appreciated. Thanks so much.

1 Like

Hey Mike, unfortunately you weren't supposed to be able to change the scope of Main. We fixed this bug and it shouldn't be possible early next week.

If you send a Toolscript export and JSON export of your app to us at multipage-team@retool.com we can help clean it up!

Also I'd recommend following the docs if you want to share component values from a page to global scope. In particular you could use a global variable.

1 Like

Thank Ming! I'll have a look at those docs and I'll send over my export now.

Closing the loop here. We just re-uploaded my app from a Toolscript file and the recreated App is all fixed up.

2 Likes

Thanks @Mike_Jones for updating the forum and letting us know this is resolved!

Thanks for letting us know! Glad you got it resolved and sorry we couldn't get to it earlier.