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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

How to read XDP file files dynamically from workbench folders

Avatar

Level 4

we have few Livecycle workbench processes which uses fileutils service to read XDP file from a LAN location.

But now we are trying to get rid of that LAN location and upload the xdp's to the workbench application.

So is there a way I can read those XDP's from the workbench application folders dynamically based on the form number given as input.

Which activities can I use to pick up the correct XDPs and what kind of variables can be used for those activities.

 

Please help with this. 

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi,

You can use the Foundation / readApplicationAsset activity in workbench for this.

You can give it an Xpath for the "appPath" for example:

concat(<folder name>,"/",<xdp filename>) e.g.

concat("myApplication/", "form1")

This will return a document that you can use in the rest of your process

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

Hi,

You can use the Foundation / readApplicationAsset activity in workbench for this.

You can give it an Xpath for the "appPath" for example:

concat(<folder name>,"/",<xdp filename>) e.g.

concat("myApplication/", "form1")

This will return a document that you can use in the rest of your process