Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Can i pick watchedfolder path from a property file ?

Avatar

Level 2

I've different environment from DEV to PROD. Each DEV environment( I've 3 different dev environment used for each release) shares the same mounting location but with different directory structure as below."xxx/DEV1/...."  ,  "xxx/DEV2/..." to help the testing. But i've to hard code the path for the watchfolder path and then need to change on every environment.

I dont have access to prod and cannot use the adminUI to update the watchedFolder path, as it is overridden with the path in the lca every time when the deploy happens. Please help me with the solution.

I want the path to be dynamically updated with the environment as below.

xxx/DEV1/PDFWatchedFolder

xxx/DEV2/PDFWatchedFolder

xxx/DEV3/PDFWatchedFolder

xxx/RWY1/PDFWatchedFolder

xxx/RWY2/PDFWatchedFolder

xxx/RWY3/PDFWatchedFolder

xxx/PRODQA/PDFWatchedFolder

xxx/PROD/PDFWatchedFolder

1 Accepted Solution

Avatar

Correct answer by
Level 2

Adobe Livecycle provide JAVA API, with which i was able to achieve it. Please refer this link.

http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000161.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

Adobe Livecycle provide JAVA API, with which i was able to achieve it. Please refer this link.

http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=000161.html