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

Error message handling has changed between Daeja ViewONE Professional 3.1.X and 4.1.X

060000BUSF gravatar image
Question by Harumi Itoh  (799) | Apr 28, 2017 at 01:59 AM ecmsupportapecmdaejaviewone

Though the following behaviors were changed after ViewONE 3.1, can we restore the new behavior to old one?

1) When the image file to be shown does not exist: On ViewONE 3.1, the error message box appears. On ViewONE 4.1 or later, the error message is displayed in the viewer.

2) When the javascript function to handle the event of the viewer does not exist: On ViewONE 3.1, the script error is displayed in IE. On ViewONE 4.1 or later, no error is displayed.

People who like this

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

1 reply

  • Sort: 
060000BUSF gravatar image
Accepted answer

Answer by Harumi Itoh (799) | Apr 28, 2017 at 02:11 AM

1) The behavior has improved in this area since the error now displays in the viewer, there is no ambiguity about where the error comes from. So there is no intention to revert this back to 3.1 behavior. You could use event 5 (document opened) or event 61 (document open failed) to display your own error dialog using the JavaScript alert() function. Note that event 61 is only available in 4.0.4 or later. You can refer to the following KnowledgeCenter.

Event handlers and event handling
https://www.ibm.com/support/knowledgecenter/SSTPHR_4.1.5/com.ibm.viewone.configuring/dvojs018.htm Events IDs and descriptions
https://www.ibm.com/support/knowledgecenter/SSTPHR_4.1.5/com.ibm.viewone.configuring/dvojs020.htm

2) The missing/incorrect event handler function would be considered a programming error and therefore not something that should be exposed to end users so again, this is an improvement over previous behavior. So there is no intention to revert this back to 3.1 behavior. Further information for the programmer would be available by setting the HTML parameter <param name="traceJavascript" value="true"/> and then inspecting the Java console where a message should appear indicating that the viewer was unable to find the function.

Comment
takii

People who like this

  1   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

121 people are following this question.

Answers

Answers & comments

Related questions

How to set AnnotationBurnURL dynamically in Daeja View 4.1.5? 1 Answer

Why does Daeja Viewer try to connect to Internet while opening a file with Intranet access? 1 Answer

Is there a way to show if a document is signed in Daeja? 1 Answer

The blurriness happens while loading a page in ViewOne Virtual 1 Answer

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

  • 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