E: How to put dynamic image?
Posted by rutger.mons on 2/10/2006 3:22:00 PM
Quote a snippet from our software Maximo,hope this helps
roger
1. With he report open in eRDPro, add an AcImageControl to the report
(a) Under the properties for this control, leave the Filename property
empty.
(b) Set EmbeddedProperty to ImageFactoryTime
(c) Click the methods tab and locate the Sub OnRow. Click Override and
insert the following code:
if row.getvalue("workorder_siteid") = "BEDFORD" then
FileName = "BEDFORDLogo.bmp"
else
Filename = "TEXASLogo.bmp"
end if
(d) Click Update and Close to close the component editor.
2. Next, you will need to add an entry to the acserverconfig.xml on the
Actuate server for the search path - this path will be the location
where the images are stored on the server. You can use either an
absolute path (c:\maximo_images) or a UNC path
(\\servername\maximo_images). If using UNC, ensure you can access the
files by going to Start | Run and typing in the UNC path.
(a) On the Actuate server, navigate to the Actuate7\Server\etc folder
(b) Open the acserverconfig.xml file with Notepad or Wordpad.
(c) Go to the Server section. It should appear as follows:
(e) Restart the Actuate Process Management Daemon Service (PMD).
-----Original Message-----
From: Topher via actuate-l [mailto:<email@removed>]
Sent: Friday, February 10, 2006 4:39 PM
To: Mons Rutger
Subject: [actuate-l] RE: How to put dynamic image?
You need to add a section to your acserverconfig.xml file under the
server tag
<ConnConfigSearchPath SettingType="List">
<Item>c:\Program Files\Actuate7\Server\images</Item>
</ConnConfigSearchPath>
then you can reference any images you have saved in the directory. Also
there is a property of the image control that should be set to
ImageViewTime
---------------Original Message---------------
>Hi.
>
>I want put the dynamic images in my report which get from theappropriate path.
>
>Example when display worknumber001, it display image 001.jpg. Whendisplay worknumber002, it display image 002.jpg.
>
>The path will be "../../images/001.jpg". The database just store the
>image name. Ex. 001.jpg
>
>May I know how to do it? I need it urgently.
>
>Thanks.
>
>
>
>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.