Skip to main content
ashutoshg0001
Known Participant
May 26, 2021 3:11 PM UTC
Question

How can i delete a record from cdt through the form field?

I have one interace in which name of a person is taken in a textfield , i want to delete the record from the cdt related to the name of the person .how can i delete the record from cdt?

    4 replies

    ranjiths0003
    Inspiring
    May 26, 2021 4:18 PM UTC

    Hi Ashutoshg,

    Get a primary key for that record and pass that as a parameter on Delete from Data Store Entities Smart service, it will delete the entry of that record.

    shilpak0002
    New Participant
    May 26, 2021 4:24 PM UTC

    is your CDT made by mapping from the database table / view? if so.., you can directly go to cloud data base >>appian>>select your table/view >>in browse>> u will be able to see all your records>>starting in left hand side you will be to see options like "Edit", "Copy", "Delete">>noe u can click on "Delete" of corresponding record that you wish to delete.

    Inspiring
    May 27, 2021 3:59 AM UTC

    using  Delete from Data Store Entities Smart Service ,you can  delete data from your CDT.

    For more go through this link.

    https://docs.appian.com/suite/help/21.1/Delete_from_Data_Store_Entities_Smart_Service.html

    and configure Data to Delete node like this:

    =a!entityDataIdentifiers(  entity: cons!POINTER_TO_DATA_STORE_ENTITY,  identifiers: your Primary Key ).

     

     

    ashutoshg0001
    Known Participant
    Jun 10, 2021 9:52 AM UTC

    Thanks