Forums

Full Version: Script to add '||' to filter value
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to add  '||' to filter value?
var a = changedItem.attributes.Value; 
var newval = a.replace(/,/g, '|'); 
sdk.updateGlobalVariable( 'label_new', {'Value': newval},false ); 
sdk.reload( [ 'ConnectionID_1' ] );