Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ValuesManager.setValues() from a Record?

    Is there a way to set values for a ValuesManager using a Record. I know there exists setValues(Map) but the data we get is in the form of a Record from a fetch. I tried constructing a Map using Record.getAttributes() and then Record.getAttribute(attribute) but boolean values get converted to Strings. I also tried Record.getAttributeAsObject() and Record.getAttributeAsJsObject() but I get casting errors with those. Any help is appreciated. Thanks!

    #2
    Something wrong with ValuesManager.editRecord(record)?

    Comment


      #3
      That's exactly what I needed. Must've overlooked it trying to find something like setValues(Record). Thanks, again!

      Comment

      Working...
      X