on 12-12-2016 11:31 PM
Hi All,
On creating a data connection for Mock Data in New oData service, I keep getting the error, " Unhandled Error: Cannot read property '_sap:creatable' of undefined.
I've tried saving the file, instead of using Workspace as source, still same issue. I'm default Chrome user, but tried it on firefox and still same issue.
Any help appreciated. Thank you.
Hi,
seems to be an error in the Web IDE? I had the same Issue.
The error occurs only when you have only one <EntitySet> in the <EntityContainer>.
I just copied my <EntitySet> and it worked...
<EntityContainer Name="sflightModel" m:IsDefaultEntityContainer="true">
<EntitySet Name="flightSet" EntityType="sflight.flight"></EntitySet>
<EntitySet Name="flightSet2" EntityType="sflight.flight"></EntitySet>
</EntityContainer>
Regards,
Isaac
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
After I reported this bug internally I was told that this issue is fixed and will be available mid March.
Regards,
Michal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi guys,
am also following same type of error...
here is my xml file
<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" Version="1.0">
"); vertical-align: bottom; height: 10px;"><edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="2.0"> "); vertical-align: bottom; height: 10px;"><Schema xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"xmlns="http://schemas.microsoft.com/ado/2008/09/edm" Namespace="public.iotmmsxs.iotservice"> "); vertical-align: bottom; height: 10px;"><EntityType Name="testType"> "); vertical-align: bottom; height: 10px;"><Key> <PropertyRef Name="GEN_ID"/> </Key> <Property Name="GEN_ID" Type="Edm.String" Nullable="false" MaxLength="2147483647"/> <Property Name="G_DEVICE" Type="Edm.String" MaxLength="255"/> <Property Name="G_CREATED" Type="Edm.DateTime"/> <Property Name="C_SPEED" Type="Edm.Int32"/> <Property Name="C_ACCELERATION" Type="Edm.Int32"/> <Property Name="C_FUELCONSUMED" Type="Edm.Double"/> <Property Name="C_GEAR" Type="Edm.Int32"/> <Property Name="C_GPSPOSITION" Type="Edm.String" MaxLength="255"/> <Property Name="C_ODODMETER" Type="Edm.Double"/> <Property Name="C_TRIPD" Type="Edm.String" MaxLength="255"/> </EntityType> "); vertical-align: bottom; height: 10px;"><EntityContainer Name="iotservice" m:IsDefaultEntityContainer="true"> <EntitySet Name="test" EntityType="public.iotmmsxs.iotservice.testType"/> </EntityContainer> </Schema> </edmx:DataServices></edmx:Edmx>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This looks like a bug, I have reported it internally, hopefully a fix will be available soon.
Michal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:sap="http://www.sap.com/Protocols/SAPData">
<edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="2.0">
<Schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" Namespace="Demo1">
<EntityType Name="Customer">
<Key>
<PropertyRef Name="CustomerId"/>
</Key>
<Property Name="CustomerId" Nullable="false" Type="Edm.String"/>
<Property Name="Name" Type="Edm.String"/>
<Property Name="SalesOrg" Type="Edm.String"/>
</EntityType>
<EntityContainer Name="default" m:IsDefaultEntityContainer="true">
<EntitySet EntityType="Demo1.Customer" Name="Customers"/>
<EntitySet EntityType="Demo1.Customer" Name="Dummy"/>
</EntityContainer>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you attach the file used?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pankaja,
I did not use the SAP HCP Tutorial Navigator. I just did a simple one
1. created new project based on template, made sure oData plugins are enabled.
2. created oData model file ( edited edmx )
3. created mock data
4. creating oData service, selected the workspace and get the error above.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.