Wednesday, 30 January 2013

Make field Importable Required

How to make importable required in custom field
It will be done by one step only! You need to extend vardefs to make importable required.
Let's see how

To extend vardefs we need to create a file.

custom/Extension/modules/<module_name>/Ext/Vardefs/<anyname>.php

<?php
$dictionary["<MODULE_OBJECT_NAME>"]["fields"]["<FIELD_NAME>"]["importable"]='required';

Now go to Admin > Repair > Quick Repair and Rebuild. 
You are done!

Feel free to leave comments.

1 comment:

  1. Thanks for such social platform which give us variety of idea to explore ourself technically .This exposure give benefits to everyone to fit or to survive in global market which is very essential in the global era.
    Time Attendance System

    ReplyDelete

Urdhva Tech Pvt. Ltd. Powered by Blogger.

Urdhva Tech

My photo
SugarCRM Consultants Contact us at contact@urdhva-tech.com Skype : urdhvatech

Search This Blog

Stay connected Socially

     

Total Pageviews

Popular Posts