AEM OSGI Forms with Guide Bridge | Community
Skip to main content
November 30, 2023
Solved

AEM OSGI Forms with Guide Bridge

  • November 30, 2023
  • 2 replies
  • 1526 views
Hi Team,
 
Currently we are working Use Case using  AEM OSGI Forms to Upload the Multiple Attachment (Binary file ex :pdf or jpg ) Most of Our Adaptive forms having multiple attachment in each Form  . Using FDM(Form Data Model) we are able to insert the attachment to Database But not able retrieve using FDM.
 
Here are my challenges to implementing custom implementation to retrieve attachments to adaptive form using FDM
1) Not able get the input file from form attachment filed as Input Stream in Ajax Call
2) Using guided bridge  
 
Reference URL:

 

what is use is Guided Bridge  , Advantages of using  Guided Bridge   & How use in AEM OSGI Forms 

 

Regards

Vara

 

 

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by rishim22446870

The procedure to accomplish this particular use-case is outlined in detail at the following link, https://experienceleague.adobe.com/docs/experience-manager-65/content/forms/form-data-model/using-form-data-model.html#write-af

2 replies

Adobe Employee
November 30, 2023

so you want to retrieve the attachment from DB and show them in the Adaptive Form?

varaandeAuthor
November 30, 2023

Yes, we would like to retrieve Attachment which stored using FDM (Form Data Model) 

 

Here are steps followed 

 

Step 1: Created Adaptive form using Data Model 

Step 2: Binding the Adaptive Form fields to Database table columns (automatically binding )

Step 3:  Added submit button(for insert)  and button (retrieve)

Step 4: For Insert(submit button)  added submit action as data model and map database table service 

Step 5: Able inset and retrieve But not able get attachment show at adaptive while fetching from DB

Note: we don't want to store the adaptive form attachment to AEM repository Because of having  sensitive data (if any challenges we may need to use FDM with S3 Integration i.e.  for data (text data ) store in DB then attachment store & retrieve in S3 again issue How map authenticated users ,adaptive forms mapping to stored attachments .

 

 

 

Adobe Employee
November 30, 2023

let me ask and get back to you

in the meantime can you take a look at this sample

make sure you enter a valid email (the email you receive may go to junk folder)and phone number that starts with the country code

do not + sign to the country code

kautuk_sahni
Community Manager
Community Manager
December 11, 2023

@varaande Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
rishim22446870
Adobe Employee
rishim22446870Adobe EmployeeAccepted solution
Adobe Employee
February 7, 2024

The procedure to accomplish this particular use-case is outlined in detail at the following link, https://experienceleague.adobe.com/docs/experience-manager-65/content/forms/form-data-model/using-form-data-model.html#write-af