cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in loading file from URL in HTML5 viewer

Former Member
0 Kudos
136

Hi Team,

I am trying out the SAP3DVisualEnterpriseApplicationsSDKv2_1 to display .VDS files in Viewer.

I am following the quick guide SAP3DVisualEnterpriseApplicationsSDKv2_1/Doc/quick-start-guide/sapui5.html. When i load files from local it is working fine,but when i load file from a url ,i am getting an error as the oDvl is null in the oViewer object.

Below is my script to load the file from URL.

//    

  var oViewer = new sap.ve.Viewer({ height: 512, width: 512});

  oStepNavigation = new sap.ve.ViewerStepNavigation({logEnabled:true, viewerInstance: oViewer});

  oViewer.loadFile("998Clutch.vds");

//

Am i missing anything here,

Thanks,

Althaf

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member307889
Discoverer
0 Kudos

Hello Mohammed,

are you sure that you are using the right library? Try the fallowing code:

var oViewer = new sap.ui.vk.Viewer({ height: 512, width: 512});

oStepNavigation = new sap.ui.vk.ViewerStepNavigation({logEnabled:true, viewerInstance: oViewer});

oViewer.loadFile("998Clutch.vds");

Best regards