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
Sandeep M 1Sandeep M 1 

Auto Populate values in fields of custom object

I have an Custom_Object_A__c which has a look up relation with Custom_Object_B__c. 
Custom_Object_A__c has a field NumberS__c (Number(15,0)).
Custom_Object_b__c has a field parentNumber__c((Number(15,0))
When i want to create a new record in Custom_Object_b__c then i need to autopopulate parentNumber__c field with NumberS__c  value. How can i achieve without using URL hack ?
ShashForceShashForce
You may have to use VF. Please see if this helps: http://force201.wordpress.com/2012/01/22/hack-to-find-field-ids-allows-a-default-ui-new-page-to-be-pre-populated/
Sandeep M 1Sandeep M 1
Is there no way to use workflow other than using VF page ?
ShashForceShashForce
You can use workflow to update the fields after you save the record, but you cannot use workflow to prepopulate fields.