-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Test Case for Document of Record generation
Added Test Case for Document of Record generation Added Test Case for Document of Record generation Added Test Case for Document of Record generation Added Test Case for Document of Record generation Use list form api to get form Id Added Test Case for Document of Record generation Added Test Case for Document of Record generation Added Test Case for Document of Record generation Added Test Case for Document of Record generation
- Loading branch information
Showing
14 changed files
with
1,416 additions
and
79 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
.../content/dam/formsanddocuments/core-components-it/samples/document-of-record/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" | ||
jcr:primaryType="sling:Folder" | ||
lcFolder="{Long}0" | ||
type="lcFolder"> | ||
<jcr:content | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="document-of-record"/> | ||
</jcr:root> |
26 changes: 26 additions & 0 deletions
26
...dam/formsanddocuments/core-components-it/samples/document-of-record/dor-form/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:dam="http://www.day.com/dam/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0" | ||
jcr:primaryType="dam:Asset"> | ||
<jcr:content | ||
cq:conf="\0" | ||
jcr:lastModified="{Date}2023-12-05T12:34:15.748+05:30" | ||
jcr:primaryType="dam:AssetContent" | ||
sling:resourceType="fd/fm/af/render" | ||
guide="1" | ||
type="guide"> | ||
<metadata | ||
fd:version="2.1" | ||
jcr:language="en" | ||
jcr:primaryType="nt:unstructured" | ||
xmp:CreatorTool="AEM Forms AF Wizard" | ||
allowedRenderFormat="HTML" | ||
author="admin" | ||
availableInMobileApp="{Boolean}false" | ||
dorTemplateChanged="Boolean" | ||
dorTemplateRef="/content/dam/formsanddocuments/core-components-it/samples/document-of-record/dor-form/jcr:content/renditions/dorTemplate" | ||
dorType="generate" | ||
formmodel="none" | ||
themeRef="/libs/fd/af/themes/canvas" | ||
title="dor-form"/> | ||
</jcr:content> | ||
</jcr:root> |
Binary file added
BIN
+1000 Bytes
...ocument-of-record/dor-form/_jcr_content/renditions/cq5dam.thumbnail.140.100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...-of-record/dor-form/_jcr_content/renditions/cq5dam.thumbnail.140.100.png.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |
Binary file added
BIN
+3.11 KB
...ocument-of-record/dor-form/_jcr_content/renditions/cq5dam.thumbnail.319.319.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...-of-record/dor-form/_jcr_content/renditions/cq5dam.thumbnail.319.319.png.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |
Binary file added
BIN
+387 Bytes
.../document-of-record/dor-form/_jcr_content/renditions/cq5dam.thumbnail.48.48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
...nt-of-record/dor-form/_jcr_content/renditions/cq5dam.thumbnail.48.48.png.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="oak:Resource"/> | ||
</jcr:root> |
1,144 changes: 1,144 additions & 0 deletions
1,144
...-components-it/samples/document-of-record/dor-form/_jcr_content/renditions/dorTemplate/en
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
...mples/document-of-record/dor-form/_jcr_content/renditions/dorTemplate/en.dir/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0" | ||
fd:trusted="{Boolean}true" | ||
jcr:mixinTypes="[fd:xdp]" | ||
jcr:primaryType="nt:file"> | ||
<jcr:content | ||
jcr:lastModifiedBy="fd-service" | ||
jcr:mimeType="application/vnd.adobe.xdp+xml" | ||
jcr:primaryType="nt:resource"/> | ||
</jcr:root> |
3 changes: 3 additions & 0 deletions
3
...tent/jcr_root/content/forms/af/core-components-it/samples/document-of-record/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" | ||
jcr:primaryType="sling:Folder"/> |
45 changes: 45 additions & 0 deletions
45
...root/content/forms/af/core-components-it/samples/document-of-record/dor-form/.content.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:fd="http://www.adobe.com/aemfd/fd/1.0" | ||
jcr:primaryType="cq:Page"> | ||
<jcr:content | ||
cq:deviceGroups="[/etc/mobile/groups/responsive]" | ||
cq:lastModified="{Date}2023-12-05T12:34:14.739+05:30" | ||
cq:lastModifiedBy="admin" | ||
cq:template="/conf/core-components-examples/settings/wcm/templates/af-blank-v2" | ||
jcr:language="en" | ||
jcr:primaryType="cq:PageContent" | ||
jcr:title="dor-form" | ||
sling:configRef="/conf/forms/core-components-it/samples/document-of-record/dor-form/" | ||
sling:resourceType="forms-components-examples/components/page"> | ||
<guideContainer | ||
fd:version="2.1" | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="forms-components-examples/components/form/container" | ||
dorTemplateRef="/content/dam/formsanddocuments/core-components-it/samples/document-of-record/dor-form/jcr:content/renditions/dorTemplate" | ||
dorType="generate" | ||
fieldType="form" | ||
schemaType="none" | ||
thankYouOption="page" | ||
themeRef="/libs/fd/af/themes/canvas" | ||
title="dor-form"> | ||
<textinput | ||
jcr:created="{Date}2023-12-05T12:34:04.112+05:30" | ||
jcr:createdBy="admin" | ||
jcr:lastModified="{Date}2023-12-05T12:34:04.112+05:30" | ||
jcr:lastModifiedBy="admin" | ||
jcr:primaryType="nt:unstructured" | ||
jcr:title="Text Input" | ||
sling:resourceType="forms-components-examples/components/form/textinput" | ||
fieldType="text-input" | ||
name="textinput1701759844272"/> | ||
<fd:view jcr:primaryType="nt:unstructured"> | ||
jcr:created="{Date}2023-12-05T12:34:14.733+05:30" | ||
jcr:lastModified="{Date}2023-12-05T12:34:14.733+05:30" | ||
jcr:primaryType="nt:unstructured" | ||
sling:resourceType="fd/af/authoring/components/dor/dorProperties" | ||
metaTemplateRef="/libs/fd/af/dor/templates/defaultTemplate.xdp"/> | ||
</fd:view> | ||
</guideContainer> | ||
</jcr:content> | ||
</jcr:root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.