Record de-activation in out-of-the-box lookups

We have a use case where our client has operations in only select countries but might expand to other countries in the future. I want to re-use the out-of-the-box "countries" lookup but permit de-activating some records.



Currently, I cannot enable 'record deactivation' for this object as it belongs to the 'Base' package. 

 

How can we re-use the default countries look up and yet permit de-activation?

Like 0

Like

5 comments
Best reply

I was able to do the above. Would appreciate if any of you can confirm that this is the recommended way - 



1. Create a replacing object with the 'Country (Base)' as parent object in a custom package and permit 'Record deactivation' for this replacing object. 

 

This automatically enables de-activation in the out-of-the-box "Countries" look up 

I was able to do the above. Would appreciate if any of you can confirm that this is the recommended way - 



1. Create a replacing object with the 'Country (Base)' as parent object in a custom package and permit 'Record deactivation' for this replacing object. 

 

This automatically enables de-activation in the out-of-the-box "Countries" look up 

Hello, 

 

It is now possible to deactivate the records so that they will not appear in the lookup drop down list, for example, on the address record. 

It is necessary to go to the countries object settings, tick "Allow records deactivation" checkbox and publish it. 

Once the changes are saved, just go to the countries lookup and add the new column to the countries list through the columns setup called Inactive. It is clickable boolean column that deactivates the required countries. The countries with Inactive = true value will not be visible anymore.

 

Regards,

Dean  

M Shrikanth,

You are right. That is what I've also described above.



Regards,

Dean

Dean Parrett,

Thank you Dean

Hi guys,

as the "inactive" column needs to be added manually, what is the correct name that is being used in "Allow record deactivation" feature? I see above it's mentioned as 'Inactive' while in the article https://academy.creatio.com/docs/developer/interface_elements/interface… it's called 'RecordInactive'. Could you please clarify?

Show all comments