Author Archive: Scott Brodersen

ADEP: Flex tile is blank? Use the supported Flex SDK version

I recently had the opportunity to help troubleshoot a Composite Application Framework issue. A member of our community worked through the Create a composite application module of the Create Your First ADEP Experience Server Application tutorial.

Problem: The Flex tile did not populate (it was blank), although the HTML tile appeared fine.

Solution: Use Flex SDK 4.5. Do not use version 4.5.1

Note: This problem/solution applies to ADEP 10.0.0.0. I don’t know what version of the SDK that future ADEP/CAF releases will support out-of-the-box.

If you used Flex SDK 4.5.1 by mistake, here is how to configure the project and tile to use Flex SDK  4.5.0:

  1. In Flash Builder, right-click the Flex project for ADEP and click Properties.
  2. In the properties tree, select Flex Compiler.
  3. At the top of the Flex Compiler panel, set the SDK version to Flex 4.5.
  4. Click OK and when the scary message about overwriting the html-template pops up, click OK.
  5. Open the catalog file (.cxml).
  6. Locate the tile:TileClass element for your tile and in the tile:Content child element, change the value of the flexSDKVersion attribute to 4.5.0.
    <tile:TileClass fitContent="true" height="300" label="WatchedFunds" name="WatchedFunds" width="600">
          <ct:Metadata>
               <ct:Description/>
          </ct:Metadata>
          <tile:Content contentType="application/x-shockwave-flash" flexSDKVersion="4.5.0" loadAs="module" uri="${catalogURL}/tiles/WatchedFunds/WatchedFunds.swf"/>
    </tile:TileClass>
  7. Save the file.

Scott (Brodersen)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

Use logging with your Composite Application Framework app

Adobe forums served up some nice information about logging runtime messages for your Composite Application Framework (aka Mosaic) apps. The Client Component Framework (codename: Gravity) provides the logging libraries….Composite Application Framework runs on Client Component Framework….here’s how to get those logger juices flowing:

<quote>

Yes, Gravity logging APIs can be used in Mosaic as-is. To view the log output:

1.       Open CRXDE lite in a browser and log in
2.       Navigate to /libs/mosaic/components/index/index.jsp
3.       Locate the line in the file that initializes the flashvars variable. In 10.0 this should be on line 65
4.       After that line, add a new line:

flashvars.mdebug = true;

5.       Click the “Save All” button to save the changes

Then, when a new application is launched, a debug window will appear with a “Log Viewer” tab. Note that the debug window will appear in the upper left corner of the browser in a layer that will be behind html or pdf content, so if your application’s layout has html or pdf content in the upper left region you may not be able to see the debug window.

</quote>

What was the OP’s result you may ask?

“That debug window certainly is useful. It has much more useful information than I was expecting. The DOM Viewer is especially nice. It is good to be able to confirm which libraries get loaded.”

 

This is the forum post:  http://forums.adobe.com/message/3973532#3973532

Here are the Composite Application Framework docs: http://help.adobe.com/en_US/enterpriseplatform/10.0/AEPDeveloperGuide/WS6e4bbd81fea965ef18585f3012fda7a1d5e-8000.html

Here are the Client Component Framework docs: http://help.adobe.com/en_US/enterpriseplatform/10.0/AEPDeveloperGuide/WS3ad6fd7a5b41dea4-28996cf812f6f54ab88-8000.html

Client Component Framework ActionScript reference: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html?filter_livecyclees=10.0&filter_flashplayer=10.2&filter_air=2.6#top — see the com.adobe.gravity.* packages.

Scott

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

ADEP Data Services quick starts and bundling articles

Here are some great new blog posts from our good friends in the Adobe Support group:

How to Create a Data Services application for the Experience Server that returns data – Sound familiar? This is a remix of this walkthrough in the ADEP help. Lin’s version is friendlier to CRX and Maven novices.

How to create class/jar files for data service project without using maven – Not ravin’ about Maven? This is for  you!

ADEP Data Services Complete Quick Start – Boils down much of the product help content to include only procedures. If you just want to do, and knowing why is not the immediate priority, this is perfect for you.

Scott (Brodersen)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

ADEP developers: new Client Component Framework help content!

Let your journey to the land of really, really cool modular Flex applications begin:

  • Develop large applications comprised of  loosely-coupled modules
  • Define service APIs  using interfaces, deployed separately from the implementation
  • Consume  services without a priori knowledge of the implementation
  • Use multiple (potentially conflicting) versions of the same classes in the same application

While Client Component Framework has been out there as part of  ADEP Experience Services, the help content has been brewing and is now live. Prepare yourselves for some heavy doses of dependency injection! Here’s where you can go to get the party started:

And here’s some information that is already out there:

Scott

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

LiveCycle Data Services ES2 Tutorial

