Link to home
Start Free TrialLog in
Avatar of Joe
JoeFlag for United States of America

asked on

Adding a dynamic image to an Actuate report

Has anybody ever accomplished this? Could somebody please guide me on the right direction from either past experience or any links etc..

Thanks,

Joe
Avatar of Joe
Joe
Flag of United States of America image

ASKER

I have found the answer.

http://businessintelligence.ittoolbox.com/groups/technical-functional/actuate-l/how-to-put-dynamic-image-924534#

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:

<Servers>
        <Server
          Name="end00591"
          PMDPort="9100"
          OSVersion="Solaris 8"
          ActuateBuild="60F040316"
          LogDirectory="D:\Actuate6\Server/log"
          PMDIPAddress="end00591"
          ActuateVersion="6 Service Pack 1"
          ServerIPAddress="end00591"
          RequesterRSAPIVolume="end00591">
         <ReportingService
           .....

(d) Prior to the ReportingService entry, add the following (replacing
the path in the Item tag with your path to the images):

   <ConnConfigSearchPath

SettingType="List">
<Item>\\myserver\maximo_images</Item>
  </ConnConfigSearchPath>

The end result should appear as follows:

    <Servers>
        <Server
          Name="end00591"
          PMDPort="9100"
          OSVersion="Solaris 8"
          ActuateBuild="60F040316"
          LogDirectory="D:\Actuate6\Server/log"
          PMDIPAddress="end00591"
          ActuateVersion="6 Service Pack 1"
          ServerIPAddress="end00591"
          RequesterRSAPIVolume="end00591">
           <ConnConfigSearchPath
   SettingType="List">
   <Item>\\myserver\maximo_images</Item>
     </ConnConfigSearchPath>
         <ReportingService

  (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?

# U.S. urged to remain tech leader
# Read News: http://bi.ITtoolbox.com/r/hdr.asp?r=155970

# View Group Archive: http://bi.ITtoolbox.com/hrd.asp?i=777

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.
>
>
>
>


Please close this question. I do not want to delete it so other users trying to figure this our will be able to Find it.

Thanks,

Joe
ASKER CERTIFIED SOLUTION
Avatar of BooMod
BooMod
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Joe

ASKER

Thanks