Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ annotate srv.RootEntities with @(
...
{
$Type : 'UI.DataFieldForIntentBasedNavigation',
Label : '{i18n>inboundNavigation}',
Label : '{i18n>IntentBasedNavigation}',
SemanticObject : 'FeatureShowcaseOrder',
Action : 'manage',
RequiresContext : true,
Expand Down Expand Up @@ -1978,8 +1978,18 @@ The semantic object is the application name in the [manifest.json](app/worklist/
"inbounds": {
"feature-showcase-worklist": {
"signature": {
"parameters": {},
"additionalParameters": "allowed"
"parameters": {
"ID": {
"required": false
},
"field3": {
"required": false
},
"integerProperty": {
"required": false
}
},
"additionalParameters": "ignored"
},
"semanticObject": "FeatureShowcaseOrder",
"action": "manage",
Expand Down Expand Up @@ -3661,7 +3671,7 @@ annotate srv.RootEntities with @(
...
{
$Type : 'UI.DataFieldForIntentBasedNavigation',
Label : '{i18n>inboundNavigation}',
Label : '{i18n>IntentBasedNavigation}',
SemanticObject : 'FeatureShowcaseOrder',
Action : 'manage',
RequiresContext : true,
Expand Down
4 changes: 2 additions & 2 deletions _i18n/i18n.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ customHeaderFacet=Custom header facet
customColumn=Custom column
customFilter=Rating filter

inboundNavigation=IBN
IntentBasedNavigation=IBN
formAction=Action on form
formActionEmphasized=Emphasized action on form

Expand Down Expand Up @@ -142,4 +142,4 @@ NetValue=Net value
Currency=Currency
OrderItems=Items
OrderItem=Item
ProductCategory=Product category
ProductCategory=Product category
4 changes: 2 additions & 2 deletions _i18n/i18n_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ customHeaderFacet=Custom header facet
customColumn=Custom column
customFilter=Rating filter

inboundNavigation=IBN
IntentBasedNavigation=IBN
formAction=Action on form
formActionEmphasized=Emphasized action on form

Expand Down Expand Up @@ -142,4 +142,4 @@ NetValue=Net value
Currency=Currency
OrderItems=Items
OrderItem=Item
ProductCategory=Product category
ProductCategory=Product category
22 changes: 15 additions & 7 deletions app/listreport-objectpage/field-control.cds
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,21 @@ annotate srv.RootEntities {
//Search-Term: #Navigation
//Semantic Object annotation in order to show the links to the semantic object apps in the quick view facet
Common.SemanticObject : 'FeatureShowcaseOrder',
Common.SemanticObjectMapping: [{
// Semantic object mapping is done, to set filter values when navigation to the semantic object map
// No logical sensen behind the connection - just to demonstrate
$Type : 'Common.SemanticObjectMappingType',
LocalProperty : integerValue,
SemanticObjectProperty: 'field3',
}, ],
Common.SemanticObjectMapping: [
{
// Map local property to the target object ID
$Type : 'Common.SemanticObjectMappingType',
LocalProperty : association2one_ID,
SemanticObjectProperty: 'ID',
},
{
// Semantic object mapping is done, to set filter values when navigation to the semantic object map
// No logical sense behind the connection - just to demonstrate
$Type : 'Common.SemanticObjectMappingType',
LocalProperty : integerValue,
SemanticObjectProperty: 'field3',
},
],
);

fieldWithURLtext @UI.HiddenFilter @HTML5.LinkTarget: '_blank'; //Search-Term: #HideFilter, #Link
Expand Down
6 changes: 3 additions & 3 deletions app/listreport-objectpage/layouts_RootEntities.cds
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@ annotate srv.RootEntities with @(
{
//Search-Term: #NavAction
$Type : 'UI.DataFieldForIntentBasedNavigation',
Label : '{i18n>inboundNavigation}',
Label : '{i18n>IntentBasedNavigation}',
SemanticObject : 'FeatureShowcaseOrder',
//Target entity
Action : 'manage',
//Specifies the app of the target entity
RequiresContext: true,
//Wheather a row has to be selected or not
//Whether a row has to be selected or not
Inline : true,
//Part of the table, when true
IconUrl : 'sap-icon://cart',
Expand Down Expand Up @@ -235,7 +235,7 @@ annotate srv.RootEntities with @(
{
//Search-Term: #NavAction
$Type : 'UI.DataFieldForIntentBasedNavigation',
Label : '{i18n>inboundNavigation}',
Label : '{i18n>IntentBasedNavigation}',
SemanticObject : 'FeatureShowcaseOrder',
//Target entity
Action : 'manage',
Expand Down
4 changes: 2 additions & 2 deletions app/listreport-objectpage/webapp/i18n/i18n.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ customHeaderFacet=Custom RootEntities facet
customColumn=Custom column
customFilter=Rating filter

inboundNavigation=IBN
IntentBasedNavigation=IBN
formAction=Action on form
formActionEmphasized=Emphasized action on form

Expand Down Expand Up @@ -128,4 +128,4 @@ resetEntities=Reset all data
criticalAction=Critical action
country=Country
criticality=Criticality
fieldWithURL=URL
fieldWithURL=URL
14 changes: 12 additions & 2 deletions app/worklist/webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,18 @@
"inbounds": {
"feature-showcase-worklist": {
"signature": {
"parameters": {},
"additionalParameters": "allowed"
"parameters": {
"ID": {
"required": false
},
"field3": {
"required": false
},
"integerProperty": {
"required": false
}
},
"additionalParameters": "ignored"
},
"semanticObject": "FeatureShowcaseOrder",
"action": "manage",
Expand Down