Skip to content

Commit aec776c

Browse files
authored
Merge pull request #3463 from AtlasOfLivingAustralia/feature/issue3462
Obtain investment priorities from context #3462
2 parents 371045b + f33780f commit aec776c

File tree

3 files changed

+90
-240
lines changed

3 files changed

+90
-240
lines changed

forms/nht/grantsAndOthersProgressReport.json

+30-80
Original file line numberDiff line numberDiff line change
@@ -8836,17 +8836,12 @@
88368836
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
88378837
},
88388838
"constraints": {
8839+
"textProperty": "label",
8840+
"valueProperty": "value",
88398841
"type": "pre-populated",
88408842
"config": {
88418843
"source": {
8842-
"params": [
8843-
{
8844-
"expression": "owner.projectId",
8845-
"name": "id",
8846-
"type": "computed"
8847-
}
8848-
],
8849-
"url": "/project/listProjectInvestmentPriorities/"
8844+
"context-path": "owner.investmentPriorities"
88508845
}
88518846
}
88528847
}
@@ -9729,17 +9724,12 @@
97299724
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
97309725
},
97319726
"constraints": {
9727+
"textProperty": "label",
9728+
"valueProperty": "value",
97329729
"type": "pre-populated",
97339730
"config": {
97349731
"source": {
9735-
"params": [
9736-
{
9737-
"expression": "owner.projectId",
9738-
"name": "id",
9739-
"type": "computed"
9740-
}
9741-
],
9742-
"url": "/project/listProjectInvestmentPriorities/"
9732+
"context-path": "owner.investmentPriorities"
97439733
}
97449734
}
97459735
}
@@ -11887,17 +11877,12 @@
1188711877
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
1188811878
},
1188911879
"constraints": {
11880+
"textProperty": "label",
11881+
"valueProperty": "value",
1189011882
"type": "pre-populated",
1189111883
"config": {
1189211884
"source": {
11893-
"params": [
11894-
{
11895-
"expression": "owner.projectId",
11896-
"name": "id",
11897-
"type": "computed"
11898-
}
11899-
],
11900-
"url": "/project/listProjectInvestmentPriorities/"
11885+
"context-path": "owner.investmentPriorities"
1190111886
}
1190211887
}
1190311888
}
@@ -13695,17 +13680,12 @@
1369513680
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
1369613681
},
1369713682
"constraints": {
13683+
"textProperty": "label",
13684+
"valueProperty": "value",
1369813685
"type": "pre-populated",
1369913686
"config": {
1370013687
"source": {
13701-
"params": [
13702-
{
13703-
"expression": "owner.projectId",
13704-
"name": "id",
13705-
"type": "computed"
13706-
}
13707-
],
13708-
"url": "/project/listProjectInvestmentPriorities/"
13688+
"context-path": "owner.investmentPriorities"
1370913689
}
1371013690
}
1371113691
}
@@ -19441,17 +19421,12 @@
1944119421
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
1944219422
},
1944319423
"constraints": {
19424+
"textProperty": "label",
19425+
"valueProperty": "value",
1944419426
"type": "pre-populated",
1944519427
"config": {
1944619428
"source": {
19447-
"params": [
19448-
{
19449-
"expression": "owner.projectId",
19450-
"name": "id",
19451-
"type": "computed"
19452-
}
19453-
],
19454-
"url": "/project/listProjectInvestmentPriorities/"
19429+
"context-path": "owner.investmentPriorities"
1945519430
}
1945619431
}
1945719432
}
@@ -30725,17 +30700,12 @@
3072530700
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
3072630701
},
3072730702
"constraints": {
30703+
"textProperty": "label",
30704+
"valueProperty": "value",
3072830705
"type": "pre-populated",
3072930706
"config": {
3073030707
"source": {
30731-
"params": [
30732-
{
30733-
"expression": "owner.projectId",
30734-
"name": "id",
30735-
"type": "computed"
30736-
}
30737-
],
30738-
"url": "/project/listProjectInvestmentPriorities/"
30708+
"context-path": "owner.investmentPriorities"
3073930709
}
3074030710
}
3074130711
}
@@ -32520,17 +32490,12 @@
3252032490
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
3252132491
},
3252232492
"constraints": {
32493+
"textProperty": "label",
32494+
"valueProperty": "value",
3252332495
"type": "pre-populated",
3252432496
"config": {
3252532497
"source": {
32526-
"params": [
32527-
{
32528-
"expression": "owner.projectId",
32529-
"name": "id",
32530-
"type": "computed"
32531-
}
32532-
],
32533-
"url": "/project/listProjectInvestmentPriorities/"
32498+
"context-path": "owner.investmentPriorities"
3253432499
}
3253532500
}
3253632501
}
@@ -33404,17 +33369,12 @@
3340433369
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
3340533370
},
3340633371
"constraints": {
33372+
"textProperty": "label",
33373+
"valueProperty": "value",
3340733374
"type": "pre-populated",
3340833375
"config": {
3340933376
"source": {
33410-
"params": [
33411-
{
33412-
"expression": "owner.projectId",
33413-
"name": "id",
33414-
"type": "computed"
33415-
}
33416-
],
33417-
"url": "/project/listProjectInvestmentPriorities/"
33377+
"context-path": "owner.investmentPriorities"
3341833378
}
3341933379
}
3342033380
}
@@ -36536,17 +36496,12 @@
3653636496
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
3653736497
},
3653836498
"constraints": {
36499+
"textProperty": "label",
36500+
"valueProperty": "value",
3653936501
"type": "pre-populated",
3654036502
"config": {
3654136503
"source": {
36542-
"params": [
36543-
{
36544-
"expression": "owner.projectId",
36545-
"name": "id",
36546-
"type": "computed"
36547-
}
36548-
],
36549-
"url": "/project/listProjectInvestmentPriorities/"
36504+
"context-path": "owner.investmentPriorities"
3655036505
}
3655136506
}
3655236507
}
@@ -37642,17 +37597,12 @@
3764237597
"expression": "x=find($context.owner.custom.dataSets, \"dataSetId\", dataSetId); x.investmentPriorities"
3764337598
},
3764437599
"constraints": {
37600+
"textProperty": "label",
37601+
"valueProperty": "value",
3764537602
"type": "pre-populated",
3764637603
"config": {
3764737604
"source": {
37648-
"params": [
37649-
{
37650-
"expression": "owner.projectId",
37651-
"name": "id",
37652-
"type": "computed"
37653-
}
37654-
],
37655-
"url": "/project/listProjectInvestmentPriorities/"
37605+
"context-path": "owner.investmentPriorities"
3765637606
}
3765737607
}
3765837608
}

0 commit comments

Comments
 (0)