Hello Team,
Please see below screen shot, I want to add more std/custom fields to global search results.
Version : 7.7 Ent
Thanks,
Shyam
Hello Team,
Please see below screen shot, I want to add more std/custom fields to global search results.
Version : 7.7 Ent
Thanks,
Shyam
Hope I am understanding your question correctly:
In Studio, choose the module from which you want to add fields from to the global search. Navigate to Search -> Search and then drag the fields over to the "Default" half:
Save & Deploy.
You might also have to do "Schedule System Index" which is under Admin -> Search.
Good luck,
KGM
Hello Shyam Gaikwad,
I have done this customization for my one of the existing client.
I have share my code with you.I have done this for opportunities module. I have remove date_closed into global search.
Put this file into /<>/custom/modules/Opportunities/clients/base/views/search-list/search-list.php
$viewdefs['Opportunities']['base']['view']['search-list'] = array( 'panels' => array( array( 'name' => 'primary', 'fields' => array( array( 'name' => 'picture', 'type' => 'avatar', 'size' => 'medium', 'readonly' => true, 'css_class' => 'pull-left', ), array( 'name' => 'name', 'type' => 'name', 'link' => true, 'label' => 'LBL_SUBJECT', ), ), ), /*array( 'name' => 'secondary', 'fields' => array( array( 'name' => 'date_closed', 'type' => 'date', 'label' => 'LBL_DATE_CLOSED' ) ), ),*/ ), );
You need to add your field in to array.
Do Repair & Rebuilds.
Hope it will help you. If you need more help let me know.
-BPATEL
Hello Shyam Gaikwad,
I have done this customization for my one of the existing client.
I have share my code with you.I have done this for opportunities module. I have remove date_closed into global search.
Put this file into /<>/custom/modules/Opportunities/clients/base/views/search-list/search-list.php
$viewdefs['Opportunities']['base']['view']['search-list'] = array( 'panels' => array( array( 'name' => 'primary', 'fields' => array( array( 'name' => 'picture', 'type' => 'avatar', 'size' => 'medium', 'readonly' => true, 'css_class' => 'pull-left', ), array( 'name' => 'name', 'type' => 'name', 'link' => true, 'label' => 'LBL_SUBJECT', ), ), ), /*array( 'name' => 'secondary', 'fields' => array( array( 'name' => 'date_closed', 'type' => 'date', 'label' => 'LBL_DATE_CLOSED' ) ), ),*/ ), );
You need to add your field in to array.
Do Repair & Rebuilds.
Hope it will help you. If you need more help let me know.
-BPATEL
Thanks for the reply, if possible please share screen shot for what you have changed in Global Search List. So it will help me understand.
Thanks,
Shyam
Sorry Bhavesh I was busy with other stuff, didn't get time to check your suggestion. Just now I have checked, it's works for me, this is what I am looking for, thank you..
Just sharing, I have override below file and formatted subtext address info (HTML), please see below screen shot.
clients\base\views\quicksearch-results\quicksearch-results.js
Thanks,
Shyam