Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Issue With IFrame Embedded ICN Daeja ViewONE Virtual Viewer

310002PFS9 gravatar image
Question by DivyaLohi  (1) | Dec 06, 2016 at 12:13 PM daejadnsviewerviewoneiframe

Hi, I am currently working on integrating ICN Daeja ViewONE Virtual Viewer using iFrame. To elaborate, from a Web application hosted on one server, there is an action to open the Document, which would launch Virtual Viewer residing on a different server, to open the document. This works perfectly fine when I use the Virtual Viewer URL format http://hostname:port/navigator/bookmark.jsp?docid=. However, when I try to use DNS (Domain Name Server) i.e. http:///navigator/bookmark.jsp?docid=, Virtual Viewer initialization fails and throws the below error - "Unable to start viewer. Unable to init UI."

  1. Is there any constraint that while invoking Virtual Viewer, URL should be hostname:port, and not DNS?

  2. Please let me know where I could find logs for this initialization failure so that I could analyze more on the problem.

Please note that :

  • IBM Daeja ViewONE Professional Viewer works fine when invoked using either hostname:port or DNS.

  • Under Application-level logging, I have already configured as Debug, but no sign for the above issue in either SystemOut.log or SystemErr.log

Please provide some pointers.

Thanks, Divya

People who like this

  0   Show 1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
310000PR2Y gravatar image Ahmad_4u (20)   Oct 31, 2017 at 03:32 AM 0
Share

Hi Divya,

I want to integrate ICN Viewer with custom application . I followed the link given below to do the task but I have certain confusion

Link : https://www.ibm.com/developerworks/community/blogs/e8206aad-10e2-4c49-b00c-fee572815374/entry/how_to_integrate_icn_with_your_applications_to_view_content_aka_embeddedviewerplugin_part_ii?lang=en

1.Not clear what to do at ICN server side. 1. What need to do in Custom application ? What need to do with the XDomainViewerAPI.html and XDomainViewerWindow.html file? Please help me , how can I integrate Viewer with custom application . In current scenario both ICN and Custom application deployed on the same server.

If you will provide help , then really it would be great for me.

Regards, Ahmad

2 answers

  • Sort: 
270006XMU1 gravatar image

Answer by MatJaggard (1) | Dec 20, 2016 at 08:19 AM

Hi Divya,

  1. There is no constraint regarding DNS vs IP however unlike Daeja ViewONE Professional, Virtual runs only in the browser and therefore is limited by the same-origin policy of browser requests.

  2. Unfortunately the issue is happening before the viewer has had a chance to set up its logging fully. However you should be able to see any issues in the Javascript console of the browser. The network tab of the developer tools may also show some useful information. You can normally find this by pressing F12 and then loading the page that contains the viewer.

The supported solution to this is to run the viewer on the same origin as the web page. That means if you're running on http://navigator/ then the page and all resources should come from that location.

Thanks, Mat.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270000BNBR gravatar image

Answer by Malevris (1) | Mar 03, 2017 at 10:29 AM

Hi There,

Did this issue get resolved?

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

95 people are following this question.

Answers

Answers & comments

Related questions

How to integrate ICN Daeja Virtual Viewer with custom application other than the IFRAME way? 1 Answer

Virtual Viewer customization - adding a new button using BarButton option 2 Answers

How can i Disable PrtScr option for ICN Viewer Document 2 Answers

How to view more than one document in Daeja ViewONE Virtual screen 1 Answer

Opening multiple documents in Viewer 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges