A customer had the following requirement. They wanted to be able to hide the 'Ignore Warning and Enter Company' button for all non-administration users when dedupe was turned on and when Sage CRM flags that the user is entering a duplicate company. The customer wants all users without system administration right to be obliged to return to the first entry screen and in order to double check the data they are entering.
The customer does not want a dedupe list screen to look like this:
They want it to look like this:
This can be achieved using the Client Side API very easily.
The script below can be added into the contents box of the CompanyDedupeList list block.
The script checks the CurrentUser's admin rights. If these are not those of a System Administrator then the button is hidden.
I have made the assumption that the Company Dedupe List will appear only when a possible duplicate has been detected.
Top Comments