Sunday, December 8, 2013

Best Practice for Adobe LiveCycle forms Design-2

Adobe LiveCycle Forms Development :
1) Create the form is right size.(A4,letter etc)

2) Select the right option to create form which helps to reduce your developing effort.(From existing form, from Doc etc)

3) Use the Fragment library to store and reuse the fragments.

4) Carefully select the type of form(XDP,PDF etc)

5) Create script library to store the common Script components.

6) Create separate Script objects for different type of functions. 
    eg: Common functions like date format will be saved in utility script object. 
         Functions related business validation stored in separate script objects.
7) Declare global variable in main form. 
      This helps to calculate values in one fragment and used in another fragment or in main form itself.  
      Please be careful about the location you are initializing the variable. 
      eg: If you are initializing in "Calculate" event and try to access in "Initialize" event. you may not get the                  expected value.

8) Select the right components from the Component library. eg: date field for date values.

9) Identify the common components and create fragments and use scripts to adjust the extra unwanted fields.

10) Create only fragments for main forms which share common business function. eg: If you have a main forms for 2 different department better don't share components between the main forms. It will save lot of testing effort.

11) Identify the configurable and reusable components and store in database.
      eg: Logo ,signatures, versions, form name etc... so that you can change it any time with out any changes              in form.



No comments:

Post a Comment