FDM Delete Service Insights | Community
Skip to main content
Level 6
Feb 15, 2021 7:45 PM UTC
Solved

FDM Delete Service Insights

Folks, 

I see this question was already answered in this thread. But just need some more details on how simply this can be done.

I have a form with some fields and a button (which actually performs remove operation). So on click of this button, I want equivalent record to be deleted in the Database too.

I already written a servlet, which actually does delete operation for the input provided. But I don't know how to use this servlet in Form. I know how to retrieve data from DB, display as JSON in servlet and use that in the Form Fields, but the other way around is I am a bit not clear.

Please help with your inputs.

 

Regards,

Sri Bhargav

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Mayank_Gandhi
Mayank_GandhiAccepted solution
Employee
Feb 18, 2021 3:48 PM UTC

@surabattulasr I don't think fdm does delete. You can write a restful service for delete and call that instead.

3 replies

Level 6
Feb 18, 2021 5:48 PM UTC

Thanks @mayank_gandhi,

Yeah we will proceed with writing a custom service and then invoke it probably from Rule Editor.

Translate
Mayank_Gandhi
Mayank_GandhiAccepted solution
Employee
Feb 18, 2021 3:48 PM UTC

@surabattulasr I don't think fdm does delete. You can write a restful service for delete and call that instead.

Translate
Level 6
Feb 16, 2021 7:59 PM UTC

Folks,

So somehow we were able to write a RESTful service which actually performs task of deleting records from DB for the given inputs.

When I tested the operation (DELETE query), it was successful, but still I am able to see record in DB.

Any idea what might have went wrong? Or if any additional work needs to be done in order to implement it?

Regards,

Translate