Chapter 01
Import and set up
Three steps bring the engine into your application: import the zip, enable it as a component, then add the three data types that hold your document set-up.
Pega 24 – 26
Words you will meet
- Import wizard
- Enabled components
- Data types
Phase 1 · Step 1
Import the component.
The engine arrives as a zip file, DCE_010101.zip in this guide. Download it from the Pega Marketplace , then import it. Use Dev Studio for this, not App Studio.
- Open Dev Studio (not App Studio).
- Go to
Import/Export → Import. - Choose
Local fileand uploadDCE_010101.zip. - Click through the wizard, accepting all defaults.
- Confirm there are no errors in the import log.
Phase 1 · Step 2
Add it to your application.
Importing puts the rules on the server. Enabling the component is what makes your application use them.
- In Dev Studio:
Application → Definition. - Scroll to
Enabled componentsand click+ Add component. - Search for
DocumentContentEngineand select the latest version. - Save.
Phase 1 · Step 3
Add the three data types.
These data types power the configuration tables you will fill in later in the guide. Add all three to your application.
| Data type to add | Class name |
|---|---|
| Document Content Type | DCE-Data-Content-Type |
| Document Content Section | DCE-Data-Content-Section |
| Document Content Paragraph | DCE-Data-Content-Paragraph |
- In App Studio:
Data → + Add data type → Existing Data Type. - Add each of the three types above, one at a time.
Your turn
Questions and comments
Stuck on something, or have a thought? Write it here. To talk about one part, use the Comment button under that section's heading.