One of the new features in Apex 18x is the Spotlight Search. It is a great feature that quickly enables to search navigate through your Apex Workspace. It is context aware and provides various capabilities when you are in different areas of the Apex development environment. This article will help you to make use of the Spotlight Search.

 

How to open Spotlight Search

 

Just as in Apex 5,there is a search field in the top right corner of your Apex Workspace. In the past, when you typed a value into this search field it would search an application for that value. But now the power of the search is tremendously improved.

You can open the Spotlight search by typing into the search field just as you did in the past. Or alternative, you can use the keyboard shortcut Contrl+’.

 

Once I have logged into my workspace, I open the App Builder.

 

Then, I click on the magnifying glass in the top right corner.

 

The Spotlight Search screen opens.

Performing a Spotlight Search within the App Builder

 

In the Spotlight Search screen you need to type at least two characters to perform the search.

 

I will enter ‘SQL’ in the search field.

 

results of spotlight search showing a list of all items in the app builder that starts with sql such as the sqlworkshop and sql commands etc

 

You can see that the search provides a list of all of the items in the App Bluider that start with ‘SQL’. The search results are context sensitive to items with in the App Builder.

 

I will click on the “=’SQL Workshop’ item.

 

By clicking on this item I am taken directly into the SQL Workshop.

 

image of the sql workshop screen as if you have click sql workship at the top of the app builder

 

Let’s go back to the App Builder by clicking on the ‘App Builder’ at the top of the screen.

 

I will again open the Spotlight Search by ccking on the magnifying glass at the top of the screen. I will perform the same search by typing 'SQL' into the search field.

 

image of the results of the spotlight search showing the same values as above 

This time I want to drill into a more specific area. I will click on the 'SQL Command' result Item.

 

I am taken directly into the SQL Command sreen.

 

image of the SQL commands screen

 

Again, back to the App Builder and I will open the Sample Database Application. Now there is a list of all of the pages in the application.

Open the Spotlight Search screen and type ‘br’ in the search field.

 

image of the spotlight search results shsowing all items in the application that start with b r

 

 

Notice that the search results not only provides a list of items matching our search, but it also shows beside some of the items a keyboard shortcut that can be used to open this component without having to use the search.

 

I will click on the item 'Breadcrombs'.

 

This takes me directly to the Breadcrumb screen with Shared Components.

 

image of the breadcrombs from within shared components

 

Obviously by performing otheother searches I could drill right done to plugins or any other part of Shared Components or anywhere else in the application for that matter.

 

Let's assume that in my application I want to deal with those pages that relate to Orders. In the spotlight search I can simply type 'orders' to see those pages.

 

image of the results of the spotlight search shsowing results such as orders, create orders etc

 

I will click on the 'Orders' result and that takes me directly to Page 4 of my application.

 

Performing a Spotlight Search within the Page Designer

 

image of page 4 of the sample database application open in the page designer

 

The Spotlight Search will now know that I am now in the Page Designer.

 

Let's assume I need to change the functionality of the Enter New Order button.

 

I open the Spotlight Search and type 'en' into the search field.

image of spotlight search results with the enter new order button highlighted

I click on the result 'Button > ENTER_NEW_ITEM'.

 

Now I am sent directly to that item in the components tree so that I can edit it.

 

image of page 4 open in the page designer with the enter new order button highlighted in the components tree

 

 

I can search for any item on the Page Designer using the new Spotlight Search.

 

Summary

 

Hopefully you can see that the new Spotlight Search in Apex 18.1.is a very powerful tool. Not only does the Spotlight Search reduce mouse travel and increase productivity, it helps to make Apex development accessible to users with disabilities.

 

You will quickly become very fond of the Spotlight Search functionality and will use it all the time. Remember, as you are looking at the search results pay some attention to the keyboard shortcuts provided. These shortcut keys will further enhance your development

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pin It

Contact Us

Please let us know your name.
Please let us know your email address.
Invalid Input
Please write a subject for your message.
Please let us know your message.
Invalid Input

Contact Us

Our Address

AppLinks (Pty) Limited
20 Wildebees Street
VerWoerdpark
Alberton, South Africa
+27 (0) 11 902 3688
+27 (0) 83 276 3315