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

techddx
Community profile techddx Level 2
Job title here
Location here
11 BADGES
Level 2

Level 2

Learn more
Joined the community 15-09-2020 4:21:55 PM
Offline
Top badges earned by techddx
Customize the badges you want to showcase on your profile
Adaptive Form Theme Editor - Stretch to fit page content
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
By default, the adaptive form page content is centered and is not set to adjust to the width of the browser. In the theme editor, how do you make it so the page content is left adjusted, with the content stretched to fit to the width of the browser? I changed the setting of the Page to float:left, but the content of the form is not stretch to fit to the browser. Please see below image for clarification.

Views

63

Likes

0

Replies

1
Re: Rule editor stuck on "Getting rules" when using clien...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Changing the "let" statements to "var" made it work. Thank you for your help!

Views

106

Likes

0

Replies

0
Re: Rule editor stuck on "Getting rules" when using clien...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
The js is tested and working, however the rule editor no longer works when the client library is applied in the form container.After removing the client library from the forms container, the rule editor starts to work again.

Views

94

Likes

0

Replies

0
Re: Rule editor stuck on "Getting rules" when using clien...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
I am using the client library from this tutorial: https://experienceleague.adobe.com/docs/experience-manager-learn/forms/adaptive-forms/document-of-record-api-tutorial-use.html?lang=en#adaptive-forms Here is the modified js within the client library: /** * Get pdf * {OPTIONS} drop down options */ function getPdf() { console.log("in view pdf"); window.guideBridge.getDataXML( { success: function(result) { var formData = new FormData(); formData.append("dataXml",result.data); console.log("got data"...

Views

99

Likes

0

Replies

0
Rule editor stuck on "Getting rules" when using client library
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
I am using an existing client library that has worked before. Now when I edit a new form, apply the client library, and try to open the rule editor, it gets stuck on "Getting rules". I receive this error in the browser console:guideCommonAuthoring.js:5404 Error in retrieving Expression or Form Objects JSONAnd I receive this error from the error.log:08.04.2021 15:02:02.917 *ERROR* [0:0:0:0:0:0:0:1 [1617919322913] GET /libs/fd/af/components/info.json HTTP/1.1] org.apache.sling.engine.impl.SlingReq...

Views

181

Likes

0

Replies

8
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Yes, the adaptive form is based on an XDP template and the data is being merged with the DoR API. I was able to resolve my issues and generate a functional PDF. I will share my solution shortly.

Views

104

Like

1

Replies

0
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
I am testing by saving it to local system first, and the PDF is successfully generated. However, when trying to get the file from button AJAX call, the PDF is corrupt.

Views

133

Like

1

Replies