The new Create a LiveCycle Data Services ES2 Application tutorial steps you through the development of a FlashBuilder application that uses Data Services ES2 and a back-end database to manage run-time data. Based on the Data Services Engineering Support Center Application sample, the tutorial focuses on the key features and development concepts that are critical for effectively developing Data Services ES2 applications:

  • Setting up your development environment.
  • Creating a data model that generates services for managing run-time data.
  • Developing the client application using FlashBuilder:
    • Extending the client-side service wrapper classes
    • Binding mxml data components to service operations to display data
    • Creating filters that perform custom database queries
    • Customize and generate model-driven forms for interacting with data
  • Customizing server behavior:
    • Integrating Spring Security
    • Customizing the Java assembler classes
    • Overriding CRUD methods
  • Deploying the application:
    • Configuring Tomcat and the database
    • Building the application using Ant
    • Deploying the application to Tomcat

The Create a Data Services Application tutorial is designed with both beginner and intermediate Data Services developers in mind. The tutorial is organized in modules that together describe the end-to-end application development process, but also stand completely independent of each other:

  • Beginners can complete each module of the tutorial to learn the end-to-end process for creating a Data Services application.
  • Intermediate users can pick and choose which modules they want to complete. Each module focuses on a different stage of application development.

The tutorial is provided in both HTML and PDF. You can use the HTML pages to leave comments about your experience using the tutorial. We are always anxious to receive your feedback.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

Generate Model Classes Using Ant

You can use Ant to generate ActionScript and Java classes from your FlashBuilder and LiveCycle Workbench ES2 models. All you need is a model (.fml) file (obviously), Ant (obviously), some jar files in your classpath (provided with LiveCycle Data Services ES2 and LiveCycle Workbench ES2), and the documentation for the Ant commands.

What documentation, you ask? You won’t find it in the core Data Services ES2 documentation, but Matt Butler put together a tidy reference in his blog. He explains how to extract the required libraries as well.

(Thanks Matt)

Product documentation is here.

Have fun generating those oh-so-useful service classes in your builds!

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

More Information: Permissions properties of Create Policy From Existing Policy operations

To use the Create Policy From Existing Policy operation (Rights Management service), you have to configure its’ Permissions properties. A user left a comment on the LiveCycle Workbench ES2 help to let us know that the information we provided for those properties was not very helpful. (Thanks again Rob.) Keep reading for a more robust treatment of the topic….

Continue reading…

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

One-stop shopping for LiveCycle ES2 service information

We recently published a cool Flash-based tool that centralizes information about LiveCycle ES2 services. For each service, the LiveCycle ES2 Service Information Catalogue provides links to different types of information:

  • Overview content
  • Reference information
  • Task-based information for using LiveCycle ES2 tools
  • Popular blogs
  • Adobe forums

Services are organized in categories. Simply click through the hierarchy to find a service and then select the information you need.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

New LiveCycle ES2 Application Development Workflow

We recently published a useful tool that illustrates the LiveCycle ES2 application development process. The Application Development Workflow guides you through these phases of producing a LiveCycle ES2 solution:

  1. Plan
  2. Install
  3. Develop
  4. Deploy
  5. Maintain

Each phase includes a flowchart that provides links to information about how to accomplish the related tasks. This tool will shorten the time it takes you to learn the product, and to develop your solution.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

LiveCycle ES2 Released!

Read the press release.

We’re excited about LiveCycle ES2. We really are. The new features and improvements to existing features make the product a joy to use. Remember using LiveCycle ES to make a form appear in Workspace ES? LiveCycle ES2 makes it easy:

  • One variable type for all form-generated data.
  • Default render and submit services are automatically configured.
  • Prepare Data services can be created to prepopulate forms.
  • New Form wizard adds all the required fields and configures submit buttons.
  • Access to tasks using mobile devices.

I’m not exaggerating – I feel joy when I use LiveCycle ES2. Here are my favorite reasons:

  • Applications provide a framework for developing and packaging solutions.
  • You can create DDX files visually using Workbench ES2.
  • Guides (the next implementation of Form Guides) have their own perspective in Workbench ES2
  • Health Monitor enables you to ensure the LiveCycle ES2 server is running correctly, and helps troubleshoot problems.
  • Wizards. Lots of wizards in Workbench ES2 make creating new assets easier and faster.
  • Application modeling technology enables you to create a common data structure that integrates Flex applications, Guides, forms, and processes.
  • You can easily assign tasks to multiple users simultaneously – useful for reviewing documents by committee.

I’ll stop there on advice from my editor (who doesn’t like long lists) but believe me I could go on. You can read the What’s New guide for more information.

To see all the great new product content that we’ve produced so far, see the Documentation tab on the LiveCycle Development Center. As usual, you can comment on the HTML pages of the product documentation.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)