本文介绍了Worklight Analytics有效负载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

Worklight 6.2.0,移动网络环境

Worklight 6.2.0, Mobile Web Environment

Worklight信息中心提供三种用于记录分析消息的公式

The Worklight Info Center offers three formulations for logging an analytic message

 WL.Analytics.log('my record');

 WL.Analytics.log({data: [1,2,3]});

 WL.Analytics.log({data: [1,2,3]}, 'MyData');

我成功使用了第一个,但其他两个没有产生分析而我的失败()函数没有被触发。

I am successfully using the first of these, but the other two produce no analytics and my fail() function is not fired.

我在在线教程中看到了进一步的表述

I see in the online tutorials a further formulation

 WL.Analytics.log({_activity: "myActivity" });

这也不会产生任何输出。

this too produces no output.

问题:是否有其他配方可行?

Question: Are there other formulations that do work?

推荐答案

适用于未实现或未进入Worklight 6.2版本的Analytics功能。显然,这没有反映在文档中。我将打开一个缺陷,要么可以搜索日志,要么在文档中反映出这个限制。

were intended for Analytics features that were not implemented or did not make it into the Worklight 6.2 release. Clearly this is not reflected in the documentation. I will open a defect to either have the logs searchable or have this limitation reflected in the documentation.

如果以下电话:

不会导致在Analytics(分析)控制台的活动页面中搜索活动,这是Worklight 6.2的缺陷。

does not result in activities being searchable in the 'Activites' page of the Analytics console, then this is a defect for Worklight 6.2.

我可以确认以上所有内容问题是为Worklight的下一个版本修复的(无论是通过代码修复还是文档)。如果您需要将其中一些修复程序反向移植到以前版本的Worklight,请打开PMR以便我们可以开始此过程。

I can confirm that all of the above issues are fixed for the next release of Worklight (whether its through code fixes or documentation). If you need some of these fixes backported to a previous release of Worklight, please open a PMR so that we can begin that process.

这篇关于Worklight Analytics有效负载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 15:51