Skip to main content
Level 2
November 17, 2019
질문

CRUD (delete) in Form Data Model

  • November 17, 2019
  • 6 답변들
  • 6410 조회

Form Data Model have 3 services:

1- get

2- insert

3- update

How is the form to delete lines in database?

이 주제는 답변이 닫혔습니다.

6 답변

Mayank_Gandhi
Adobe Employee
Adobe Employee
November 18, 2019

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

Jean-foxfly작성자
Level 2
November 18, 2019

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?

Adobe Employee
November 19, 2019

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

Mayank_Gandhi
Adobe Employee
Adobe Employee
November 20, 2019

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

Jean-foxfly작성자
Level 2
November 20, 2019

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

Adobe Employee
November 20, 2019