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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

CRUD (delete) in Form Data Model

Avatar

Level 3

Form Data Model have 3 services:

1- get

2- insert

3- update

How is the form to delete lines in database?

6 Replies

Avatar

Employee Advisor

I don't think delete option is available via FDM. What's the use case?

Avatar

Level 3

Hi Mayank, 

We need to build screens to a traditional CRUD for some database tables in company.  We already create the consult, insert and update functionalities by FDM. But we need include delete functionality. If this can't be done by FDM, what is the best form to do it?

Avatar

Employee

You can create your own REST API to create the CRUD operations

and create form data model against that REST API and use it in forms

Avatar

Employee Advisor

You might have to write your own JDBC service for that. FDM might not be able to help you with delete operation directly.

Avatar

Level 3

Ok. thanks for your response. Have you some link for samples of custom JDBC code in AEM?