function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Austin Villanueva 58Austin Villanueva 58 

lightning startURL global search

Hi guys,

I've been researching on how to use a global search in lighting using the url pattern. for now I found a pattern which uses the following pattern (from https://developer.salesforce.com/forums/ForumsMain?id=9060G000000UZky)
https://na30.lightning.force.com/one/one.app?source=aloha#THECOMPLETEBASE64ENCODEDSTRING)

The problem with this approach is that the user needs to do it manually inside salesforce. 

On the otherhand, if I wanted to use it with open browser I used it with 
startURL=/one/one.app?source=aloha#THECOMPLETEBASE64ENCODEDSTRING) but this one doesn't work at all. the encoded base64 code string is removed from the url and page is in the account home page. It doesn't work but if I used the startURL=/lightning/o/Contact/list?filterName=Recent. It works it redirects the page to the contact list.

What I needed is a path or workaround to be able to do global search in lightning when the browser opened. I hope you can help me with this. 

Thank you.