Skip to Content
0
Former Member
Mar 05, 2015 at 04:18 AM

Issue in loading file from URL in HTML5 viewer

75 Views

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