Referencing your Flex library project in Workbench
       
       
       
       
       
       
       
       
        
         After you build your Flex library project in Flash Builder,
reference the compiled SWC file in the Guide Design perspective
of Workbench. This reference makes your panel layout extension available.
        
        
         
          
         
         
          Reference your Flex library project in Workbench
         
         
          - 
           
            Start Workbench.
           
           
          - 
           
            Add your Flex library project to a LiveCycle ES2.5 application.
           
           
          - 
           
            Switch to the Guide Design perspective, and open a Guide
into which you want to incorporate the custom Guide layout.
           
           
          - 
           
            In the
            
             Guide Tree
            
            view, select the root node.
           
           
          - 
           
            In the
            
             Guide Properties
            
            view, in the
            
             Guide extensions
            
            option,
click
            
            .
           
           
          - 
           
            Go to the SWC file for your Flex library project, and then
click
            
             OK
            
            .
           
           
         
         
          Your Guide extensions are now available
in the
          
           Panel layout
          
          option in the
          
           Guide Properties
          
          view.
Click
          
           Preview
          
          to render the Guide.
         
         
          
           Important:
          
          If
you edit the Flex library project after you add the project to a
LiveCycle ES2.5 application, remove the reference to the project.
The reference is located in the
          
           Guide extensions
          
          option (
          
           Guide Properties
          
          
           view). After you remove the reference, to make the changes available, add the reference again.