
sius.sdk.core.AddOnComponent);
...
}
)();
Note:
All component add-ons must inherit from xcelsius.sdk.core.AddOnComponent.
In Dashboards, connection refresh and status options are configured in the "Usage" tab of the "Data
Manager". For more information about using these options, refer to the following sections of the
SAP
BusinessObjects Dashboards and Presentation Design User Guide
:
To set refresh options
and
To
create load and idle messages
.
The following code sample creates a package for an RSS connector with a trigger:
(function(){
xcelsius.sdk.declare("com.businessobjects.xcelsius.sdk.samples.RSSConnector");
xcelsius.sdk.require("xcelsius.sdk.rpc.AddOnConnection");
com.businessobjects.xcelsius.sdk.samples.RSSConnector = function()
{
com.businessobjects.xcelsius.sdk.samples.RSSConnector.superclass.constructor.apply(this,arguments);
...
};
xcelsius.sdk.extend(com.businessobjects.xcelsius.sdk.samples.RSSConnector, xcelsius.sdk.rpc.AddOnConnec
tion);
...
}
)();
Note:
All connection add-ons must inherit from xcelsius.sdk.rpc.AddOnConnection. In addition:
• All properties used in the "Usage" tab of the "Data Manager" must be defined.
• The trigger() function, which defines any events the connection will handle, must be overwritten.
• When the connection finishes loading data, it must notify the dashboard using the notifyTrigger
Complete() function.
2013-05-0620
Creating HTML5 Add-On Projects for Mobile
Comentarios a estos manuales