I have an app that has a parent/child gallery. I need to do a search in the child.
I have not been able to find anything that will show the correct syntax to search a FOR ALL.
This is the code on the child gallery
ForAll(
ThisItem.Data As _item,
Patch(
_item,
{
Asset_x0020_Location: ThisItem.Asset_x0020_Location,
Manufacturer: ThisItem.Manufacturer,
VDC: ThisItem.VDC,
Battery_x0020_Type: ThisItem.Battery_x0020_Type,
Title: ThisItem.Title
}
)
)
Can I do a search with this ?
I tried to add it this way but it is giving me a ton of errors, I cannot find anything on the correct syntax for this statement.
Search(
AddColumns(
Filter(
'Station Battery Bank_1',
IsBlank(ComboBox1_29.Selected.Station || (Substation in ComboBox1_29.SelectedItems.Station)
),
"id2",
Text(Substation)
),
ForAll(
ThisItem.Data As _item,
Patch(
_item,
{
Asset_x0020_Location: ThisItem.Asset_x0020_Location,
Manufacturer: ThisItem.Manufacturer,
VDC: ThisItem.VDC,
Battery_x0020_Type: ThisItem.Battery_x0020_Type,
Title: ThisItem.Title,
Substation: ThisItem.Substation
}
)
),
TextInput6_29.Text,
"Asset_x0020_Location",
"Stencil",
"SubAsset_x0020_Class",
"SubAsset_x0020_Location",
"Cell_x0020_Stencil",
"Manufacturer",
"VDC",
"id2",
"Battery_x0020_Type",
"Manufacture_x0020_Date"
),
"Substation",
Ascending
)
Please help.
User | Count |
---|---|
255 | |
107 | |
85 | |
51 | |
43 |