FusionCharts 可以在 Force.com 平台上使用吗?

发布于 2024-11-19 20:10:33 字数 59 浏览 6 评论 0原文

FusionCharts 是否可以在 Force.com 平台上运行的基于 java 的应用程序中运行?

Will FusionCharts work in a java-based application running in the Force.com Platform?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧城烟雨 2024-11-26 20:10:33

FusionCharts 确实可以在 Force.com 平台上运行。以下是具体的操作方法。

您需要从此处使用 Force.com 的 Java Web 服务连接器 (WSC) http: //wiki.developerforce.com/index.php/Web_Services_API#Java。那里提供了一些示例来帮助您开始使用该 WSC。您将需要此包装器来从外部查询 Force.com。

这是使用 WSC http://wiki.developerforce.com/index.php 的另一个介绍/Introduction_to_the_Force.com_Web_Services_Connector

一旦您熟悉了以上两点,这里有一个关于如何在 J2EE 中使用 FusionCharts 的简短教程 - http://www.fusioncharts.com/docs/Code/J2EE/JSP_GettingStarted.html

现在,Force.com 对象的问题是,在为每个对象编写查询之前,您需要了解每个对象的属性(例如,了解数据库表的列名)。您可以通过 Force.com 提供的 AIR 应用程序 - ForceExplorer http://wiki 轻松了解它们。 developerforce.com/index.php/ForceExplorer

您可以使用 ForceExplorer 形成查询,并将它们复制到您的 Java 代码中。然后,您可以将返回的数据写入 XML。 FusionCharts 文档中的本教程很好地概述了它 - http://www.fusioncharts。 com/docs/Code/J2EE/JSP_JS_URL.html

FusionCharts will indeed work on the Force.com platform. Here's how to go about it.

You would need to use the Java Web Services Connector (WSC) for Force.com from here http://wiki.developerforce.com/index.php/Web_Services_API#Java. There are a few samples provided there to get you started with that WSC. You will need this wrapper to query Force.com externally.

Here is another introduction to using the WSC http://wiki.developerforce.com/index.php/Introduction_to_the_Force.com_Web_Services_Connector.

Once you are comfortable with the above two, here is a short tutorial on how to use FusionCharts in J2EE - http://www.fusioncharts.com/docs/Code/J2EE/JSP_GettingStarted.html.

Now the thing with Force.com's objects is that you would need to know the attributes of each object before you write the query for them (as in, knowing the column names of a database table). You can know about them easily from this AIR app provided by Force.com - ForceExplorer http://wiki.developerforce.com/index.php/ForceExplorer

You can form the queries using ForceExplorer, and copy them down in your Java code. You would then write the returned data into an XML. This tutorial from the FusionCharts documentation outlines it very well - http://www.fusioncharts.com/docs/Code/J2EE/JSP_JS_URL.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文