Skip to main content
edited tags
Link
Monalisa Das
  • 890
  • 1
  • 13
  • 34
Source Link
Monalisa Das
  • 890
  • 1
  • 13
  • 34

Why formula field in not allowed in custom metadata

I had a requirement where I need to show list of buttons in a record edit form page. These values I am taking from custom metadata record. Fields in custom metadata records are Market(Logged in user's market like IN,TR,MY), and buttons (Save,validate,cancel etc)

Till now we were using english language only but now there are markets that needs to show button labels as per current logged in user's locale language(not english).

So I have thought that I will create a text formula field with values something like - {Save,$Label.Save}, {Cancel,$Label.Cancel},

The first value will be for communication with JS and the label value for Displaying Button Label

But found that we can not create formula field in custom Metadata. Though I have other alternative solution for the problem, was thinking why formula field type is not allowed in custom metadata?