[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1061) Allow key expressions in Path constructs within annotations
[ https://issues.oasis-open.org/browse/ODATA-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ralf Handl updated ODATA-1061: ------------------------------ Environment: Applied (was: Proposed) > Allow key expressions in Path constructs within annotations > ----------------------------------------------------------- > > Key: ODATA-1061 > URL: https://issues.oasis-open.org/browse/ODATA-1061 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: CSDL JSON , CSDL XML > Affects Versions: V4.01_CSD01 > Environment: Applied > Reporter: Ralf Handl > Fix For: V4.01_CSD02 > > > With ODATA-960 we added absolute paths to the Path syntax, which allows referencing properties of a singleton, e.g. > <Annotation Term="Display.visible" Path="/this.container/Settings/FeatureXxxIsAvailable" /> > A logical extension is allowing key expressions to reference entities and their properties within an entity set: > <Annotation Term="Display.visible" Path="/this.container/SettingsCollection('FeatureXxx')/IsAvailable" /> > In addition to literal values the key values can be provided using path expressions. This enables (a third party) to address content where the service author forgot to define a navigation path: > <Annotation Term="Display.title" Path="/this.container/Products(ID=ProductID)/Name" /> -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]