- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2023 06:12 PM
Search is a helpful tool when you inherit something you didn't write. I'm having some difficulty in understanding how to search across Page scripts and other UI Builder artifacts to assist me in understanding where code is executing or state is manipulated.
Without search I am stuck clicking through the various artifacts trying to figure out how things are wired together. Even with search it can be difficult, but I haven't found anything that allows me to search across scripts and other artifacts that UI Builder generates.
When creating scoped applications for Core UI or Service Portal I've found the search feature in Studio very helpful in tracking down where various bits of code may be executed and I was wondering if there is anything like that for UI Builder? I've tried using both Studio and using the keyword search on the "sys_metadata" table but neither return any results for scripts or artifacts generated by UI Builder.
For example, when I see the scripted property value that is executed for the "Hide component" configuration property on the "List nav" what is the best way to track down the code that sets that state property? The code below is executing on the "List" page template.
With Core UI applications or Service Portal applications I could just search for "listMenuOpen" and find what was referencing or setting that property. With UI Builder I have to click through each individual client script to see where that is set.
Ultimately my question is, is there going to be any support for search or are we going to need to depend convention and manually searching to find where things are?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2023 06:33 AM
I think part of the problem here is that it's not necessarily code that sets that client state parameter as those can be set with code OR with an event handler. In this case a code search wouldn't necessarily help. We are looking into ways to make it easier to see how events, scripts, data, and state are all related on a page through some sort of visual representation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2023 11:49 PM
Have you success to add search to the list nav?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2023 04:46 AM
This question wasn't about adding search to the list nav. It was about searching in UI Builder. If you want to search the list nav you'll have to open up a new question or search the forum to see if one already exists. I doubt anyone will get back to you on this thread.