How to show the result
In this example, it is shown how the search results can be displayed on a Visualforce Page through the use of an Apex Class Controller.
- The code below demonstrates the implementation of the Visualforce Page used in this example.
- The code below demonstrates the implementation of the Apex Class Controller used in this example.
- The snippet
'q' => '*'represents the query fed to the search. The
*symbol is used to return all the images from the corresponding album.
The screenshot below shows how the Visualforce Page appears when it is added to the record page of an Account object.