Results 1 to 4 of 4

Thread: BI Publisher retrieve image from web service in template for QR code

  1. #1
    New Member tatscub's Avatar
    Join Date
    Feb 2010
    Location
    manchester UK
    Posts
    20

    Question BI Publisher retrieve image from web service in template for QR code

    Hi there I have an interesting issue I am struggling to resolve and could definitely use some guidance from the community.

    I am using BI Publisher desk top and I am trying to take a value from my xml, pass it to a web service and retrieve back an image of a QR code

    the URL I am using is the following

    https://api.qrserver.com/v1/create-qr-code/?data=123456789abcdef123456789&size=100x100" alt="" title=""

    replacing 123456789abcdef123456789 with data from my JDE UBE used to generate a QR code.

    if you pop that URL in to a browser you will se it returns a QR code nicely

    generating the URL is not a problem but where I am struggling is how I can add code to my template to call the web service using the url generated and display the
    QR code image that is passed back.

    has any one out there had any luck inserting code in to an rtf template to call a web service using a URL and display the resulting image on the out put ?

    if what I am trying to do is not possible I am also investigating encoding my data then using a QR code font to display the data as a QR code .

    is there any one out there who has taken this approach and if so can you offer any guidance on encoding text in to QR data

    thank you very much in advance for any help support or guidance any one can offer.
    E1 9.13 Transform 4.1.2 (Eugh! not a fan of transform) Bi Publisher & E1 Pages

    Developer

  2. #2
    New Member tatscub's Avatar
    Join Date
    Feb 2010
    Location
    manchester UK
    Posts
    20
    hi everybody

    after a lot of hunting around I found the solution


    in typical Microsoft fashion they have made it a bit more aqward in word 2010 (just to annoy us developers I think).

    instead of adding a dummy image to resolve this I needed to
    1. click on the developer tab
    2.go to legacy tools and select image Active x control
    3. right click on the image and select the alternate text tab
    4. enter url:{} and inside the {} enter the absolute path to the tag that holds the URL to where my image was stored .

    trust Microsoft to make things ten times more difficult
    E1 9.13 Transform 4.1.2 (Eugh! not a fan of transform) Bi Publisher & E1 Pages

    Developer

  3. #3
    Member
    Join Date
    Jan 2010
    Location
    Karnataka
    Posts
    190
    Good solution. What about this link for QR code generation? Are there any issues if we use it for our program?
    Also it will be great if you can share your template.
    Regards,

    Abhishek Chhajer

  4. #4
    Hi ,

    I was able to get the QR code , but I tried passing the XML element to the data for the dynamic generation of QR code but it is not showing the value of that element when i scan that QR code instead it shows the same element which i passed to the data. Can you help?

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.