CRUD (delete) in Form Data Model

Avatar

Avatar
Validate 1
Level 2
Jean-foxfly
Level 2

Likes

13 likes

Total Posts

18 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 2
Jean-foxfly
Level 2

Likes

13 likes

Total Posts

18 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Jean-foxfly
Level 2

17-11-2019

Form Data Model have 3 services:

1- get

2- insert

3- update

How is the form to delete lines in database?

Accepted Solutions (0)

Answers (6)

Answers (6)

Avatar

Avatar
Validate 1
Level 2
Jean-foxfly
Level 2

Likes

13 likes

Total Posts

18 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 2
Jean-foxfly
Level 2

Likes

13 likes

Total Posts

18 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Jean-foxfly
Level 2

20-11-2019

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

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

143 likes

Total Posts

446 posts

Correct reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

143 likes

Total Posts

446 posts

Correct reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

20-11-2019

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,153 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,153 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

20-11-2019

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

Avatar

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

143 likes

Total Posts

446 posts

Correct reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Ignite 5
Employee
workflowuser
Employee

Likes

143 likes

Total Posts

446 posts

Correct reply

70 solutions
Top badges earned
Ignite 5
Ignite 3
Ignite 1
Give Back 50
Give Back 5
View profile
workflowuser
Employee

18-11-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

Avatar

Avatar
Validate 1
Level 2
Jean-foxfly
Level 2

Likes

13 likes

Total Posts

18 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 2
Jean-foxfly
Level 2

Likes

13 likes

Total Posts

18 posts

Correct reply

3 solutions
Top badges earned
Validate 1
Give Back 3
Give Back
Boost 5
Boost 3
View profile
Jean-foxfly
Level 2

18-11-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?

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,153 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

327 likes

Total Posts

1,153 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

18-11-2019

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