Rollbase Integration Model - Integrating Flex

Posted by akila.srinivasan on 14-May-2014 03:31

Hi,

The Progress Rollbase documentation claims that Rollbase API could be integrated with components created in Flex. But could not find any online tutorials, examples or documentation on how to go about this. Any help in regards would be of great help.

Thanks in Advance,

Akila

All Replies

Posted by Laurent on 14-May-2014 09:55

I'm not aware of any official documentation on the integration between Rollbase and Flex.

Posted by akila.srinivasan on 15-May-2014 06:09

Thanks for your reply, Laurent.

Guess, one way to do that would be to embed the flex component in a html page and include that html in the page using the 'Page Editor'.

However, now I am stuck at how to include the resources (images, .swf objects) used in the html in the Rollbase application as I am using the trial version and hosted my application on the Progress cloud platform.

Any help in this regards would be much appreciated.

Thanks in advance,

Akila

Posted by Bill Wood on 15-May-2014 06:30

There seem to be two aspects to the question:

1. How to have Rolbase hosted cloud serve up your own files for inclusion.

2. How to get Flex to access Rollbase data.

For the first one, look at the documentation on "Hosted Files" -

As with most websites, in portals you often need to make use of and reference files such as images, Flash movies, JavaScript, CSS, etc. These files are typically referenced in web pages through <IMG>, <SCRIPT> and other HTML tags. Rollbase provides a convenient way to host and reference arbitrary files through a mechanism called Hosted Files.
For example, using this feature, third party and custom JavaScript and CSS libraries can be uploaded and use by your portals to create a unique user experience and look and feel. JavaScript Hosted Files can be very useful in development of both client-side and server-side scripts. You can preview these files while working in Formula editor using drop-down list "View JS Hosted Files".
 

To get Flex to access Rollbase Data, you will have to use the integration capabilities in Flex.  I believe you can have Flex call the Rollbase REST API directly, but I think it does allow you to call javascript in the contained page... if so, then I would try using this to access the Rollbase client javascript libraries.

This thread is closed