by synolia

Field Mask will be your greatest ally in formatting your SugarCRM data. This module improves the reliability of your data and saves time for your whole team by allowing you to use input templates to your information fields (zip code, phone number, etc.).

Free 30 day trial
Try it Now

By clicking you consent to share your profile with the developer

#3195 - Text field on contact module not showing in available field list

Closed Bug? created by fareedjreisat Verified Purchase 6 years ago

On the Contact module, we have a custom field for middle name (middle_name_c).

It's a normal textfield, but for some reason it does not show in the list of available fields for Contact module in SynoFieldMask. What's strange is, we have this same field created on the Leads module, and it shows up under the available fields for Leads module.

I did update to the latest version (20160708) but that did not resolve the issue.

Hope to hear from you soon. Thanks.

  1. synolia-primary-contact member avatar

    synolia Verified Purchase

    6 years ago

    Hello,

    To analyse your case we will require the Sugar version you have the module installed on as well as if it's OnDemand on not. If you have access to the Sugar files we would also need the part of the code linked to your field (middle_name_c) present in the "cache/modules/Contacts/Contactvardefs.php". It should look something like this:

        'last_name' => 
        array (
          'name' => 'last_name',
          'vname' => 'LBL_LAST_NAME',
          'type' => 'varchar',
          'len' => '100',
          'unified_search' => true,
          'duplicate_on_record_copy' => 'always',
          'full_text_search' => 
          array (
            'enabled' => true,
            'searchable' => true,
            'boost' => 1.97,
          ),
          'comment' => 'Last name of the contact',
          'merge_filter' => 'selected',
          'required' => true,
          'importable' => 'required',
        ),
    

    Kind regards, Synolia Support

    • fareedjreisat member avatar

      fareedjreisat Verified Purchase

      6 years ago

      We host sugar on-site, and it is version 7.2.2.0.

      Here is the code from cache/modules/Contacts/Contactvardefs.php:

      'middle_name_c' => array ( 'labelValue' => 'Middle Name', 'full_text_search' => array ( 'enabled' => '0', 'boost' => '1', 'searchable' => false, ), 'enforced' => 'false', 'dependency' => '', 'required' => false, 'source' => 'custom_fields', 'name' => 'middle_name_c', 'vname' => 'LBL_MIDDLE_NAME', 'type' => 'varchar', 'massupdate' => false, 'default' => NULL, 'no_default' => false, 'comments' => '', 'help' => '', 'importable' => 'true', 'duplicate_merge' => 'disabled', 'duplicate_merge_dom_value' => '0', 'audited' => false, 'reportable' => true, 'unified_search' => false, 'merge_filter' => 'disabled', 'calculated' => false, 'len' => '50', 'size' => '20', 'id' => 'Contactsmiddle_name_c', 'custom_module' => 'Contacts',

  2. synolia-primary-contact member avatar

    synolia Verified Purchase

    6 years ago

    Hello,

    We cannot reproduce the issue you are encountering. We installed a Sugar 7.2.2.0 PRO with the SUGAR_SYNOFIELDMASK_7.2.0-to-7.7_20160708.zip. We added a field identical to yours and we do not have any issues with the filed in the administration area as you can see in the screenshot :

    http://dl.synolia.com/sofieldmask_33c0acba/2017-07-11_104405.png

    There must be some other reason, like a customisation that interferes with the field. Try a quick repair & rebuild from administration > repair, maybe the labels are not deployed properly. One other reason can be the APC cache on the server that can interfere with configuration pages in Sugar.

    It is difficult to identify the exact cause in this case and you'll probably have to debug the filtering part of the module before finding out why this is happening.

    Kind regards, Synolia Support

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
Rating
  • "Really easy to install and was able to enforce phone fields that include extensions. Support is very responsive." - tlemotte

    Read More Reviews