Embedd a DOC or PDF in Design Studio

Sort:
You are not authorized to post a reply.
Author
Messages
Chris12
Veteran Member
Posts: 150
Veteran Member
    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: 468
    Veteran Member
      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
        Good idea ... I will give it a try
        David Williams
        Veteran Member
        Posts: 1127
        Veteran Member
          //rpt="/servlet/Report?action=PDF&file=/"+host+"/law/print/"+usr+"/"+rptpath+"/1/"+rptname
          //window.open(rpt)
          David Williams
          John Henley
          Senior Member
          Posts: 3348
          Senior Member
            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
              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
                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
                  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.