+
#{ivy.cms.co('/Dialogs/com/axonivy/connector/atrust/demo/DocumentSignature/SignDocument')}
- #{ivy.cms.co('/Dialogs/com/axonivy/connector/atrust/demo/DocumentSignature/SignatureByATrust')}
- #{ivy.cms.co('/Dialogs/com/axonivy/connector/atrust/demo/DocumentSignature/SignInFrame')}
-
+ update="@this" partialSubmit="true" styleClass="ml-3" icon="pi pi-arrow-up-right" />
-
@@ -172,7 +172,7 @@
//" }
+ { "name" : "templates", "type" : "java.util.List
", "desc" : "" }
],
"map" : {
"result.templates" : "in.templates"
@@ -532,7 +566,9 @@
"at" : { "x" : 96, "y" : 304 },
"labelOffset" : { "x" : -5, "y" : -21 }
},
- "connect" : { "id" : "f8", "to" : "f2" }
+ "connect" : [
+ { "id" : "f8", "to" : "f2" }
+ ]
}, {
"id" : "f2",
"type" : "HtmlDialogEnd",
@@ -544,11 +580,20 @@
"type" : "HtmlDialogMethodStart",
"name" : "getTemplateDisplayName(TemplateMeta)",
"config" : {
- "callSignature" : "getTemplateDisplayName",
+ "signature" : "getTemplateDisplayName",
+ "input" : {
+ "params" : [
+ { "name" : "template", "type" : "at.a.trust.rest.api.client.TemplateMeta", "desc" : "" }
+ ],
+ "map" : {
+ "out.selectedTemplate" : "param.template"
+ }
+ },
"result" : {
"params" : [
- { "name" : "displayName", "type" : "String" }
+ { "name" : "displayName", "type" : "String", "desc" : "" }
],
+ "map" : { },
"code" : [
"import com.axonivy.connector.atrust.constant.Constants;",
"if (in.#selectedTemplate is initialized && in.#selectedTemplate.#id is initialized) {",
@@ -558,21 +603,15 @@
"}"
]
},
- "input" : {
- "params" : [
- { "name" : "template", "type" : "at.a.trust.rest.api.client.TemplateMeta" }
- ],
- "map" : {
- "out.selectedTemplate" : "param.template"
- }
- },
"guid" : "1917445EF39C34C7"
},
"visual" : {
"at" : { "x" : 96, "y" : 400 },
"labelOffset" : { "x" : 43, "y" : -21 }
},
- "connect" : { "id" : "f59", "to" : "f46" }
+ "connect" : [
+ { "id" : "f59", "to" : "f46" }
+ ]
}, {
"id" : "f46",
"type" : "HtmlDialogEnd",
@@ -584,7 +623,7 @@
"type" : "HtmlDialogMethodStart",
"name" : "signInFrame()",
"config" : {
- "callSignature" : "signInFrame",
+ "signature" : "signInFrame",
"input" : {
"map" : {
"out.signatureJob.isEmbeddedInframe" : "true"
@@ -596,13 +635,14 @@
"at" : { "x" : 112, "y" : 912 },
"labelOffset" : { "x" : 7, "y" : 35 }
},
- "connect" : { "id" : "f68", "to" : "f65", "via" : [ { "x" : 208, "y" : 912 } ] }
+ "connect" : [
+ { "id" : "f68", "to" : "f65", "via" : [ { "x" : 208, "y" : 912 } ] }
+ ]
}, {
"id" : "f62",
"type" : "Script",
"name" : "Init",
"config" : {
- "security" : "system",
"output" : {
"code" : [
"import com.axonivy.connector.atrust.util.IvyUtils;",
@@ -622,12 +662,15 @@
"String inputtedDataId = ivy.task.customFields().stringField(ATrustCustomField.SIGNATURE_JOB_ID.getKey()).getOrDefault(\"\");",
"in.signatureJob = IvyUtils.queryRepoById(inputtedDataId, SignatureJob.class) as SignatureJob;"
]
- }
+ },
+ "sudo" : true
},
"visual" : {
"at" : { "x" : 216, "y" : 112 }
},
- "connect" : { "id" : "f21", "to" : "f14" }
+ "connect" : [
+ { "id" : "f21", "to" : "f14" }
+ ]
}, {
"id" : "f65",
"type" : "Alternative",
@@ -642,13 +685,15 @@
"type" : "HtmlDialogMethodStart",
"name" : "close()",
"config" : {
- "callSignature" : "close",
+ "signature" : "close",
"guid" : "1917977930E4BBB1"
},
"visual" : {
"at" : { "x" : 96, "y" : 496 }
},
- "connect" : { "id" : "f69", "to" : "f61" }
+ "connect" : [
+ { "id" : "f69", "to" : "f61" }
+ ]
}, {
"id" : "f61",
"type" : "HtmlDialogExit",
diff --git a/a-trust-connector-demo/webContent/layouts/frame-10.xhtml b/a-trust-connector-demo/webContent/layouts/frame-10.xhtml
index caee274..74501bd 100644
--- a/a-trust-connector-demo/webContent/layouts/frame-10.xhtml
+++ b/a-trust-connector-demo/webContent/layouts/frame-10.xhtml
@@ -13,11 +13,11 @@ This is the default template to use the freya-ivy theme as well as iFrames appro
PORTAL:
If you are using the Axon Ivy Portal, you can pass several parameters to it to use some features (e.g. process chain).
-You'll find the list of parameters here: https://developer.axonivy.com/portal/10.0/doc/portal-developer-guide/components/layout-templates.html#components-layout-templates-iframe-task-template
-For further information about iframes and usage in Portal please refer to: https://developer.axonivy.com/portal/10.0/doc/portal-developer-guide/iframe/index.html
+You'll find the list of parameters here: https://developer.axonivy.com/portal/11.3/doc/portal-developer-guide/components/layout-templates.html#components-layout-templates-iframe-task-template
+For further information about iframes and usage in Portal please refer to: https://developer.axonivy.com/portal/11.3/doc/portal-developer-guide/iframe/index.html
BRANDING:
-If you want to brand your dialogs, please take a look at our documentation: https://developer.axonivy.com/doc/10.0/designer-guide/user-interface/branding/index.html
+If you want to brand your dialogs, please take a look at our documentation: https://developer.axonivy.com/doc/11.3/designer-guide/user-interface/branding/index.html
STYLING:
If you want to add custom styles, you can simply add your own .css file (e.g. at the location: "webContent/layouts/styles/style.css")
@@ -32,14 +32,14 @@ and refence it below in the head part.
-
+
-
+
default content
@@ -47,7 +47,7 @@ and refence it below in the head part.
-
+
-