Embedd a DOC or PDF in Design Studio

 7 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Chris12
Veteran Member
Posts: 150
Veteran Member
New Poster
New Poster
Congrats on posting!
Does anyone know of a way which I can embedd a PDF of Word doc in the UI Designer so users can read it ...
I really do not want to type all that information into a textarea ...

Any help is appreciated.

Chris
Ragu Raghavan
Veteran Member
Posts: 477
Veteran Member
New Poster
New Poster
Congrats on posting!
Engaged Poster
Engaged Poster
Wow, you're on a roll!
Avid Poster
Avid Poster
Seriously, you're a posting maniac!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
At one site, we painted buttons on the custom forms and linked them to documents on the servers. When users clicked the buttons the documents displayed.
Chris12
Veteran Member
Posts: 150
Veteran Member
New Poster
New Poster
Congrats on posting!
Good idea ... I will give it a try
David Williams
Veteran Member
Posts: 1127
Veteran Member
New Poster
New Poster
Congrats on posting!
//rpt="/servlet/Report?action=PDF&file=/"+host+"/law/print/"+usr+"/"+rptpath+"/1/"+rptname
//window.open(rpt)
David Williams
John Henley
Posts: 3363
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
David, interesting idea...have you tested it to see that it works for Word files or even PDFs that are non-Lawson print files (since I'm guessing /servlet/Report looks for report metadata--and wouldn't just blindly open anything..)?
Thanks for using the LawsonGuru.com forums!
John
David Williams
Veteran Member
Posts: 1127
Veteran Member
New Poster
New Poster
Congrats on posting!
John, no, I assumed they wanted to open Lawson reports. My bad.
I actually created the shortcut to open a Smart Report version. The syntax would be a little different - Action=LSR and you have to include &REPORT_OWNER=userid
David Williams
Chris12
Veteran Member
Posts: 150
Veteran Member
New Poster
New Poster
Congrats on posting!
Hi David .... This is not a Lawson generated print file .... it is just a PDF which will be stored on the server ... Will your solution still work? Can you give me a piece of code to help out ..... Running at a standstill
Chris12
Veteran Member
Posts: 150
Veteran Member
New Poster
New Poster
Congrats on posting!
Ideally I would love to embedd a PDF into a textarea .... Not sure if that is possible