function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Nish321Nish321 

Populate fields of a custom object in another custom object

Hi,

How do I autopopulate the fields of object A in object B.  So if a user clicks on  'New License' (which is in related lists of object A), the user will be navigated to object B. Here, the Region field in object A should be autopopulated in B. 

FYI, 'Region' in object A is formula field and 'RegionT' in object B is picklist field.

Thank you.
Shashikant SharmaShashikant Sharma
You could achieve it by
1. Overriding native view with VFP
2. If you are using native layouts then there is no direct way of achiving it but you could achieve it by this approach

http://salesforce.stackexchange.com/questions/937/how-do-i-prepopulate-fields-on-a-standard-layout


Thanks
Shashikant
Nish321Nish321
Hi Shashi,

I used the URL hacking as you've mentioned in the second point. I am able to populate few fields but 'Region' field (cross object formula in Registrations page) is not being populated. 
akkkakkk
its simple for auto populate the filed object 1 to other object 2 field 
first go to the object 2 and create a formula field according to your need select the field type and create
object1.filedname