cancel
Showing results for 
Search instead for 
Did you mean: 

SDK COMPONENT DEVELOPMENT

Former Member
0 Kudos

I want to write a value to the excel spreadsheet as the value changes in my component code.

Can I do that and if yes How????????????????

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I am having problems using these SDK components in Xcelsius. After loading the SDK projects into Flex 3 builder, configuring them and building them successfully I package them using the Add-on Packager/Add-on Manager for Xcelsius but the components do not work. Once loaded in Xcelsius and visible in the component categories I still cannot drag them onto the canvas. There is no visible error message but the object just does not show. Other inherent objects still work. Also, after attempting to drag these custom components to the canvas they not only do not show in the canvas, but also do not show in the object browser.

Any and all help is appreciated.

Alex Dove

Former Member
0 Kudos

Hi Alex,

That usually means you got the class name wrong in the packager so Xcelsius can't create the class when you drag it onto the Canvas.

You need the full package name and class name for your class.

For example:

Your source file is called

MySample.as

or

MySample.mxml

The file is stored in the Flex src folder under:

com/mycompany/myproject/mysample

Then the full class name would be:

com.mycompany.myproject.mysample.MySample

Regards

Matt

Former Member
0 Kudos

Matt,

This was very helpful and the details of your message were fantastic!

When I applied your suggestions to the SDK examples they worked well, however, when I created a custom Flex app it broke.

For example:

1. Create a new project

2. Create a new class namespace com.anl.barchart.HzBarChart

3. Drag a basic Horizontal Bar Chart onto the canvas of Flex

4. Save the file

5. Build the file successfully

6. Open Add-on Packager

7. Type the class namespace com.anl.barchart.HzBarChart

8. Type a display name

9. Enter the project .swf file location

10. Locate the PropertyInspector.swf file

11. Build the file

12. Bring into Xcelsius Add-on Manager

13. Breaks when I drag onto the canvas.

14. I receive the same problem I had before. Although there is no data for the cart to calculate it should create the shell.

What am I doing wrong now?

Alex

Former Member
0 Kudos

Yes you can but not at deisgn time.

Look at the Horizontal Slider source code samples that are part of the Xclesius 2008 Component SDK, one of those reads and writes a value than you can bind to the spreadsheet.

You can download and install the SDK from here: []

By default when you install the SDK the samples (etc) get installed to C:Program FilesBusiness ObjectsXcelsiusSDK

Regards,

Matt