Results 1 to 3 of 3

Thread: PDF to Open Immediately

  1. #1
    New Member
    Join Date
    Dec 2006

    PDF to Open Immediately

    Requirement - Click a field on a custom web app to launch a UBE and have the PDF open immediately instead of forcing the user to go to submitted jobs. The UBE has a BI publisher report definition associated to it. What is the best way to do this? I assume if I map UBE to run locally (via OCM) it would open PDF immediately, but currently not configured to allow users to run locally in web client. Should this be allowed and is it advised?

    (E9.2 on Windows)

    Thanks in advance!

  2. #2
    Member nkuebelbeck's Avatar
    Join Date
    Mar 2012
    you'll have a difficult time with this as the button click is launching an asynchronous process.
    E1: 9.2 | TR: | JAS: WebLogic | ES: OS400
    DB: DB2 | WebDev Client: Win7Pro (64 bit), VS 2010

  3. #3
    Senior Member
    Join Date
    Mar 2004
    Fort Worth, Texas
    As nkuebelbeck said it will be difficult. Not impossible, but difficult.

    We have done this. User presses a button that launches a UBE with a BI Pub template and when it completes the BI Pub output opens on the client. We all ready had several components developed before we did this. Namely we have developed a general purpose UBE polling BSFN that will poll the job, sleep, poll again, sleep, etc. (sleeping so we don't hammer the DB server). I believe we even had to further modify that BSFN for this purpose to return the necessary BI Pub info and I believe the BI Pub generation appeared to be somewhat async from the UBE job status so we had to account for that as well.

    You also have to account for things like BSFN timeout settings. In other words you can't just let the UBE Polling BSFN run indefinitely until the UBE completes because your BSFN call from the JAS server to the ES server will timeout (and you also don't want to show an hourglass to the user for 2+ minutes). You have to respond back to the client at some point if the UBE takes to long, maybe even give them the option to continue waiting, etc.

    Oh and one more thing. You have to develop all this. So you have to construct everything so that when running on local web dev client it still launches the UBE on the server for development purposes. Our polling BSFN requires a pointer to a UBEVAR used to launch the UBE so for us you also have to launch the UBE from a C BSFN which is where we handle the local web dev client stuff.

    It was not a trivial endeavor, but it can be done.
    Last edited by BOster; 12-12-2019 at 08:11 AM.
    Brian Oster
    Application Development Manager
    E1: 9.0 (TR9.1.5.1) / 9.2 (TR9.2.2.2)
    JAS/BSSV: Weblogic 12.1.2 / Weblogic 12.2
    ES: Win2008 / Win2016
    DB: MSSQL 2014 / 2016
    WebDev Client: Win7Pro / Win10Pro

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company and, or Oracle.