cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

LOG out of Order

23
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Pedro Rego on 31-05-2013 10:18:39 AM
We make a some tests with ordinary element application modifier or anykind of element and we had a strange behavior describes below:
We create a log with 4 lines but he showed on log out of order.

ELEMENT LOG
NAME1, LINE1
NAME2, LINE2
NAME3, LINE3
NAME4, LINE4
activty.log
192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.686,WittelGetHora_1_Start,custom,NAME2,LINE2
192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.686,WittelGetHora_1_Start,custom,NAME4,LINE4
192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.705,WittelGetHora_1_Start,custom,NAME3,LINE3
192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.706,WittelGetHora_1_Start,custom,NAME1,LINE1
How can this works? Its possible put on order?
Thanks

Subject: Re: New Message from Pedro Rego in Customer Voice Portal (CVP) - General Di
Replied by: Janine Graves on 31-05-2013 02:11:34 PM
Yes, that seems to be how the Add to Log box works - kind of bizarre, but I also noticed about a year ago that it doesn't log in the order displayed. If you need it to log in a certain order, you might want to create your own custom element with a repeatable setting. And then within the Java code, retrieve the items in the settings and perform AddToLog() - that will display in the correct order. Janine On 5/31/2013 11:18 AM, Cisco Developer Community Forums wrote: Pedro Rego has created a new message in the forum "General Discussion - All Versions": -------------------------------------------------------------- We make a some tests with ordinary element application modifier or anykind of element and we had a strange behavior describes below: We create a log with 4 lines but he showed on log out of order. ELEMENT LOG NAME1, LINE1 NAME2, LINE2 NAME3, LINE3 NAME4, LINE4 activty.log 192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.686,WittelGetHora_1_Start,custom,NAME2,LINE2 192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.686,WittelGetHora_1_Start,custom,NAME4,LINE4 192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.705,WittelGetHora_1_Start,custom,NAME3,LINE3 192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.706,WittelGetHora_1_Start,custom,NAME1,LINE1 How can this works? Its possible put on order? Thanks -- To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/15760914 or simply reply to this email. -- Janine Graves

Subject: RE: Re: New Message from Pedro Rego in Customer Voice Portal (CVP) - Genera
Replied by: Pedro Rego on 31-05-2013 02:41:09 PM
Tahnks again,  Janine.
Could you provide a little sample of java code dfor this element of cutsom element with AddToLog() for put any lines.
Aykind you have or look like i apreciate.
Thanks 

Subject: RE: Re: New Message from Pedro Rego in Customer Voice Portal (CVP) - Genera
Replied by: Janine Graves on 31-05-2013 03:30:37 PM
Hi Pedro, Look on the forum for the attachment with code for a custom element with a repeatable setting of Name=Value pairs that are added to the Activity Log.
Regards, Janine
TrainingTheExperts(dot)com
CreatePlease to create content