Hi all,
I have a collection called ColShipping Orders,
I am using the upload image control to add files to a gallery, that items property is set to the colShipping Orders.
The upload image control has this on the button - on the onSelect property:
Collect(colShippingOrders,{Title:AddFileBtn.FileName,DataStream:ImageControl.Image})
Now I have a button outside the gallery, called upload documents (this button will run a flow that will upload the gallery document to and SP library.)
I want to disable this button when the title2 label field in the gallery contains an illegal SP character such as an '&'
So on the displayMode of the button I have put the following if statement:
If("&" in colShippingOrders.Title,DisplayMode.Disabled,DisplayMode.Edit)
However when I click the add file button and upload a file with an & in its name it doesn't disable. Any ideas what I' doing wrong?