Browser Control not working for BUI
We are trying to build a BUI Addin extension using which we cannot save duplicate contact with same email id in a brand, we have multiple brand i.e. a contact with an email address should be saved only once in a particular brand.
For example: We have 3 brands A, B, C so we can have contacts with email id [email protected] only once in each brand but if we try to create a duplicate contact in the brand with a same email then it should not save the contact.
We are migrating from .NET Console to BUI, and in console the above logic is working as expected but in BUI we are able to save duplicate contact in a same brand, which should not happen. Before saving duplicate contact, we are getting a standard pop-up, on which if we click 'YES' it is overriding the 'param.getCurrentEvent().cancel();' used in our code and saving the duplicate.