Article Details
Id: | 19647 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 4.00.00 |
Opened: | 03/10/2022 |
Closed: | 04/10/2022 |
Released: | 21/12/2022 |
Job: | J029769 |
Summary Page (version 2); DocumentManagerImage template; Updated to allow "itemId" and "itemType" parameters
Previously, the DocumentManagerImage Summary Page (version 2) HTML Template, accepted the following parameters:
- FileName (this had to be the relative Document Manager path, e.g., Client/C10000/MyImage.png)
- Width
- MaxWidth
The drawback was that you needed to specify the relative Document Manager path, e.g., "Client/C10000" whereas templates such as DocumentManagerFile allowed you to specify an Item Type and Item Id and would form this path for you.
Therefore, the DocumentManagerImage can now accept the following parameters:
- ItemType, e.g., "Client"
- ItemId, e.g., "C10000"
For example:
{{DocumentManagerImage fileName="Test.jpg" itemType="Client" itemId="C10000"}}