SAP BusinessObjects Dashboards Component SDK User Guide SAP BusinessObjects 4.12013-05-06
2013-05-0610Overview of Steps to Create and Distribute Add-Ons
Creating Adobe Flex ProjectsAdd-ons for Dashboards are created as Adobe Flex projects. You can create three types of Adobe Flexprojects to extend Dash
LocationProject NameAdd-on TypeC:\Dashboards\componentdeveloper\MyExcelFunctionSourceMyExcelFunctionSourceExcel Function4.Click Finish to create your
...public class BasicHorizontalSlider extends HSlider{...}}Note:Visual components must inherit from UIComponent.In addition, if you want to include co
Sample file/documnentExampleThe RSSConnector source code.Creating a basic custom connection that does notuse refresh options and loading statusThe RSS
Note:Styles cannot be bound to the spreadsheet.For additional information about controling the appearance of visual components, see the SAPBusinessObj
2013-05-0616Creating Adobe Flex Projects
Compiling with Adobe Flex SDK 4.0To work with Dashboards, add-ons must be compiled using Adobe Flex SDK 4.0.Configure your Adobe Flex project to compi
2013-05-0618Compiling with Adobe Flex SDK 4.0
Creating HTML5 Add-On Projects for MobileMobile add-ons for Dashboards are created as HTML5 projects. You can create three types of HTML5projects to a
© 2013 SAP AG or an SAP affiliate company. All rights reserved. No part of this publication may bereproduced or transmitted in any form or for any pur
sius.sdk.core.AddOnComponent);...})();Note:All component add-ons must inherit from xcelsius.sdk.core.AddOnComponent.In Dashboards, connection refresh
Creating Property SheetsVisual components and custom data connections are configured in component property sheets. Ingeneral, you should create custom
For additional information about creating custom property sheets for visual components, see theDashboards SDK Tutorial 4available with the SAP Busines
Testing Your ComponentAfter you create an Adobe Flex project, test it in Dashboards in design mode, in Preview mode, andat run-time after exporting it
Set the output option to C:\Documents andSettings\${YOUR_USER_NAME}\Application Data\Macromedia\FlashPlayer\Logs\flashlog.txt.For example: C:\Document
Packaging Adobe Flex Projects as Add-OnsThe Dashboards Add-On Packager provides an easy way to package your component as an add-on.xlx file for distri
4.In the MXML compiler configuration file, add configuration information to include metadata for theDashboards Default Property Sheet.For example,<
DescriptionOptionThe name of your add-on. For example, Sales FunnelNote:For packages that contain only a set of functions, include the names of thefun
DescriptionOptionThe fully qualified class name that identifies the item in the componentSWF. For example: com.businessobjects.xcelsius.sdk.samples.Sa
DescriptionOptionA bitmap file (16 by 16 pixels) that will represent your component in the"Object Browser".Small Icon BMPEnter the path to t
ContentsAbout This Guide...5Chapter
DescriptionOptionA bitmap file (16 by 16 pixels) that represents your connection in the list ofavailable connections in the "Data Manager".S
12.For easier updating in the future, click File > Save As to save your project settings.13.In the "Save As" dialog box, enter a name for
2013-05-0632Packaging Adobe Flex Projects as Add-Ons
Distribute your add-onDistribute your Dashboards Add-On .xlx to Dashboards users. Dashboards users can install andremove your add-on using the Add-On
2013-05-0634Distribute your add-on
Appendix A: Dashboards Default Property Sheet APIReferenceThe Dashboards Default Property Sheet is provided so you can quickly get your visual compone
Note:For an MXML file, add the CxInspectableList metadata in an <mx:Metadata> tag.For example, to restrict the list of properties to title and s
"value" property changes.*/public function notifyValueChanged():void{var event:Event = PropertyChangeEvent.createUpdateEvent(this, "val
DescriptionTagA combo box in the property sheet allows usersto select a font from the list of fonts available ontheir system.Style: Font Family (a fon
DescriptionTagA combo box in the property sheet allows usersto pick true or false.Inspectable: Boolean (true or false)For example:[Inspectable(type=&q
Distribute your add-on...33Chapter 10 Appendix
Compile your release SWF to keep the metadata. To use the default property sheet.11.6 Displaying and hiding properties in the default property sheetIf
Appendix B: Custom Property Sheet API ReferenceAlthough you can use the default property sheet to get visual components working quickly in Xclesius,to
5.Handle localization based on Dashboards language setting.6.Add a helper function called getPropertyBindDisplayName that returns null if the property
Binding directionsBinding directions between the spreadsheet and the component property can be:• Two way between the spreadsheet and component propert
12.2.2 Spreadsheet to component bindingsIf you use spreadsheet to component bindings, the property value is updated when the spreadsheetchanges. Known
{var event:Event = PropertyChangeEvent.createUpdateEvent(this, "value", null,value);dispatch(event);}1.Bind a single value property.For exam
Note:The binding type on either InputBindings or OutputBindings should match the type of the end point(data[0].xValue) and not the property (data).12.
Appendix C: Add-On Manager Command Line InterfaceThis section provides an overview for using the command-line interface to install add-on files. For m
2013-05-0648Appendix C: Add-On Manager Command Line Interface
Appendix D: Add-On Packager Command Line InterfaceTo use the command-line version of the Add-On Packager to generate an add-on (.xlx) file from apacka
About This GuideDashboards gives users the capability to easily visualize complex data modeled in Excel. The DashboardsComponent SDK enables Flex and
2013-05-0650Appendix D: Add-On Packager Command Line Interface
More InformationLocationInformation Resourcehttp://www.sap.comSAP BusinessObjects product infor-mationNavigate to http://help.sap.com/businessobjects
LocationInformation Resourcehttps://www.sdn.sap.com/irj/boc/businessobjects-articlesThese articles were formerly known as technical papers.SAP Busines
2013-05-066About This Guide
Installing the Sample Add-On Components• Dashboards is installed.• Dashboards Component SDK is installed.Note:For more information about installing th
2013-05-068Installing the Sample Add-On Components
Overview of Steps to Create and Distribute Add-OnsDevelop and test your component:• Create or re-use an existing Adobe Flex or HTML5 component.• For v
Commentaires sur ces manuels