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
KitaSanKitaSan 

Create custom object record from Task

I am trying to create a button on the task create that will create a custom object that is automatically associated with the Account that the task is associated with. 

 

On the custom object I have a lookup to Account, but it looks like in order to populate it I need both the account name CF00N80000004rohc= and account ID CF00N80000004rohc_lkid=. 

 

Using just the _lkid value doesnt seem to work... https://na6.salesforce.com/a0Z/e?CF00N80000004rohc_lkid=0018000000kwlAx

and as I am creating from the Task record, I cannot access the account name... 

 

Any help would be GREATLY appreciated!