Manually creating Custom field without studio

Hello everyone,

I hope you all are great. I’m new to SuiteCRM and I wanted to get help regarding how to create the custom field in any form/module without a studio.
I have searched a lot but haven’t got any summarize information that how to step by step approach I can use to make custom fields without a studio.

Thanks in advance.
Marry Christmas. :christmas_tree:

Hi, @talhaishtiaq944
There are many possibilities. Some examples.

  • look at parameter “function” in file:
    • modules/Opportunities/vardefs.php.
  • look at files in directory: modules/Opportunities/views/
  • look at parameter “includes” in files:
    • modules/Accounts/metadata/detailviewdefs.php
    • modules/Accounts/metadata/editviewdefs.php
  • look at parameter “customCode” in files:
    • modules/Calls/metadata/detailviewdefs.php
    • modules/Calls/metadata/editviewdefs.php
1 Like

You have to add vardef definition to the extension framework as described here.
and do quick repair & rebuild. you will have a query to execute for the newly added field.
then after you can add that created field to the view via studio or you can add that manually at custom/modules//metadata/<editview/listview/detailviewdefs.php>
and do a quick repair and rebuild.

1 Like

Also, to add to the excellent answers already present here, a good technique to actually learn how Studio does things (so then you can do it manually) is this: