Skip to content

Commit fbb0394

Browse files
committed
Minor fixes
1 parent 7801651 commit fbb0394

File tree

8 files changed

+1380
-690
lines changed

8 files changed

+1380
-690
lines changed

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,7 @@ To reduce the amount of available filters in a List Report, properties can be an
297297
```
298298
annotate service1.RootEntities {
299299
...
300-
areaChartDeviationLowerBoundValue @UI.HiddenFilter;
301-
areaChartDeviationUpperBoundValue @UI.HiddenFilter;
302-
areaChartToleranceLowerBoundValue @UI.HiddenFilter;
303-
areaChartToleranceUpperBoundValue @UI.HiddenFilter;
300+
fieldWithURLtext @UI.HiddenFilter;
304301
...
305302
};
306303
```
File renamed without changes.

_i18n/i18n_en.properties

+127
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
RootEntities=Root entity
2+
RootEntities.typeNamePlural=Root entities
3+
4+
location=Location
5+
integerValue=Integer value
6+
targetValue=Target value
7+
forecastValue=Forecast value
8+
dimensions=Dimension
9+
field=Field
10+
contact=Contact
11+
12+
sumIntegerValue=Sum of integer values
13+
sumTargetValue=Sum of target values
14+
15+
connectedField=Connected fields
16+
17+
changeCriticality=Change Criticality (Bound)
18+
unboundAction=Show input (Unbound)
19+
subSection=Subsection
20+
customSubSection=Custom subsection
21+
customSection=Custom section
22+
customHeaderFacet=Custom header facet
23+
customColumn=Custom column
24+
customFilter=Rating filter
25+
26+
inboundNavigation=IBN
27+
formAction=Action on form
28+
formActionEmphasized=Emphasized action on form
29+
30+
ToggleSideContent=Toggle side content
31+
CustomActionOPTableToolbar=Custom action
32+
CustomActionOPHeader=Custom action
33+
CustomActionOPFooter=Custom action
34+
CustomActionSection=Custom action
35+
CustomActionLRGlobal=Custom action
36+
CustomActionLR=Custom action
37+
validityPeriodLR=Custom column
38+
validityPeriodOP=Custom field
39+
40+
generalData=General data
41+
address=Address
42+
plainText=Plain text
43+
ratingIndicator=Rating indicator
44+
progressIndicator=Progress indicator
45+
areaChart=Area micro chart
46+
lineChart=Line micro chart
47+
columnChart=Column micro chart
48+
stackedBarChart=Stacked bar micro chart
49+
comparisonChart=Comparison micro chart
50+
bulletChart=Bullet micro chart
51+
radialChart=Radial micro chart
52+
ThisIsAMicroChart=This is a micro chart
53+
54+
childEntities1=Child entity 1 (1..n)
55+
childEntities1.typeNamePlural=Child 1 entities
56+
ChildEntity2=Association (1..1)
57+
ChildEntity2.typeNamePlural=Association entities
58+
childEntities3=Child entities for custom object page (1..n)
59+
chartEntities=Child entities for chart (1..n)
60+
grandChildren=Grand child entities (1..n)
61+
chart=Chart
62+
63+
chartDataCollection=Micro chart data (collection facet)
64+
chartData=Chart data
65+
advancedChartData=Calculated values
66+
67+
collectionSection=Collection facet
68+
showWhenInEdit=Section visible in edit
69+
70+
image=Image
71+
fieldWithPrice=Property with currency
72+
fieldWithUoM=Property with unit
73+
fieldWithCriticality=Property with criticality
74+
fieldWithPerCent=Percentage property
75+
fieldWithToolTip=Field with tool tip
76+
adminData=Admin data (field group)
77+
dataFieldWithURL=URL property
78+
contactQuickView=Contact with quick view
79+
80+
stringProperty=String property
81+
integerProperty=Integer property
82+
decimalProperty=Decimal property
83+
booleanProperty=Boolean property
84+
85+
variant1ChildEntities1=SelectionVariant (All entities)
86+
variant2ChildEntities1=SelectionVariant (Positive criticality)
87+
variant3ChildEntities1=SelectionVariant (Negative criticality)
88+
variant4ChildEntities1=SelectionVariant (Critical criticality)
89+
90+
newProgress=New value for progress
91+
newCriticality=New value for criticality
92+
inputValue=Input value
93+
94+
SVariant1=SelectionVariant (Criticality between 0 and 2)
95+
SVariant2=SelectionVariant (Positive criticality)
96+
SelectionPresentationVariant=SelectionPresentationVariant (Criticality larger 0)
97+
98+
variant3RootEntityVariants=View with other entity set (Criticality between 0 and 3)
99+
variant1ForRootEntityVariants=SelectionVariant (Criticality between 0 and 2)
100+
variant2ForRootEntityVariants=SelectionVariant (Positive criticality)
101+
102+
semanticKeyField=Field with semantic key
103+
locationSubSection=Fields depending on each other
104+
description=Description
105+
communication=Communication
106+
email=E-Mail
107+
telephone=Telephone
108+
109+
timeAndDate=Time and Date
110+
date=Date
111+
dateTo=To Date
112+
time=Time
113+
timeStamp=Time stamp
114+
115+
macroField=Macro field
116+
resetEntities=Reset all data
117+
criticalAction=Critical action
118+
country=Country
119+
criticality=Criticality
120+
fieldWithURL=URL
121+
stars=Stars
122+
currencyForFieldWithPrice=Currency
123+
region=Region
124+
description2=Second description
125+
MultiInputField=Multi input field
126+
127+
MultiInputFieldWithVH=Multi input with value help and input filter

