Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8876609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:15:11+00:00 2026-06-14T19:15:11+00:00

I have an object called A which maintains the relevant details of that object

  • 0

I have an object called A which maintains the relevant details of that object and it is related to another object called B. the field which is relevant to object A is present in object B. When that field in object B is entered i want the corresponding fields from object A to be auto fetched in object B. How is it possible? How can i perform this.? Your ideas pls

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:15:13+00:00Added an answer on June 14, 2026 at 7:15 pm

    If you’re fine with it happening in background (once user saves the changes) then your best option would be simply a formula field on Object B that has syntax similar to Object_A__r.Needed_field__c.

    If it has to be automatic but allow users to override the values later – read about workflows and field updates in the online help. Rule could be “ISNEW() || ISCHANGED(Object_A__c)” and the actions would be field updates that get data from new selected A and fill it on B.

    In case of more complex logic – trigger on B might be needed.


    But if you want it to be really visible in realtime (user picks an A record in the lookup, values change right on the new/edit page, he picks another A, values change again) – you’ll have to build some Visualforce I’m afraid. There’s an answer to similar question on Salesforce Stack Exchange that should get you started.


    Whatever you’ll decide to go on with remember that first options are less intrusive. Sure, it will be not as flashy and cool for your users, but it will be reliable, easy to maintain (configured just with clicks, no code) and will work even if you’ll later have to perform mass data load/update with external tools for example.

    Visualforce Page for creating/editing will look nice but mass updates will bypass it and you’ll need to maintain this page every time you add a new field because it will be hard to reuse standard page layout.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have a model object 'Person' defined, which has a field called 'Name'.
I have a hibernate object called User which has a many-to-many relationship with another
I have Range object called DestinationRange which references range B3:H63 I want to apply
I have an object called Result<T> that has a constructor which accepts an argument
I have an object called human and that object has a field called job.
I have an object class called BOM. It has a method, getChildItem() which returns
I have a seed object which has an instance method seed:fall() which is called
I have a class with a Property called 'Value' which is of type Object.
I have a an object stored in the model called domain, which has two
I have an object called Layer that has some attributes and some methodes. i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.