PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06/25/2014 11:14 AM by  Chris12
Embedd a DOC or PDF in Design Studio
 7 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Chris12
Private
Private
Veteran Member
(366 points)
Veteran Member
Posts:150


Send Message:

--
06/24/2014 4:09 PM
    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
    Private
    Private
    Veteran Member
    (878 points)
    Veteran Member
    Posts:306


    Send Message:

    --
    06/24/2014 5:38 PM
    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
    Private
    Private
    Veteran Member
    (366 points)
    Veteran Member
    Posts:150


    Send Message:

    --
    06/25/2014 6:21 AM
    Good idea ... I will give it a try
    David Williams
    Private
    Private
    Veteran Member
    (3055 points)
    Veteran Member
    Posts:1029


    Send Message:

    --
    06/25/2014 6:45 AM
    //rpt="/servlet/Report?action=PDF&file=/"+host+"/law/print/"+usr+"/"+rptpath+"/1/"+rptname
    //window.open(rpt)
    David Williams
    John Henley
    Private
    Private
    Senior Member
    (9629 points)
    Senior Member
    Posts:3227


    Send Message:

    --
    06/25/2014 7:07 AM
    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
    Private
    Private
    Veteran Member
    (3055 points)
    Veteran Member
    Posts:1029


    Send Message:

    --
    06/25/2014 7:54 AM
    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
    Private
    Private
    Veteran Member
    (366 points)
    Veteran Member
    Posts:150


    Send Message:

    --
    06/25/2014 11:02 AM
    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
    Private
    Private
    Veteran Member
    (366 points)
    Veteran Member
    Posts:150


    Send Message:

    --
    06/25/2014 11:14 AM
    Ideally I would love to embedd a PDF into a textarea .... Not sure if that is possible
    You are not authorized to post a reply.