app/featureShowcase/field-control.cds

+18-6
Original file line numberDiff line numberDiff line change
@@ -24,24 +24,31 @@ annotate service1.RootEntities {
2424
],
2525
);
2626

27-
areaChartDeviationLowerBoundValue @UI.HiddenFilter; //Search-Term: #HideFilter
28-
areaChartDeviationUpperBoundValue @UI.HiddenFilter;
29-
areaChartToleranceLowerBoundValue @UI.HiddenFilter;
30-
areaChartToleranceUpperBoundValue @UI.HiddenFilter;
31-
fieldWithURLtext @UI.HiddenFilter @HTML5.LinkTarget : '_blank'; //Search-Term: #Link
27+
fieldWithURLtext @UI.HiddenFilter @HTML5.LinkTarget : '_blank'; //Search-Term: #HideFilter, #Link
3228

3329
/** Search-Term: #FilterDefault
3430
For a default filter value in the list report. Does not support complex values */
3531
//stringProperty @Common.FilterDefaultValue : 'Root entity 4';
3632

37-
region_country_code @UI.HiddenFilter; //Filter not available in the list report
33+
region @UI.HiddenFilter; //Filter not available in the list report
3834
deletePossible @UI.Hidden;
3935
updateHidden @UI.Hidden;
4036
fieldWithURL @UI.Hidden;
4137

4238
email @mandatory;
4339
};
4440

41+
annotate service1.RootEntities actions {
42+
//Search-Terms: #SideEffect, #ParameterDefaultValue
43+
changeProgress @(
44+
//Update the UI after action
45+
Common.SideEffects : {
46+
TargetProperties : ['in/integerValue']
47+
},
48+
Core.OperationAvailable: {$edmJson: {$If: [{$Ge: [{$Path: 'in/integerValue'}, 0]}, true, false]}}
49+
)
50+
}
51+
4552

4653
annotate service1.ChildEntities1 {
4754
ID @UI.Hidden @readonly @mandatory;
@@ -65,4 +72,9 @@ annotate service1.ChildEntities2 {
6572
annotate service1.ChartDataEntities {
6673
ID @UI.Hidden @readonly @mandatory;
6774
parent @UI.Hidden @Core.Immutable;
75+
76+
areaChartDeviationLowerBoundValue @UI.HiddenFilter;
77+
areaChartDeviationUpperBoundValue @UI.HiddenFilter;
78+
areaChartToleranceLowerBoundValue @UI.HiddenFilter;
79+
areaChartToleranceUpperBoundValue @UI.HiddenFilter;
6880
}

app/featureShowcase/labels.cds

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ annotate schema.ChildEntities1 with @title : '{i18n>childEntities1}' {
3939
field @title : '{i18n>field}';
4040
booleanProperty @title : '{i18n>booleanProperty}';
4141
fieldWithPerCent @title : '{i18n>fieldWithPerCent}' @(Measures.Unit : '%'); //Search-Term: #Units
42+
criticalityValue @title : '{i18n>criticality}' @Common.Text : criticalityValue.name @Common.TextArrangement : #TextFirst;
4243
};
4344

4445
annotate schema.GrandChildEntities with @title : '{i18n>grandChildren}' {

0 commit comments

Comments
 (0)