Topic
  • 1 reply
  • Latest Post - ‏2013-03-25T19:19:43Z by SystemAdmin
cwoliveira
cwoliveira
25 Posts

Pinned topic Content Navigator samplePages - Error on viewer samples

‏2013-03-24T21:34:18Z |
Hi,

I've deployed the samplePages.war on a ICN 2.0.1 installation and I would like to recommend them to customer developers as starting point about ICN Development capabilities.

I'm running fine some actions from samplePages, but I'm experiencing errors with Viewer samples:

  • samplePages/model/login.html - OK
  • samplePages/model/contentClass.html - OK
  • samplePages/model/search.html - OK
  • samplePages/model/checkOut.html - OK
  • samplePages/dijit/ItemPropertiesDisplayPaneSample.html - OK

  • samplePages/model/viewer.html - Javascript Error
SCRIPT5007: Unable to get value of the property 'docViewer': object is null or undefined
SCRIPT5007: Unable to get value of the property 'launchApplet': object is null or undefined

The page is creating a URL like this => http://localhost:9080/navigator/viewers/filenetViewer.jsp?docUrl=%2Fnavigator%2Fp8%2FgetDocument.do%3Fdocid%3DDocument%252C%257B4E01EC82-DAA1-4BA0-9F4C-88791EEE4437%257D%252C%257B643E7B99-49D6-41B8-A955-653AEDA6B35F%257D%26template_name%3DDocument%26repositoryId%3DICMCMTOS%26objectStoreName%3DCMTOS%26security_token%3D3594804647033579419&docName=teste.jpg&contentType=image/jpeg&serverType=p8&servicesUrl=/navigator&printDoc=true&exportDoc=true&viewAnnotations=false&editAnnotations=false&editDoc=false&security_token=3594804647033579419

  • samplePages/dijit/ViewerEmbedSample.html - Error
SCRIPT5022: DOM Exception: HIERARCHY_REQUEST_ERR (3)
ViewerEmbedSample.html, line 161 character 6

So, is it needed any additional initial configuration to run the Viewer samples ?

Also, I attached the screenshots and web browser console outputs with the errors.

Thanks,

Carlos.
Updated on 2013-03-25T19:19:43Z at 2013-03-25T19:19:43Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    445 Posts

    Re: Content Navigator samplePages - Error on viewer samples

    ‏2013-03-25T19:19:43Z  
    There could be a bug in the sample. I would suggest opening a PMR if it is not possible to get the viewer widget to run properly.