Skip to content

Commit

Permalink
IVYPORTAL-15211 Migrate old portal customization step 2 callable appr…
Browse files Browse the repository at this point in the history
…oach implementation LE (#227)
  • Loading branch information
pvthai-axonivy committed Sep 8, 2023
1 parent 7b8ba17 commit 3854b2d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 25 deletions.
6 changes: 1 addition & 5 deletions axonivy-express/config/overrides.any
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
/PROCESS {
/Functional-Processes.DeleteDocumentItem "Functional Processes/DeleteDocumentItemOverride"
/Functional-Processes.UploadDocumentItem "Functional Processes/UploadDocumentItemOverride"
/Functional-Processes.GetDocumentItems "Functional Processes/GetDocumentItemsOverride"
}
/HTML_DIALOG *
/PROCESS *
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
"id" : "U21-g0",
"type" : "EmbeddedStart",
"visual" : {
"at" : { "x" : 288, "y" : 64 },
"size" : { "width" : 26, "height" : 26 }
"at" : { "x" : 288, "y" : 64 }
},
"parentConnector" : "f3",
"connect" : [
Expand All @@ -48,8 +47,7 @@
"id" : "U21-g1",
"type" : "EmbeddedEnd",
"visual" : {
"at" : { "x" : 288, "y" : 1248 },
"size" : { "width" : 26, "height" : 26 }
"at" : { "x" : 288, "y" : 1248 }
},
"parentConnector" : "f6"
}, {
Expand Down Expand Up @@ -707,7 +705,6 @@
"name" : "in 1",
"visual" : {
"at" : { "x" : 264, "y" : 32 },
"size" : { "width" : 26, "height" : 26 },
"labelOffset" : { "x" : 35, "y" : 29 }
},
"parentConnector" : "f30",
Expand All @@ -720,16 +717,14 @@
"name" : "out 1",
"visual" : {
"at" : { "x" : 640, "y" : 416 },
"size" : { "width" : 26, "height" : 26 },
"labelOffset" : { "x" : -6, "y" : 38 }
},
"parentConnector" : "f10"
}, {
"id" : "S11-g2",
"type" : "EmbeddedStart",
"visual" : {
"at" : { "x" : 64, "y" : 320 },
"size" : { "width" : 26, "height" : 26 }
"at" : { "x" : 64, "y" : 320 }
},
"parentConnector" : "f18",
"connect" : [
Expand Down Expand Up @@ -815,8 +810,7 @@
"id" : "S40-g0",
"type" : "EmbeddedStart",
"visual" : {
"at" : { "x" : 64, "y" : 192 },
"size" : { "width" : 26, "height" : 26 }
"at" : { "x" : 64, "y" : 192 }
},
"parentConnector" : "f13",
"connect" : [
Expand All @@ -826,8 +820,7 @@
"id" : "S40-g1",
"type" : "EmbeddedEnd",
"visual" : {
"at" : { "x" : 544, "y" : 192 },
"size" : { "width" : 26, "height" : 26 }
"at" : { "x" : 544, "y" : 192 }
},
"parentConnector" : "f4"
}, {
Expand Down Expand Up @@ -939,9 +932,9 @@
"import java.util.Map;",
"import ch.ivy.addon.portalkit.enums.PortalLibrary;",
"import java.util.Arrays;",
"import ch.ivy.addon.portalkit.service.IvyAdapterService;",
"import com.axonivy.portal.components.service.IvyAdapterService;",
"",
"Map x = IvyAdapterService.startSubProcess(\"handleEndPage()\", null, Arrays.asList(PortalLibrary.AXON_EXPRESS.getValue()));",
"Map x = IvyAdapterService.startSubProcessInApplication(\"handleEndPage()\", null);",
"String callbackUrl = x.get(\"callbackUrl\") as String;",
"ivy.task.customFields().stringField(CustomFields.EXPRESS_END_PAGE_URL.toString()).set(callbackUrl);"
]
Expand Down Expand Up @@ -1000,7 +993,6 @@
"name" : "in 1",
"visual" : {
"at" : { "x" : 64, "y" : 192 },
"size" : { "width" : 26, "height" : 26 },
"labelOffset" : { "x" : 18, "y" : 25 }
},
"parentConnector" : "f8",
Expand All @@ -1013,7 +1005,6 @@
"name" : "out 1",
"visual" : {
"at" : { "x" : 1200, "y" : 192 },
"size" : { "width" : 26, "height" : 26 },
"labelOffset" : { "x" : 21, "y" : 25 }
},
"parentConnector" : "f25"
Expand Down Expand Up @@ -1090,8 +1081,7 @@
"id" : "U20-g0",
"type" : "EmbeddedStart",
"visual" : {
"at" : { "x" : 320, "y" : 64 },
"size" : { "width" : 26, "height" : 26 }
"at" : { "x" : 320, "y" : 64 }
},
"parentConnector" : "f15",
"connect" : [
Expand All @@ -1101,8 +1091,7 @@
"id" : "U20-g1",
"type" : "EmbeddedEnd",
"visual" : {
"at" : { "x" : 320, "y" : 1024 },
"size" : { "width" : 26, "height" : 26 }
"at" : { "x" : 320, "y" : 1024 }
},
"parentConnector" : "f17"
}, {
Expand Down

0 comments on commit 3854b2d

Please sign in to comment.