Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

CRX path to use in DDX?

Avatar

Avatar
Validate 1
Level 1
ekehiu
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
ekehiu
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
ekehiu
Level 1

24-05-2017

When doing DDX, what is the path to use to pull a PDF or XDP file from the CRX repository?

I know the path to use if the file is in a folder on the server.

If I load a PDF or XDP via the AEM Forms UI under Assets, what path do I use to retrieve it via the DDX?

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="result">
<XDP>
<XDP source="file:////adobe/xdps/eForms/EMED-48-07-TEST.xdp"/>
</XDP>
<PDF source="file:////adobe/DocumentStorage/eforms_static/dev/45098.pdf"/>
<NoForms/>
</PDF>
</DDX>

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 5
Employee
sharoon23
Employee

Likes

6 likes

Total Posts

43 posts

Correct Reply

10 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Employee
sharoon23
Employee

Likes

6 likes

Total Posts

43 posts

Correct Reply

10 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
sharoon23
Employee

28-05-2017

Hi ekehiu,

Currently, DDX does not directly support specifying CRX paths in source attributes to pull files from repository. However, you can put an arbitrary string in source attribute and specify a document object [1] in the input map against that key. Document objects can be constructed using CRX node paths and hence, can solve your purpose.

[1]: https://helpx.adobe.com/aem-forms/6-2/javadocs/com/adobe/aemfd/docmanager/Document.html

Answers (2)

Answers (2)

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,160 likes

Total Posts

6,262 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,160 likes

Total Posts

6,262 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

25-05-2017

Moving this thread to AEM Forms Topic.

~kautuk

Avatar

Avatar
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile

Avatar
Validate 1
Level 8
MC_Stuff
Level 8

Likes

78 likes

Total Posts

467 posts

Correct Reply

158 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 25
View profile
MC_Stuff
Level 8

24-05-2017