MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Vernetzung MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS herunter. SAP BusinessObjects Dashboards Component Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - ■ SAP BusinessObjects 4.1

SAP BusinessObjects Dashboards Component SDK User Guide SAP BusinessObjects 4.12013-05-06

Seite 2

2013-05-0610Overview of Steps to Create and Distribute Add-Ons

Seite 3 - Contents

Creating Adobe Flex ProjectsAdd-ons for Dashboards are created as Adobe Flex projects. You can create three types of Adobe Flexprojects to extend Dash

Seite 4 - 2013-05-064

LocationProject NameAdd-on TypeC:\Dashboards\componentdeveloper\MyExcelFunctionSourceMyExcelFunctionSourceExcel Function4.Click Finish to create your

Seite 5 - About This Guide

...public class BasicHorizontalSlider extends HSlider{...}}Note:Visual components must inherit from UIComponent.In addition, if you want to include co

Seite 6 - 2013-05-066

Sample file/documnentExampleThe RSSConnector source code.Creating a basic custom connection that does notuse refresh options and loading statusThe RSS

Seite 7 - 2013-05-067

Note:Styles cannot be bound to the spreadsheet.For additional information about controling the appearance of visual components, see the SAPBusinessObj

Seite 8 - 2013-05-068

2013-05-0616Creating Adobe Flex Projects

Seite 9 - 2013-05-069

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

Seite 10 - 2013-05-0610

2013-05-0618Compiling with Adobe Flex SDK 4.0

Seite 11 - Creating Adobe Flex Projects

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

Seite 12 - 2013-05-0612

© 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

Seite 13 - Tutorial 1 Creating a

sius.sdk.core.AddOnComponent);...})();Note:All component add-ons must inherit from xcelsius.sdk.core.AddOnComponent.In Dashboards, connection refresh

Seite 14 - Sample file/documnentExample

Creating Property SheetsVisual components and custom data connections are configured in component property sheets. Ingeneral, you should create custom

Seite 15 - 2013-05-0615

For additional information about creating custom property sheets for visual components, see theDashboards SDK Tutorial 4available with the SAP Busines

Seite 16 - 2013-05-0616

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

Seite 17 - 2013-05-0617

Set the output option to C:\Documents andSettings\${YOUR_USER_NAME}\Application Data\Macromedia\FlashPlayer\Logs\flashlog.txt.For example: C:\Document

Seite 18 - 2013-05-0618

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

Seite 19 - 2013-05-0619

4.In the MXML compiler configuration file, add configuration information to include metadata for theDashboards Default Property Sheet.For example,<

Seite 20 - To set refresh options

DescriptionOptionThe name of your add-on. For example, Sales FunnelNote:For packages that contain only a set of functions, include the names of thefun

Seite 21 - Creating Property Sheets

DescriptionOptionThe fully qualified class name that identifies the item in the componentSWF. For example: com.businessobjects.xcelsius.sdk.samples.Sa

Seite 22 - Dashboards SDK Tutorial 4

DescriptionOptionA bitmap file (16 by 16 pixels) that will represent your component in the"Object Browser".Small Icon BMPEnter the path to t

Seite 23 - Testing Your Component

ContentsAbout This Guide...5Chapter

Seite 24 - 2013-05-0624

DescriptionOptionA bitmap file (16 by 16 pixels) that represents your connection in the list ofavailable connections in the "Data Manager".S

Seite 25 - 2013-05-0625

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

Seite 26 - 2013-05-0626

2013-05-0632Packaging Adobe Flex Projects as Add-Ons

Seite 27 - DescriptionTab

Distribute your add-onDistribute your Dashboards Add-On .xlx to Dashboards users. Dashboards users can install andremove your add-on using the Add-On

Seite 28

2013-05-0634Distribute your add-on

Seite 29

Appendix A: Dashboards Default Property Sheet APIReferenceThe Dashboards Default Property Sheet is provided so you can quickly get your visual compone

Seite 30

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

Seite 31 - 9.3 To update add-on packages

"value" property changes.*/public function notifyValueChanged():void{var event:Event = PropertyChangeEvent.createUpdateEvent(this, "val

Seite 32 - 2013-05-0632

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

Seite 33 - Distribute your add-on

DescriptionTagA combo box in the property sheet allows usersto pick true or false.Inspectable: Boolean (true or false)For example:[Inspectable(type=&q

Seite 34 - 2013-05-0634

Distribute your add-on...33Chapter 10 Appendix

Seite 35 - Reference

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

Seite 36 - 2013-05-0636

Appendix B: Custom Property Sheet API ReferenceAlthough you can use the default property sheet to get visual components working quickly in Xclesius,to

Seite 37 - 2013-05-0637

5.Handle localization based on Dashboards language setting.6.Add a helper function called getPropertyBindDisplayName that returns null if the property

Seite 38 - DescriptionTag

Binding directionsBinding directions between the spreadsheet and the component property can be:• Two way between the spreadsheet and component propert

Seite 39

12.2.2 Spreadsheet to component bindingsIf you use spreadsheet to component bindings, the property value is updated when the spreadsheetchanges. Known

Seite 40 - 2013-05-0640

{var event:Event = PropertyChangeEvent.createUpdateEvent(this, "value", null,value);dispatch(event);}1.Bind a single value property.For exam

Seite 41 - 2013-05-0641

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.

Seite 42 - 2013-05-0642

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

Seite 43 - 12.2.1 Two-direction bindings

2013-05-0648Appendix C: Add-On Manager Command Line Interface

Seite 44 - 2013-05-0644

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

Seite 45 - 2013-05-0645

About This GuideDashboards gives users the capability to easily visualize complex data modeled in Excel. The DashboardsComponent SDK enables Flex and

Seite 46 - 2013-05-0646

2013-05-0650Appendix D: Add-On Packager Command Line Interface

Seite 47 - Using Advanced

More InformationLocationInformation Resourcehttp://www.sap.comSAP BusinessObjects product infor-mationNavigate to http://help.sap.com/businessobjects

Seite 48 - 2013-05-0648

LocationInformation Resourcehttps://www.sdn.sap.com/irj/boc/businessobjects-articlesThese articles were formerly known as technical papers.SAP Busines

Seite 49 - 2013-05-0649

2013-05-066About This Guide

Seite 50 - 2013-05-0650

Installing the Sample Add-On Components• Dashboards is installed.• Dashboards Component SDK is installed.Note:For more information about installing th

Seite 51 - More Information

2013-05-068Installing the Sample Add-On Components

Seite 52 - LocationInformation Resource

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

Kommentare zu diesen Handbüchern

Keine Kommentare