I want to populate a custom text field with the ID of the parent record chosen in another lookup field. What is the best approach towards implementing this? Is trigger the only way with this, or is a non programatic method available?

Thanks in advance.

  • Are Text field and lookup field on the same object? Apr 27, 2016 at 9:26
  • @AnitaBhanarkar Yes they are
    – Prajith
    Apr 27, 2016 at 9:45

1 Answer 1


You can use formula field instead of text if possible. No need to write trigger.

  • I am planning to use the field for matching rules, thanks for the suggestion though.
    – Prajith
    Apr 28, 2016 at 6:28

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.