Create and display ui-only field with javascript?

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I know I've seen this done in a few different threads. Can someone point me in the right direction? I'd like to create some fields just for the UI that I don't need to store in the SFDC object.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Currently the only way this is supported is to leverage another field from a sObject.  Give it a custom renderer and define as you will in Javascript.  You can reuse the same field again and again. 

We are working on "UI only fields" but they are not available yet. 
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Me likee!
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Makes sense. Thanks, Rob!
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Just noticed this:


Anything you can share on when/how that can be used?

Thanks!
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Dang - you just can't hide anything.. 

So as you can tell,  we're working on it.   Documentation and builder capabilities coming.  That's all I can say right now.