MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Networking MACROMEDIA FLEX-CREATING ADVANCED COMPONENTS. SAP BusinessObjects Dashboards Component Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - ■ SAP BusinessObjects 4.1

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

Strona 2

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

Strona 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

Strona 4 - 2013-05-064

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

Strona 5 - About This Guide

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

Strona 6 - 2013-05-066

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

Strona 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

Strona 8 - 2013-05-068

2013-05-0616Creating Adobe Flex Projects

Strona 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

Strona 10 - 2013-05-0610

2013-05-0618Compiling with Adobe Flex SDK 4.0

Strona 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

Strona 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

Strona 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

Strona 14 - Sample file/documnentExample

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

Strona 15 - 2013-05-0615

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

Strona 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

Strona 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

Strona 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

Strona 19 - 2013-05-0619

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

Strona 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

Strona 21 - Creating Property Sheets

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

Strona 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

Strona 23 - Testing Your Component

ContentsAbout This Guide...5Chapter

Strona 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

Strona 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

Strona 26 - 2013-05-0626

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

Strona 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

Strona 28

2013-05-0634Distribute your add-on

Strona 29

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

Strona 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

Strona 31 - 9.3 To update add-on packages

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

Strona 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

Strona 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

Strona 34 - 2013-05-0634

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

Strona 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

Strona 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

Strona 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

Strona 38 - DescriptionTag

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

Strona 39

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

Strona 40 - 2013-05-0640

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

Strona 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.

Strona 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

Strona 43 - 12.2.1 Two-direction bindings

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

Strona 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

Strona 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

Strona 46 - 2013-05-0646

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

Strona 47 - Using Advanced

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

Strona 48 - 2013-05-0648

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

Strona 49 - 2013-05-0649

2013-05-066About This Guide

Strona 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

Strona 51 - More Information

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

Strona 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

Komentarze do niniejszej Instrukcji

Brak uwag