{"id":1363,"date":"2009-01-28T18:06:19","date_gmt":"2009-01-28T12:36:19","guid":{"rendered":"http:\/\/www.chiragmehta.info\/chirag\/?p=1363"},"modified":"2009-01-28T18:08:08","modified_gmt":"2009-01-28T12:38:08","slug":"salesforce-apex-search-with-checkbox-results","status":"publish","type":"post","link":"https:\/\/www.chiragmehta.info\/chirag\/2009\/01\/28\/salesforce-apex-search-with-checkbox-results\/","title":{"rendered":"Salesforce &#8211; Apex Search with Checkbox Results"},"content":{"rendered":"<p>Following demo is a single Apex custom controller, two Visualforce pages and a wrapper class allowing the user to search an object by keyword (via Dynamic SOQL) and return the results in a page block table with corresponding checkboxes. Selecting one or more checkboxes and clicking the \u2018See Results\u2019 button displays the list of the selected items.<\/p>\n<p>This is a very common function as you typically want to search for stuff and then process some selected stuff.<\/p>\n<p><strong>You can <a href=\"http:\/\/jeffdouglas-developer-edition.na5.force.com\/examples\/category_search\" target=\"_blank\">run this demo<\/a> on Jouff Douglas developer site.<\/strong><\/p>\n<p><a href=\"http:\/\/jeffdouglas-developer-edition.na5.force.com\/examples\/category_search\"><center><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-359\" title=\"cat-screenshot\" src=\"http:\/\/jeffdonthemic.files.wordpress.com\/2009\/01\/cat-screenshot.png?w=300&amp;h=201\" alt=\"cat-screenshot\" width=\"300\" height=\"201\"\/><\/center><\/a><\/p>\n<p>View Complete Code @ <a href=\"http:\/\/blog.jeffdouglas.com\/2009\/01\/13\/apex-search-with-checkbox-results\/\">Jouff Douglas<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Following demo is a single Apex custom controller, two Visualforce pages and a wrapper class allowing the user to search an object by keyword (via Dynamic SOQL) and return the results in a page block table with corresponding checkboxes. Selecting one or more checkboxes and clicking the \u2018See Results\u2019 button displays the list of the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[169],"class_list":["post-1363","post","type-post","status-publish","format-standard","hentry","category-salesforce","tag-salesforce","post-preview"],"_links":{"self":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts\/1363","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/comments?post=1363"}],"version-history":[{"count":3,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts\/1363\/revisions"}],"predecessor-version":[{"id":1365,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/posts\/1363\/revisions\/1365"}],"wp:attachment":[{"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/media?parent=1363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/categories?post=1363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chiragmehta.info\/chirag\/wp-json\/wp\/v2\/tags?post=1363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}