04-08-2019 11:39 PM
Hi Team,
Some Quick Question on Finesse Gadgets Logging , i will going to step up finesse Logging for Gadgets , can you guide me on this one ,please please .. If you have any sample code for Logging Finesse Gadgets please share me , help me on this . Please Team .
thanks !
Solved! Go to Solution.
04-09-2019 10:00 AM
You should begin by looking at how the sample finesse apps do logging.
In my javascript file I have code like:
clientLogs = finesse.cslogger.ClientLogger || {}; ... clientLogs.log("makeRequest()");
Then use either locallog or RTMT to view the logged data.
04-24-2019 09:00 PM
04-08-2019 11:40 PM
04-09-2019 09:37 AM
Hi,
Adding logging to the gadget is pretty straightforward. You can take a look at the final version of the LearningSampleGadget as an example.
In the init of the gadget, just initialize the client logs:
clientLogs.init(gadgets.Hub, "SampleGadget");
Then when you want to add a log statement, just do this:
clientLogs.log("This is my log statement");
In order to get these logs, the agent must push the "Send Error Report" button on the desktop and it will be sent to the Finesse server under the Finesse's logs in a folder called clientLogs.
Thanx,
Denise
04-10-2019 09:34 PM
04-12-2019 10:39 PM
Hi Denise,
Just two Lines of code is enough for gadgets logging to Finesse Clients logs , anythings else to do ???
please let me know ,
thanks!
04-12-2019 11:02 PM
04-22-2019 11:32 AM
Hi,
Yes you do:
clientLogs = finesse.cslogger.ClientLogger;
Like I said earlier, take a look at the final version of the LearningSampleGadget. It has client logging working already.
Thanx,
Denise
04-09-2019 10:00 AM
You should begin by looking at how the sample finesse apps do logging.
In my javascript file I have code like:
clientLogs = finesse.cslogger.ClientLogger || {}; ... clientLogs.log("makeRequest()");
Then use either locallog or RTMT to view the logged data.
04-10-2019 09:34 PM
04-15-2019 04:44 AM
04-15-2019 07:37 PM
04-19-2019 08:25 PM
04-22-2019 11:49 AM
Hi,
Are you saying that you have two javascript files for the same gadget and the first file you have the logging working, but the second one you can't? Please confirm or clarify.
Thanx,
Denise
04-22-2019 05:20 PM
04-22-2019 09:39 PM - edited 04-22-2019 11:44 PM
Hi Denise ,
For your information , First js file for I frame development , and after I frame established inside i frame second js file is executing for Gadget functions, i want to setup logging for Second JS file
I did below steps :
After declared all function for Client Logs initiating in I frame js its working Fine am able to see the Logs in Client Logs Section .But Same Code i written in Second JS its Not working(Getting Error Gadget in not defined )? How i have to do initiate the Client Logs for Second JS file .
Please share your comments .
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide