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

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

Level 2
Level 2

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.


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( [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fp.servlets.FormsPortalDraftsandSubmissionServlet.saveDraft( [com.adobe.livecycle.formsportal-bundle:8.0.54]
at com.adobe.fd.fp.servlets.FormsPortalDraftsandSubmissionServlet.postRequestHandler( [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>( []
at com.adobe.fd.fpaddon.util.FPRemoteOperations.getHttpClient( [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fpaddon.util.FPRemoteOperations.getJsonString( [com.adobe.aem.formsportal-addon-bundle:8.0.54]
at com.adobe.fd.fpaddon.service.impl.DraftMetadataServiceRemoteImpl.getProperty( [com.adobe.aem.formsportal-addon-bundle:8.0.54]
... 140 common frames omitted

0 Replies