|
|
||||||||
|
|
|
|
|
|
|
|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Journeyman |
Hi mates,
I've built a report which works well but I want to improve one part. The report's behavior is Projects. In our workflow, a report is printed for each project. Each project refers to one different picture. So which source should I choose to be able to print each time a different picture located on the hard disk? Here are the sourcesn I can choose in the Report part: - Static - Path from key - Absolute path - Image from key - Named - Mapped Name It is not a problem for me to name manually or with a script the picture I want to see in the report. So the way to the picture will be always the same and the name of the picture too. Does anyone have a solution? I hope my request is clear enough... Sorry I'm not a native speaker... Don't hesitate to ask questions! Best regards from the coldy Switzerland. |
||
|
|
Marketcircle Team |
You can do this by using a 'pre-extraction' script in the Image element.
In the pre-extraction script do something like this: "this gets first parent report data object that has an attributed called name" "the name of a project is identified by the name attribute" project_name := element valueForKeyPath:'name'. the_full_path_to_the_image := <build the full path based on the name from the object - see f-script guide>. element setTypeCode:3. element setImageSourceKey: the_full_path_to_the_image. The type code is important as it identifies that the image source key is a full path and not something else. NOTE: these are private calls and while we will most likely not change these, we reserve the right to in the future. |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

