You need to sign in to do that
Don't have an account?
SSnew
Visual force Search Button to search on two custom objects based on custom field
Hi All,
I am new to creating visual force page and I need help with creating a search button on visual force page.
This search button should return search results on two custom objects (say: Service and Service Component) when a custom field (say: Circuit Id which is of Data Type: Text) is typed and hit search button. Similar to the image attached here. But this search is the custom search within Salesforce and I want to create seperate one in visual force page just to search on two custom objects.
Can anyone give me a head start here please. Thanks !
I am new to creating visual force page and I need help with creating a search button on visual force page.
This search button should return search results on two custom objects (say: Service and Service Component) when a custom field (say: Circuit Id which is of Data Type: Text) is typed and hit search button. Similar to the image attached here. But this search is the custom search within Salesforce and I want to create seperate one in visual force page just to search on two custom objects.
Can anyone give me a head start here please. Thanks !
Basically you'd have the button call a function in your controller to do the search, get the two different objects in a list and bind those to the VF page. Here's the syntax for doing the search.