Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: null on 05-05-2008 07:39:28 PM I have the following code. I want to be able to set the value to "<encrypted>" for that element data and have it display in the activity log as such. Then I want to set it to the actual value passed in and not log it. From what I can tell, it only takes the last instruction for that variable name - i.e. it doesn't log anything.
Is there a way around this? I want to be able to show this in the activity log[code:1:55452dafc9]data,value,<encrypted>[/code:1:55452dafc9] but have the value be the true value - just not logged.
Subject: RE: setElementData not logging to activity log Replied by: Vance Vagell on 06-05-2008 04:59:08 PM Hi Joel,
We introduced built-in functionality to do this as of the Call Studio 6.0 and Call Services, Universal Edition 6.0 releases. You can read about it in the release notes for that release, under "Enhanced Security". There is a lot more detail about these security settings in the Element Spec as well, such as in the Digits element section on page 29 (see the "Secure Logging" setting).
Regards, Vance
Subject: RE: setElementData not logging to activity log Replied by: null on 06-05-2008 05:03:41 PM I'll read up on that. Sounds like a very useful addition.
But how do I accomplish this with CallServices and Studio prior to this new secure version? Or am I relegated to using addToLog instead of setElementData to display within the activity log?
Subject: RE: setElementData not logging to activity log Replied by: Vance Vagell on 06-05-2008 05:19:41 PM Hi Joel,
For earlier releases, we've provided some ideas on our knowledge base.
Regards, Vance
Subject: RE: setElementData not logging to activity log Replied by: null on 06-05-2008 06:20:36 PM That knowledge base article doesn't answer my question. It addresses the Element pane. I am attempting to suppress logging from within a custom Java voice element.
Why does it not write "<encrypted>" to the activity log when I tell it to? It only seems to accept the second command. Does it queue up the setElementData commands and only take the last one?
Subject: RE: setElementData not logging to activity log Replied by: null on 06-05-2008 06:44:52 PM Joel,
Element Data is essentially a Map, where the key is the element data name and the value is an Object that you can store anything in. If you have multiple lines in your code that use setElementData and use the same element data name, the latter one will overwrite the first one because it uses the same key. So you are correct in your assumption.
addToLog is done differently, its just a raw dump of data you pass to it so you can call that multiple times and the content will appear one after the other in the activity log.
Hope this helps,
Elam
Subject: RE: setElementData not logging to activity log Replied by: null on 06-05-2008 06:52:48 PM Thanks! That helps and does answer my question. I was hoping my assumption was wrong so that I could have the data show up "properly", but I'll use the addToLog method instead.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: