Adobe LiveCycle Forms Interview Question:
Few interesting Interview Questions for those who are preparing for interviews and certifications:
Add your comment if you have difficulty in finding answers for any of these questions...
You can find Answer for questions in my upcoming posts....
How PDF differ from XDP?
XDP or XML document package is a format created suing XFA technoogy that contain multiple components (like the data, the completed PDF, comments and the template itself) in different nodes. This format is generally used by the LiveCycle Server.
This XDP definition is used to convert the template into a PDF. Designer, Acrobat, Reader and LiveCycle Forms on the server have the ability to interpret these XDP templates and create PDFs out of them. In the case of Acrobat amd Reader the XDP must be wrapped in a PDF 1st. They will not understand the native XDP file extension....they will assume that it is a data file.
An XDP can package a PDF file, along with XML form and template data.[7] XDP provides a mechanism for packaging form components within a surrounding XML container.
XDP has the template definition ie, the XML that describes how to make the form.
PDF has a PDF rendering as well the XML template.This is why the PDF is much larger than the XDP.
use the XDP if you were going to be using LiveCycle Forms as part of your process for rendering the PDF ,you wanted to prepopulate it with data.
If you are not using LC forms then PDF will be generated at the server side. It can be of any means using 3rd party tools or java API etc.
Reference :
- https://forums.adobe.com/thread/476119
- http://en.wikipedia.org/wiki/XFA
- https://groups.google.com/forum/#!topic/livecycle/LO3DVJ8JCU8
What is a fragment and purpose of using fragment?
In Adobe Livecycle forms we might have repeating or common block of fields. These field or group of fields can be reused across other forms by creating a reusable component called fragment. The purpose of fragment is to save time and effort by allowing forms to reuse the existing block of fields from Fragment Library.
Reference and for more details:
- http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000289.html
How are fragments created?
steps :
- select an existing sub form or select one or more objects. (Sub forms also include tables, table rows, header rows, and footer rows.
- If you select objects that are not in a sub form, the objects are wrapped in a sub form when the fragment is created.
- Right click and Select Fragment > Create Fragment
- Name the fragment
- Save the fragment at the fragment Library.
Reference and for more details:
- http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000289.html
How fragment is imported to main forms?
- Open main form.
- Right click on the form where you need to import the fragment.
- Click on Fragment >Insert Fragment.
How will you pass a value to the Fragment from the main
form?
- Create a global variable in the main form.
- Initialize it
- Use or update value in the fragment
How will you manage different version of forms in ALC?
- Adobe Livecycle itself have its own version management.
- Create a new Application version for every major changes in the forms and fragment.This will results in deployment.
- Main forms or fragments will create a new version every time we have a check in after any updates on them. The version history will be available.
- 3rd party tools like SVn can be used version management of LCA files.
Note: In your LCA file if you have multiple forms used in multiple projects in different development state. You can separate the fragment by a standard naming conventions.
How the forms are connected to data?
Reference
http://help.adobe .com/en_US/livecycle/9.0/designerHelp/index.htm?content=000546.html
What are script objects ?
Script objects are used for holding common scripts which we can used across multiple places in forms. Scripting in forms help us to implement simple calculations.
How script objects are created?
Please refer :
http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm?content=000819.html
Purpose of a master page?
Master page is generally used to set the Page orientation, Setting the page properties like margins, footer, header etc.
Purpose of Content Area?
How to create a growing text field?
How forms are connected to Schema?
How forms are connected to data XML?
How Global variables are declared and used in Adobe LC
forms?
What is the difference between object.presence =”Hidden” and
object.presence =”Invisible”?
object.presence =”Hidden” hides the layout and in the flow layout other components will acquire the space of the hidden component.
object.presence =”Invisible” hides the components only leaving a white space behind. Even in flow layout , other component cannot able to acquire its place.
Is it possible to connect to an XML node which we don’t have
a corresponding node in schema?
Or How will you get the data from an XML node for which we haven’t
define in XSLT?
How to get 2 different headers/footers on consecutive pages
and the header on the second page should continue to rest of the pages?
How to generate a form with first page in portrait and
second in Landscape?
Part 2
How to set the margins?
How to set the default Page Size?
How to create a Repeating table?
How to create a repeating row in a table?
How to create a dynamic header /footer?
What are the layouts available for a sub form?
How to decide to go for a new fragment or use same fragment with scripts?
Is it possible to digitally sign a pdf doc and if yes How?
How can we edit a password protected form with out password?
It is not possible to edit a password protected
How to lock the form fields after form design is finalized?
Difference between addInstance and setInstance?
Part 3: Advanced Adobe Livecycle Interview questions:
Is Adobe LC Process thread safe or not?
Difference between short live and long lived process?
When short lived process used and when to use the Long living process?
How will take back up of Adobe LC server?
What are the types of variable available in process management?
What are the advantages of using variable with Configurable variable?
The main advantage of using a configurable variable is that it can be changed at any point of time through administration console. This will not result in a deployment.
How is version management handled in Adobe LC?
Adobe LC have it own version management system. Every time you have new changes you can create a new application version. You can check out any version of file as ALC keeps history of all files checked in earlier.
You can roll back to any version in the history.
What is the difference between save and check in?
When you check in a file changes are saved to Adobe Livecycle repository.
When you save a file , you latest changes are saved to you local files system.
How to get the latest file from the server ?
If you are using Adobe LC work bench for the first time after installation you can use get Application function which will help you to get the latest version from the Adobe LC server.
If you are already having old version of an application. Right click on the application and select Synchronize.
This will help you to get the latest files.
Note: If you have updated file make sure that you have checked in the updated files from your local system.
Different ways of invoking Adobe LC services?
what are interactive forms?
PDF in which user can able to enter data, interact with the user based on users action such as validation on exit, Growing fields based on data keyed in by user.
what is a portfolio? How is it different from others?
You can assemble a PDF Portfolio using the Assembler Java and web service API. A portfolio can combine several documents of various types, including word file, image files (for example, a jpeg file), and PDF documents. The layout of the portfolio can be set to different styles like the Grid with Preview, the On an Image layout or even Revolve.
How to debug a Process?
Adobe Livecycle workbench provide record and Play function which can be used for debugging the process. Recording will capture the workflow and values used and stored in the variables.
By playing the records we can able to debug the process.
what are the best practices one should follow while process management designing?
Is it possible to Save data in a PDF? If Yes How?
Yes it is possible to save data in the PDF. The PDF need to be reader extended.
It can be done either by using Acrobat Professional or by Adobe LiveCycle Reader Extension services.
What is a flattened PDF and how can we change an interactive PDF to a Flat PDF?
An interactive PDF changed to non interactive PDF can be termed as flattened PDF.
An interactive PDF can be converted to flattened pdf either by using a JavaScript or by using Adobe LiveCycle services.
How will you create custom components in Adobe LC process management?
What happens when same XML node is bound to Two fields in same table?
First field can simply bind to the xml node . In order to connect second field to the same XML node in same form we have to use scripting.
What happens if two fields in the same form are bound to same XML Node?
The first field will work normally as expected. The second will fail to populate data.
Binding or scripting which one is fast way to get data?
Binding is faster compared to Scripting to get data.
How to make forms having multiple pages based on the amount of data?
We can stitch forms in two ways one In forms side and in Process side? How is it? And when ?
There are 2 ways to stitch forms.
1) By Forms
Include all the needed forms in template design and hide it. Make it visible only when required based on the business logic. Here we refer to the data (in a field) based on that data we will display the required pages and the remaining unwanted pages remain hidden.
2) By Process
In process we can use an Assembler service to create a portfolio by stitching in different PDF to one Single PDF file.
What are the 2 different scripting language used in LC forms?
FormCalc and JavaScript.
Advantage :
Formcalc: Have many inbuilt functions like exist(). Very handy while coding.
JavaScript: Lot of support and code available over internet.
What are layouts and what are the different types of layout in Adobe Livecycle forms?
Layouts are the order in which the components in a forms are arranged.
In Adobe Livecycle we have "Flow" layout and "Position" layout.
What are difference between Flow Layout and Position layout?
In Flow Layout the components will get aligned in either Left to Right or from Top to Bottom.
User can choose the order in which the components get aligned.
Components will maintain its order of alignment by readjusting itself when components starts growing.
In Position Layout the Components are aligned at its original position.
Is there a change in fragment affect all Forms using the Fragment?
A change in fragment will reflect on all the forms which is using the fragments.