Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Heather@FootAnstey
Posts : 57
Join date : 2018-12-19

[Search Lists] Accessing filter screen control values Empty [Search Lists] Accessing filter screen control values

Thu 16 Apr 2020 - 19:53
Original Post: Colin McGowan (Matheson) 20/06/2012 14:44:27

" How can I get at the values from controls on a filter screen on a search list? Is there a way to grab the search list object, extract its filter screen object and interogate the values of the controls, eg the typical “_dept” and “_type” comboboxes that appear on filter screens? Or can they be extracted as key-value pairs from the search list? They can be bound within the data builder (@param1 bound to %_dept%)so how can I get at them via script?
Thanks Colin"

Responses:
Richard Annison 20/06/2012 16:44:56

" Hi Colin,
It can be accessed with the following code you will also need to add a reference to FWBS.Common.UI.dll in your searchlist script: SearchControl.EnquiryForm.GetIBasicEnquiryControl2(“TextBox1”).Value
Regards Richard"

Back to top
Permissions in this forum:
You cannot reply to topics in this forum