Hi, not a developer but I wanted to put an idea ou...
# general
a
Hi, not a developer but I wanted to put an idea out there and see how feasible it would be. I was trying to figure out how to get descriptions onto saved searches the most useful info / workaround that stanley found was Use of Formula (Text) Field*: You can add a formula (text) to the criteria with a value of 'is not ABC'. This can serve as a note or description for your saved search. For complex searches, you can create external documentation and link to where that is using the same formula text. I know there are enhancement requests and they date back quite far so its probably not gonna happen. my idea is this: create a custom record/table that will house the saved search ID and a text field where you can write the description. Then have a banner script that will use the message function to display a banner when a saved search (use the saved searches ID to find the message in the custom record/table) is opened with a message at the top and this message is pulled from that custom record? Could that be done?
a
On paper, yes, not sure where you want to show that description, if you are hoping to show that description when you open a saved search, then I don't think that would be possible, to be able to show that banner; you will need to be able to deploy a UserEvent script to the saved search record that will read/search your custom record and display the desired banner, however that is not possible, you can't deploy scripts to the saved search record itself. You may be able to get away by building a Suitelet that would load all your saved searches and description from your custom record, and show them on a table, and then have a clickable link to open the desired saved search, you will be essentially re-creating the list/view of the Saved Searches with your own custom Suitelet.
👍 1
i
storing the data looks right by storing it in a custom record. displaying it will be the difficult part since you can't deploy a script to the saved searches results. For this i think it would involve some custom browser plugin that would read the url and if its a saved search url it will then query the custom record to find the description for that saved search and inject it onto the page.
👍 1