I have two variables, search and selectedAsset. When Search or selectedAsset is shown I would like to set a new variable named optionalparamaters which excutes when search i