Blogs
30
January
January
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.
Now go to Admin > Repair > Quick Repair and Rebuild.
You are done!
Feel free to leave comments.
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';
$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.
Download attachments:
Comments
- No Comments Found.