Salesforce Fact #182 | Create field on object from developer console

Do you know we have an option to create field in object while coding in developer console. Currently it supports text, number and date type. Once the field is created, the FLS and page layout enablement is not done automatically, We need to take care of those. But still it is a useful option to create new field on the fly.

Attached are the screenshots.





 

Comments

  1. Thanks to figure it out but i tried same but no such options are coming in dev console to create a field..
    Do I need to enable anything before trying??

    ReplyDelete
  2. Hi...do you have the system admin profile assigned. Please check.

    ReplyDelete
    Replies
    1. Then you should get actually. Are you getting the option to select other fields.

      Delete
    2. Not getting these options after using add function as well

      Delete
    3. Ok. I think the code completion is not working for you.

      Delete
    4. Now Working it's very helpful. Thank Abhishek
      Previously I was using Anonymous Window.

      Delete
  3. Nice Post.
    You can also create bulk custom fields in salesforce using BOFC

    ReplyDelete

Post a Comment

Popular posts from this blog