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

Issue in Configuring custom database storage for adaptive form drafts and submissions

Avatar

Avatar
Validate 1
Level 1
Abhilash1289
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
Abhilash1289
Level 1

Like

1 like

Total Posts

6 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
Abhilash1289
Level 1

11-01-2020

I am working on customizing drafts and submission component to save data in SQL Server. I followed the steps given in below community article and kept 

FormsPortalSampleDataServiceImpl,FormsPortalSampleMetadataServiceImpl implementation in my project code base and updated Portal drafts and submissions services Osgi configuration to look up these implementation classes to when saving the form.  

https://docs.adobe.com/content/help/en/experience-manager-65/forms/publish-process-aem-forms/configu...

 

After configuring everything save event on my form is always throwing an error and and below is the part of stack trace I am seeing in error.log.  The save event is not calling the implementation in my project code base and its always looking for remote server implementation class (DraftMetadataServiceRemoteImpl) . Customizing the storage is crucial feature in my project and any suggestions to fix this issue would be really helpful.

 

com.adobe.fd.fp.exception.FormsPortalException: ALC-FMP-001-037: Unable to get property attachmentList in draft with id JRLMCE2AXNMUSQOQSQBFI4MJ6A_af
at com.adobe.fd.fpaddon.service.impl.DraftMetadataServiceRemoteImpl.getProperty(DraftMetadataServiceRemoteImpl.java:223) [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fp.servlets.FormsPortalDraftsandSubmissionServlet.saveDraft(FormsPortalDraftsandSubmissionServlet.java:415) [com.adobe.livecycle.formsportal-bundle:8.0.54]
at com.adobe.fd.fp.servlets.FormsPortalDraftsandSubmissionServlet.postRequestHandler(FormsPortalDraftsandSubmissionServlet.java:194) [com.adobe.livecycle.formsportal-bundle:8.0.54]

 

Caused by: java.lang.IllegalArgumentException: Username may not be null
at org.apache.commons.httpclient.UsernamePasswordCredentials.<init>(UsernamePasswordCredentials.java:90) [com.day.commons.osgi.wrapper.commons-httpclient:3.1.0.018]
at com.adobe.fd.fpaddon.util.FPRemoteOperations.getHttpClient(FPRemoteOperations.java:71) [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fpaddon.util.FPRemoteOperations.getJsonString(FPRemoteOperations.java:174) [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fpaddon.service.impl.DraftMetadataServiceRemoteImpl.getProperty(DraftMetadataServiceRemoteImpl.java:207) [com.adobe.aem.formsportal-addon-bundle:8.0.54]
... 140 common frames omitted

Accepted Solutions (0)

Answers (0)