Insert Image in F00165 (Media Objects File)

sam123

Active Member
HI Friends,

I am back with a different question this time. I need to upload image files to F00165 programatically (not manual attaching). I am not able to figure out hot to populate the BLOB field (GTFILENM.F00165).
I did some research and came across few API,s like jde_GTAddorUpdateImage which I initially thought would do the job. But it seems that i need to pass the generic text(GTFILENM) into its data structure which kills the purpose of my requirement.
I m sure this topic been discussed in this forum for many times but because of my horrible search skills I could not find the solution.
Can someone share their similar experience on this.
Much Thanks in advance!!

We are on E 8.12, Tools 8.96, DB2/400
 
Do you really 'need' to?

You can also put a path to an image in F00165. Copy the image to the server and write a F00165 record with the path to it.
 
Thanks Darren! Like you said I did'nt have do much other than a simple insert to F00165 with the image path and it worked.

Much Thanks for the reply.
 
Back
Top