|Re: HowTo - Scripting - Dinamically get Images... [message #656460 is a reply to message #656449]
||Fri, 25 February 2011 13:24
| Jason Weathersby
Registered: July 2009
Use one of these methods:|
On 2/25/2011 12:39 PM, Bruno Mattos wrote:
> I managed to solve my problem.
> Using the solution suggested earlier - var myURL
> reportContext.getResource = ("green.png") - can get on the path to the
> project where my report is located, I just need to know the name of a
> file that is in the project.
> For example, I can do:
> var myurl reportContext.getResource = ("whatever.whatever");
> (assuming there's a file named whatever.whatever in the project folder)
> And then I just need to remove the end of the string, so i get the
> address to the the project folder.
> I can also point to the report itself, since I know the report's name.
> is running in a Image's field?
> Thank you for your help.
Powered by FUDForum
. Page generated in 0.12446 seconds