Virtual Report on click need to Get the selected value
Summary:
On Quick search we are having a virtual report. After search result we need to open the record in workspace. while click on the report data. The "searchListener" is working only in workspace to return the selected value . Not in quick search .
Content (required):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
if (!searchListenerRegistered) {
reportObject.addSearchReportValueSetListener(searchListener);
searchListenerRegistered = true;
}
function searchListener(selectionContext) {
var selectedRow = selectionContext.getSelectedRow();
}
Tagged:
0