Adding City and Country to Contacts Popup search does not work

Hi all,

It is a great software and a great team to build it up. Thanks to all.

I’m preparing an instance of SuiteCRM for my company and preparing some on-screen customisations with Studio and will migrate whole Company&Contacts data from very old in-house application to SuiteCRM. Database has only the migrated accounts, not yet migrated the Contacts before making the Contacts related, Layout/Dropdown/Additional fields.

So far all was good until this Popup Search layout change issue.

I have own server with Centos8, PHP 7.3 and SuiteCRM 7.11.8

I need to add City and Country(of Contacts) to Popup search panel which would enable us to find contacts from some cities&countries for Accounts(and all other modules) - Contacts select function.

I have added Primary Address City & Country of Contacts from Admin - Studio - Contacts - Layouts - Popup View - Popup Search

but to popup does not show these two fields for example in Accounts - Contacts - Select

Am I doing something wrong or missing ? should I do something additionally ?

or is my expectation is wrong to see those fields in this Popup Search for contacts ?

Thanks in advance for any help.

If you go again to Studio after saving your Changes, do you see the Layouts being changed or they remain the same(old one before your modification). If this is the case then your Custom folder needs proper permissions to allow studio changes.
Secondly you need to Run/Repair Rebuild just to clear the cache.

1 Like

Hi, welcome.

I just tried this on my test system and it worked well… :huh:

I’m using 7.11.9, I’m not sure if that is supposed to make a difference.

You can test it yourself on this live demo (which allows Studio access, and is also at 7.11.9):
https://www.softaculous.com/demos/SuiteCRM

(BTW, I don’t recommend that you upgrade at this point - we’re putting out a 7.11.10 pretty soon to address some critical issues in 7.11.9).

I am launching the selector from the Accounts detail view, Contacts subpanel, menu action “select”

1 Like

Thanks to you both.

I have suspected some cache issue but could not find how to reset.

Meanwhile, I wanted to see how the upgrade process runs and as it is my test environment I have performed 7.11.9 upgrade.

And when I check now, I see both fields in the Popup search. Just a side note, Upgrade pre-flight check did not show any permission issues.

I think, upgrade process cleared the cache and resets all.

And I try to remove Primary city for example, Saved&Deployed and again no change occurred. And I have ran Quick Repair Rebuild and tried again.

tataaa, Popup displayed and in seconds City removed from popup and never displayed on subsequent popup launch.

Thanks to you all, I have never needed to do Repair Rebuild after adding new custom dropdowns/fields. I did not know that I have to run Quick Repair Rebuild after some types of Studio changes.

Very nice, pop is now OK for me. Again it is a great flexibility to adjust almost anything from screens. Thanks.

Note that for these layout changes, you should not need a QR & R. I specificaly payed attention to this in my test, I got the fields to appear with only a “save and deploy”, nothing more.

As cherub-chum pointed out, make sure your installation is healthy in terms of Linux file ownerships/permissions. And if you’re running scheduler jobs, make sur your crontab is set for the correct user (not root!) otherwise your jobs will be messing up your cache. Repeatedly.

Thanks I will check again when doing the PROD installation

Just to mention again; I have upgraded from 7.11.8 to 7.11.9 yesterday and it did not show any permission/ownership error during it’s check. And I have tried again with 7.11.9 and it’s just the same, without QR & R the change was not reflected to popup.

Soon I will perform PROD installation and will check again.