• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Printing a non-text media object from within a UBE

Frosty the Coder

Legendary Poster
List,

Every couple of years, someone asks me whether we can EASILY print a non-text media object attachment from a UBE.
My answer has always been "I don't think so", followed by research, followed by "No, we cannot".
The last time I did this was approx. 3 years ago, at a 90 site.

WELL, it's that time again and I STILL don't think so.
I don't recall hearing, or reading, anything that says Oracle has added this.

Would someone please confirm that we still cannot,
OR, if we can, how we would do so?

THANKS and PLEASE
 

RussellCodlin

Reputable Poster
There's a few ways that you can attack this problem. If you're using forms software like the stuff from Bottomline you can append PDF documents easily enough. Full BI Publisher can also do it although the embedded BIP with JDE doesn't handle dynamic PDF attachment.

Another approach is to use a third party utility such as PrintCue from AMS to enable media object attachment printing.
 

Frosty the Coder

Legendary Poster
Thanks.
It doesn't sound like there is a "vanilla" solution.
Darn, drat, and "rats".

Further, in this case, we need to print additional PDFs AND saved photographs.

I guess we will pursue a 3rd party solution.
(Not what management will want to hear).
 

Frosty the Coder

Legendary Poster
I was in a meeting when this arrived.
I almost [size=+2]WOOHOO'd[/size] then and there.

THANK YOU VERY MUCH!
(Happy, happy, joy, joy!)
 

RussellCodlin

Reputable Poster
Just be aware that this method is to dynamically embed an image into to a BIP template. Not to append an unknown number of attachments of varying types to an RD output.
 

nkuebelbeck

VIP Member
Are there certain file types that would NOT work? (ex png)

I ask because I tried this and it works on my desktop with BI pub desktop, but when i run the ube on the server, the image does not appear. The url getting pulled is correct. file type was my first thought, second is going to be security

EDIT:typo
 
Last edited:

nkuebelbeck

VIP Member
in our case the network folder is a windows server and the ube server is on os400. what credentials will the iseries use when accessing the network share? is there an ini somewhere?
 

craig_welton

Legendary Poster
QNTC is the mechanism to acessing the Windows share from the iSeries. The servers/shares appear in the IFS under the QNTC directory. I haven't done the security side I believe the iSeries acount running the JDE services needs a matching Windows/AD to make it all work. Hopefully someone has more on the details about that. The shares "appear" by running the command MKDIR.

Craig
 

nkuebelbeck

VIP Member
so we can't seem to get this to work. is there some special way that the as400 accesses these shares?

EDIT - we can log in with every profile known to man and mkdir and access the share from the as400 green screen

right now it's just \\server\shared\folder\file.jpg as pulled from F00165

so if i do this from my development client it works great. run it from jde as the image is blank :/
 
Last edited:
Top