Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Tririga - Image path on a Linux server ?
smorrison
A little background ... I'm new to BIRT because we were using Crystal until IBM bought out Tririga. One of the issues we had with Crystal is that our database stores images we link to records in our database on one of the applications servers. Our database and application run on Linux servers but the Crystal server runs on a Windows server. The only way we could figure how to get our images into a report was to copy them to a Windows server and put in a partial 'Windows' path in the report for that image element.
I'm hoping that since we're going to be forced to use BIRT, that it might let us use images in our reports without having to copy them to a Windows server. (BTW, theses images are aerial photos which are updated each year) I haven't been able to figure it out yet, I'm not a programmer and don't know how to write code. I have the image field in a test report and have read that I could prefix it with a partial path to the images. The full path to the images is this . //n006d6650-1//usr/local/tririga9/userfiles/Company-1
I've tried these variations but nothing is showing up in the preview so far.
"//n006d6650-1//usr/local/tririga9/userfiles/Company-1"+row["IMAGE"]
"//n006d6650-1/usr/local/tririga9/userfiles/"+row["IMAGE"]
"//n006d6650-1/usr/local/tririga9/"+row["IMAGE"]
Is BIRT capable of doing this ? If so can someone point me to documentation that explains how to do this so that i can understand it ?
Thank you in advance for any help you can offer.
Find more posts tagged with
Comments
mwilliams
I don't have a linux machine to test on. Are you using the URI option? Have you tried doing "file:///imagePath"?
smorrison
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="108723" data-time="1345598216" data-date="21 August 2012 - 06:16 PM"><p>
I don't have a linux machine to test on. Are you using the URI option? Have you tried doing "file:///imagePath"?<br /></p></blockquote>
<br />
I had it on 'Dynamic' because what I read on 'URI' referred to http addresses and Windows file paths.<br />
In an attempt to duplicate what we used on our Crystal reports, I just tried the URI option and used the same path to the Windows share we copied our images too. ("\\cmdata2\Tririga")<br />
<br />
I tried all of these without success.<br />
"file:///CMDATA2\Tririga"+row[IMAGE]<br />
"file://///CMDATA2\Tririga"+row[IMAGE]<br />
"file:///\\CMDATA2\Tririga"+row[IMAGE]<br />
<br />
I tried variations of the location on our linux server and those didn't work either. Not sure if I need to tell it a username and password to use in order to access the linux server? Not sure where I'd go to specify that anyway. The only thing I've found so far that references a SSH connection is a CVS server. I don't think it applies to a Linux server.
mwilliams
Is BIRT on the Windows Machine or the Linux machine? Are you deploying BIRT to an app server or are you just running them locally?