Create a new empty Data Model (File > New > Data Model >
Provide a name and click Next > Use an empty model as a starting point).
In the Properties view, select the Generate LC Component
and Deploy to LCDS options in LiveCycle tab
Ensure that new tables are created in the database by setting
the Database Tables option to either UPDATE or RECREATE
In the Properties view, switch to the General tab and enter
an appropriate JDBC Datasource name (e.g. enter “java:IDP_DS” to
create new tables in LiveCycle’s system database) and optionally
select an appropriate Hibernate SQL Dialect (e.g. select “org.hibernate.dialect.MySQL5Dialect”
when using Document Service Turnkey’s MySQL database).
Add new entities to the Data Model and ensure that you select
the Generate Service option in the LiveCycle tab in the Properties
view for all entities.
Save and deploy the Data Model.
In the Applications view, open the process where you wish
to access the database.
Select the Activity Picker and drag it on to a desired swimlane
in your process map.
Define the activity with one of the new service operations
generated for your data model.
In the Process Properties view, provide Input and Output
parameters for the activity.
Connect the new activity box with other activities within
the process.
|
|
|