I have a Java project using a Maven archetype provided by Adobe to get started.
I have built several custom workflow steps using this model - all is good.
Until now, all of them have been using typical data types such as Int, String, etc.
Now, I have a need to write a Document to the Filesystem. Because I do not see an existing component to do this, I will need to build my own custom step.
I expect the code will be something like this:
com.adobe.aemfd.docmanager.Document doc = wfd.getMetaDataMap().get("myDoc");
However the package com.adobe.aemfd.docmanager isn't in the project setup. I'm a novice at Maven and adding libraries so, any help to bootstrap this quickly would be helpful.
Thanks,
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @crich2784,
Maven dependency for com.adobe.aemfd family(https://mvnrepository.com/artifact/com.adobe.aemfd/aemfd-client-sdk/1.0.2) is available as part of Adobe Public Repository - https://repo.adobe.com/nexus/content/groups/public/
Try adding this dependency in main/pom.xml and in core/pom.xml -> Update Maven project (By being in core module in your IDE).
In order to resolve as OSGi dependency (once the package is installed in AEM instance), licensed AEM Forms addon package would help.
Hi,
you can check dependencies at /system/console/depfinder
As I checked I am not able to find this in AEM, so you need to check another API.
Hi @crich2784,
Maven dependency for com.adobe.aemfd family(https://mvnrepository.com/artifact/com.adobe.aemfd/aemfd-client-sdk/1.0.2) is available as part of Adobe Public Repository - https://repo.adobe.com/nexus/content/groups/public/
Try adding this dependency in main/pom.xml and in core/pom.xml -> Update Maven project (By being in core module in your IDE).
In order to resolve as OSGi dependency (once the package is installed in AEM instance), licensed AEM Forms addon package would help.
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
You need to use this dependency - aemfd-client-sdk
com.adobe.aemfd.docmanager Package is part of this aemdf-client-sdk artifact
Views
Replies
Total Likes
Dependency entry to be added in POM - You can change the version per your need.
<dependency>
<groupId>com.adobe.aemfd</groupId>
<artifactId>aemfd-client-sdk</artifactId>
<version>1.0.2</version>
</dependency>
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Like
Replies