on 06-08-2016 2:36 PM
Hello,
i have a problem with annotations service :
I create a new project smart template application with annotations.
In the gateway I create annotation service with help of this tutorial .
My file annotation is corrupted when I try open with Annotation Modeler i have this errror Unhandled Error: Cannot read property 'getProblems' of undefined
I try to display one column for test but no column display ... However all is declare in the manifest.
I don't found a documentation, example or tutorial ...
Screenshot of gateway, manifest and application are in attach file.
Thank you for your help
Best regards,
Stéph
I explain better,
I have a problem in making work Annotations in the Gateway (SEGW):
I created a new project in SEGW for annotating an existing OData service and created an UI5 project (Smart Template) referring the OData service and the Annotation one.
In the annotation backend (SEGW) I added vocabulary properties to show a list of columns in the frontend Smart Table:
<?xml version="1.0" encoding="UTF-8"?>
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:Reference Uri="https://ldcifl7.mo.sap.corp:44304/sap/opu/odata/IWFND/catalogservice;v=2/Vocabularies(TechnicalName=...">
<edmx:Include/>
</edmx:Reference>
<edmx:Reference Uri="https://ldcifl7.mo.sap.corp:44304/sap/opu/odata/IWFND/catalogservice;v=2/Vocabularies(TechnicalName=...">
<edmx:Include/>
</edmx:Reference>
<edmx:Reference Uri="https://ldcifl7.mo.sap.corp:44304/sap/opu/odata/IWFND/catalogservice;v=2/Vocabularies(TechnicalName=...">
<edmx:Include/>
</edmx:Reference>
<edmx:Reference Uri="https://ldcifl7.mo.sap.corp:44304/sap/opu/odata/IWFND/catalogservice;v=2/Vocabularies(TechnicalName=...">
<edmx:Include/>
</edmx:Reference>
<edmx:Reference Uri="https://ldcifl7.mo.sap.corp:44304/sap/opu/odata/SAP/GPA_ODATA_SRV">
<edmx:Include Alias="GPA_ODATA_SRV" Namespace="GPA_ODATA_SRV"/>
</edmx:Reference>
<edmx:DataServices>
<Schema Namespace="gpa_odata_ext_anno_mdl.v1" xmlns="http://docs.oasis-open.org/odata/ns/edm">
<Annotations Target="GPA_ODATA_SRV.GuidedProcedure">
<Annotation Term="LineItem">
<Collection>
<Record>
<PropertyValue String="Description" Property="Label"/>
<PropertyValue Property="Target" AnnotationPath="Description"/>
</Record>
</Collection>
</Annotation>
</Annotations>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
When I run my UI5 project, I'm getting the following error message: Unhandled Error: Cannot read property 'getProblems' of undefined
Why does the front end does not recognize the annotation sent from the backend?
Thank you for your help
Best regards,
Stéph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When looking at the screenshot of the annotations you defined in SEGW for the property "Target" you are using "/Id" as a value with a leading slash.
I would use "Id" only instead.
Best Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.