0
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
The servlet is working and the PDF is being generated with a button ajax call. However the generated PDF is corrupt. Here is my code in the button: /** * Get pdf * @Return {OPTIONS} drop down options */ function getPdf() { console.log("in view pdf"); window.guideBridge.getDataXML( { success: function(result) { var formData = new FormData(); formData.append("dataXml",result.data); console.log("got data"+result.data); var settings ={ "async": true, "url": "/bin/streampdf", "method": "POST", data:{...

Views

114

Like

1

Replies

0
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Issue was resolved, it was due to another bundle deployed with the same groupId and it had to be uninstalled.

Views

131

Like

1

Replies

0
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
I checked the error log and found this: *ERROR* [FelixDispatchQueue] org.apache.sling.servlets.resolver FrameworkEvent ERROR (org.osgi.framework.ServiceException: Service factory exception: Could not load implementation object class dgs.aem.core.servlets.StreamPDF) org.osgi.framework.ServiceException: Service factory exception: Could not load implementation object class dgs.aem.core.servlets.StreamPDF

Views

204

Like

1

Replies

0
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
I have created a servlet based on the DoR with API implementation with JSP. However when deploying the bundle, the servlet component is in the "satisfied" state. How can I get it to activate? Below is the servlet code: public class StreamPDF extends SlingAllMethodsServlet{ private static final long serialVersionUID = 1L; @SlingObject private ResourceResolver resourceResolver; @SlingObject private Resource resource; //OSGi Services @Reference private com.adobe.aemds.guide.addon.dor.DoRService dor...

Views

209

Like

1

Replies

2
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Hi @PulkitJain, thank you for your help. I added the following code to the POST.jsp, but the PDF download is not appearing in the browser. I checked the logs and there are no errors either. Session session; com.adobe.aemds.guide.addon.dor.DoRService dorService = sling.getService(com.adobe.aemds.guide.addon.dor.DoRService.class); System.out.println("Got ... DOR Service"); com.mergeandfuse.getserviceuserresolver.GetResolver aemDemoListings = sling.getService(com.mergeandfuse.getserviceuserresolver...

Views

227

Like

1

Replies

0
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
@workflowuser, I see. Is there an example you can provide to do that?

Views

221

Like

1

Replies

0
Re: Download Document of Record PDF with Form Data with B...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Hi @PulkitJain, thank you for this document. I tried the sample implementation, but found the resulting PDF is saved in the AEM CRX under "/content/usergenerated/content/aemformsenablement". Is there a way to only provide the download to the PDF, and not save the PDF within AEM CRX?

Views

233

Like

1

Replies

0
Hi workflowuser, this is happening for all forms when usi...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Hi workflowuser, this is happening for all forms when using the "saveandfetch" client library provided in the sample assets. When the client library in the form container is removed the rule editor works.

Views

31

Likes

0

Replies

0
Download Document of Record PDF with Form Data with Button In Adaptive Form
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Hello, I currently have a use case where the user fills in the adaptive form and should be able to download the Document of Record PDF (XDP template) with the form data by clicking a button. The purpose of this use case is so the entered data is not stored in AEM or a database, so the adaptive form only serves as a form filler. From my initial findings, there is a Java API you can use to generate the DoR:https://helpx.adobe.com/experience-manager/6-3/forms/javadocs/com/adobe/aemds/guide/addon/do...

Views

418

Likes

0

Replies

17
Re: Saving Form to Continue Filling Later
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Hi @workflowuser ,Thanks for the implementation guide.I noticed the Rule Editor in the adaptive form no longer works when using this implementation. Have you encountered this issue as well?

Views

217

Like

1

Replies

2
Re: Integrate AEM with Box.com to store completed forms
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager
@Vijayalakshmi_S I followed your advice and was able to call the Box Upload File API from AEM. Thank you! I would like details on how to incorporate the Box SDK Bundle with maven-sling-plugin and maven-bundle-plugin so the bundle can be installed directly in the Felix console.

Views

182

Likes

0

Replies

0
Re: Integrate AEM with Box.com to store completed forms
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager
@Vijayalakshmi_S I am currently trying to implement the Box File Upload API Call but am encountering an issue accessing the PDF file from the AEM Workflow payload.The context is when an adaptive form is submitted, the document of record PDF is stored in the payload. How do you access the PDF from the payload stored in CRX so it can be used with the Box API? Here is a snippet of my code.String payloadPath = workItem.getWorkflowData().getPayload().toString(); log.info("\nThe payload path is: " + p...

Views

217

Likes

0

Replies

0
Re: Integrate AEM with Box.com to store completed forms
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager
@Vijayalakshmi_S I was able to resolve the dependencies by using the maven bundle plugin for the Box SDK Bundle. Your example pom.xml was very helpful. Thank you, I really appreciate your help on this.

Views

258

Likes

0

Replies

0
Re: Integrate AEM with Box.com to store completed forms
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager
@Vijayalakshmi_S I have deployed the Box SDK dependencies as their own bundles in AEM, and added them as required bundles in the Box SDK Bundle. However, the workflow still fails when calling the Box API. The following is the manifest.mf of the Box SDK Bundle. Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: BoxSDK Bundle-SymbolicName: BoxSDK Bundle-Version: 1.0.0 Automatic-Module-Name: BoxSDK Export-Package: com.box.sdk;version="2.53.0";uses:="com.box.sdk.http,com.box.sdk.internal.u...

Views

303

Likes

0

Replies

0
Re: Integrate AEM with Box.com to store completed forms
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager
@Vijayalakshmi_S I created an OSGi bundle for the Box SDK as per this article in the "Add the org.json.simple.JSONObject data type" section: https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.htmlThe exported packages in the manifest.mf are all packages from the Box SDK and the bundle is able to be resolved in AEM. I also installed the minimal-json jar bundle that is a required dependency for the Box SDK.

Views

321

Likes

0

Replies

0
Re: Integrate AEM with Box.com to store completed forms
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager
Hi @Vijayalakshmi_S, thank you for this information. I have created a Box Application to use the Server Side Authentication with JWT to authenticate to the Box API. The current plan is to submit the adaptive form to a custom workflow process that calls the Box API. As per: https://experienceleague.adobe.com/docs/experience-manager-learn/forms/adaptive-forms/custom-process-step-aem-workflow.html?lang=en#adaptive-forms However, I am encountering an issue when calling the Box API from within the AE...

Views

341

Likes

0

Replies

0
AEM Forms Portal - Admin Role to see all forms created from their group
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Hello everyone, From my understanding of the forms portal in AEM, you can only see drafts & submissions submitted by yourself. In the use case where someone with a group admin role wants to see all drafts & forms submitted from their group, how can that be achieved?

Views

164

Likes

0

Replies

1
Integrate AEM with Box.com to store completed forms
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager
Hello everyone, I wanted to know what the suggested method to integrate AEM with Box.com would be. Box is a cloud storage solution. The use case would be to use AEM Forms as the front end to capture information and generate a PDF upon form submission. Once submitted, the PDF will also be sent from AEM to Box to be stored. Box provides an API reference, but I am not sure how to start to create this integration with AEM.https://developer.box.com/reference/

Views

403

Likes

0

Replies

15
Re: Combining PDF Attachments with DDX, then send separat...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
No, I am unable to since it requests for a password when combining

Views

226

Likes

0

Replies

0
Re: Saving Form to Continue Filling Later
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Hi Girish, I am currently trying to reimplement this on my own but I am new to Maven so maybe I am building the project incorrectly. When deploying my bundle based on the linked tutorial, I do not see the"com.techmarketing.core.impl.AemformWithDB" service component and it also has less imported packages compared to the provided bundle in the tutorial. Is there a walkthrough of the Maven portion of this tutorial as well? That would be really helpful. Thank you.

Views

463

Like

1

Replies

0
Re: Combining PDF Attachments with DDX, then send separat...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Thank you! This is unrelated, but is it possible for secured PDFs to be merged with DDX without their passwords? The use case would be similar to Adobe Sign, where all attachments can be rendered and merged regardless if they are secured or not.

Views

177

Likes

0

Replies

0
Re: Combining PDF Attachments with DDX, then send separat...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Hi workflowuser, is it possible to make a slight change to the bundle? Currently, the process only supports the assembly of static document, and breaks when a dynamic document is attached. From the DDX reference guide, it suggests the use of the NoForms element as the child of the PDF element. Is it possible for you to add the NoForms element to each PDF element, so the bundle supports dynamic documents as well? Thank you for all your help.

Views

235

Likes

0

Replies

0
Re: Invoke Form Data Model Service - Unable to select fro...
Avatar
Validate 1
Level 2
techddx
Level 2

Likes

12 likes

Total Posts

65 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
techddx
- Adobe Experience Manager Forms
Yes, i have tried different FDMs and still get this issue

Views

283

Likes

0

Replies

0
Likes from