Case documents tags
Customize your case documents by configuring the tags that you include in your case document templates. For example, if your case includes financial information, you can include tags for the currency.
Type | When to customize | Configuration parameters | Example |
Date and time | "name":".PropertyName","type":"P" | Design time: <pegaref config={"name":".DateTimeOfReport","format":"MM/dd/yyyy hh:mm:ss a","type":"P",setTZ="true"}> | |
Display date only | "format":"MM/dd/yyyy" | ||
Display date and time, not 24h format | format:"MM/dd/yyyy HH:mm:ss a" | ||
Display date and time, 24h format | format:"MM/dd/yyyy HH:mm:ss" | ||
Display timezone | setTZ:"true" | ||
Do not display timezone | setTZ:"false" | ||
Date only | "name":".PropertyName","type":"P","format":"MM/dd/yyyy" | Design time: <pegaref config={"name":".DateOfReport","format":"MM/dd/yyyy","type":"P"}> Run time: 09/19/2019 | |
Time only | "name":".PropertyName","type":"P" | Design time: <pegaref config={"name":".TimeOfReport","format":"hh:mm a","type":"P","setTZ":"false"}> | |
Not 24h format | "format":"hh:mm a" | ||
24h format | "format":"HH:mm" | ||
Display timezone | setTZ:"true" | ||
Do not display timezone | setTZ:"false" | ||
Integer, decimal, double | "name":".PropertyName","type":"P" | Design time: <pegaref config={"name":".TotalCost","scale":"2","type":"P","doGroupBy":"true","groupBySize":"3","isCurrency":"true","currency":"$_val (USD)"}> | |
Display decimal places | "scale":"Any number between 0 and 10" | ||
Group digits | "doGroupBy":"true","groupBySize":"Any number between 2 and 5" | ||
Use symbol for currency | "isCurrency":"true","currency":"Symbol_val" | ||
Use code for currency | "isCurrency":"true","currency":"_val (Code)" | ||
Use symbol and code for currency | "isCurrency":"true","currency":"Symbol_val (Code)" | ||
Boolean | "name":".PropertyName","type":"P","tValue":"ValueForTrue","fValue":"ValueForFalse" | Design time: <pegaref config={"name":".PropertyName","type":"P","tValue":"Yes","fValue":"No"}> Run time: Yes | |
Attachment | "name":".AttachmentFieldProp.pxResults(1).pyAttachmentLink","type":"A" | Design time: <pegaref config={"name":".AttachmentFieldProp.pxResults(1).pyAttachmentLink","type":"A","showLabel":"true","attachLabel":".XYZ","width":"20","height":"30"}> Run time: The application displays image attachments, and embeds files in a .docx format as inline attachments. Otherwise, the application adds attachments as objects by suing object linking and embedding (OLE). | |
Text | "name":".PropertyName","type":"P" | ||
Text area | "format":"TA" | ||
Rich text editor | "format":"RTE" | ||
Properties inside page list | "name":".PageList().PropertyName" | Design time: <pegaref config={"mode":"pagelist","name":".PageList().PropertyName","type":"P"}> Run time: Row 1: Value1, Row 2: Value2. | |
Properties inside page | "name":".Page.PropertyName" | Design time: <pegaref config={"name":".Page.PropertyName","type":"P"}> Run time: PropertyValue | |
Section | "name":"SectionName","type":"S" | Design time: <pegaref config={"name":"SectionName","type":"S"}> Run time: Section name | |
Correspondence | "name":"CorrespondenceName","type":"C" | Design time: <pegaref config={"name":"CorrespondenceName","type":"C"}> Run time: Correspondence content |
Previous topic Generating case documents Next topic Case documents specifications