I am using <force:recordData> to display my record details in lightning component. Here I have a scenario where I need to split an api field[based on a key] and to display the values in 3 fields.

<force:recordData aura:id="recordHandler"

Since the record details are fetched directly I am not able to manipulate the record data. Can anyone help in this?

  • 1
    You will have to create a custom component – glls Mar 13 '18 at 11:11
  • Sorry, I am not able to get your idea. Can you explain in detail? – Aruna Mar 13 '18 at 11:15

If you need to split the field out and display it in 3 separate places, as well as making updates to that field, you will need to utilise the JS Controller or Helper to do this, you will then need to utilise a Server-Side/Apex Controller to handle the updates to the record data.


Other than the attributes/events exopsed and documented at force:recordData, you cannot use the out of the box component to achieve what you want. You will have to "Code" aka, create your own lightning component to have control over how and what you want displayed in your form.

The components are little black boxes that can't really be tampered with.

  • do you mean to remove <force:recordData> and to use some other way to fetch and display the record details? – Aruna Mar 13 '18 at 12:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.