Chapter 05
Wire it up
The tables describe the letter. One activity builds it, and one button runs that activity at the right moment.
Pega 24 – 26
Words you will meet
- Activity
- GenerateDocumentContent
- Button
Phase 5 · Step 12
The activity.
- Dev Studio →
Create → Process → Activity. - Name it
LoadDocumentContentand save it to your work class. - Add a parameter:
DocumentID(String, In). - Add a single step, shown below.
Step 1: Call GenerateDocumentContent In: DocumentID -> Param.DocumentID Out: Document -> .LetterHTMLYour 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.