
In a previous post, I talked about how you can access the client side group selection context to determine what records are selected in the SalesLogix web client in the group/list view. That post was for 7.5x SalesLogix web. The version 8.0 web client has replaced the ext-js group components with a dojo based solution. Luckily for our purposes not a lot has really changed, except how to call a SalesLogix client side function.
Previously you had to make a javascript call like this:
function FXGetSelections(){
var selectionInfo = GetSelectionInfo();
document.getElementById(clientID + ‘_hfSelections’).value = selectionInfo.key;
var svc = Sage.Services.getService(‘SelectionContextService’);
svc.setSelectionContext(selectionInfo.key, selectionInfo, false);
}
Now you need to make a slightly different call to get the SelectionInfo:
function FXGetSelections(){
var selectionInfo = Sage.Utility.getSelectionInfo();
document.getElementById(clientID + ‘_hfSelections’).value = selectionInfo.key;
var svc = Sage.Services.getService(‘SelectionContextService’);
svc.setSelectionContext(selectionInfo.key, selectionInfo, false);
}
The rest of the logic outlined in my original post remains the same.
Subscribe To Our Newsletter
Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!
You have Successfully Subscribed!