Add support to the letterhead facility for a logo URL

Description

The letterhead record currently contains the name of the logo file. It is typically used by jaspersoft document templates that need to insert a location-dependent logo into a document.

However, if one is creating a email template, then what is needed is the URL needed to access the logo rather than the name of the file containing it.

Inserting the node logoFileHTML after the existing logoFile node provides the facility, ie

<node name="companyID" displayName="Company Tax ID" type="java.lang.String"
path="/details/companyID"/>
<node name="logoFile" displayName="Logo File" path="/details/logoFile"
type="java.lang.String" minCardinality="1" maxLength="240"/>
<node name="logoFileHTML" displayName="HTML Logo URL" path="/details/logoFileHTML"
type="java.lang.String" maxLength="240"/>
<node name="contacts" displayName="Contacts Source" path="/entityLinks"
type="java.util.HashSet" baseName="EntityLink" minCardinality="0" maxCardinality="1"
filter="entityLink.letterheadContacts"/>

Note that the new node is intentionally not mandatory.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Gething

Labels

None

Components

Fix versions

Affects versions

Priority

Trivial
Configure