If you want to get help with a development issue, you will need to by MUCH more detailed than that. What does your code look like? Where is it located? Which error messages do you get?
So your button calls some code, what is that code?
after clicking on the create note button i want to fetch that record id and want to autofill the related field lead using that record lead id in create note.
i want the same functionality that appears after opening a lead below the history tab create note with autofill related lead name on list view of lead using that button ‘create note’ in list view
create note button display in lead list page .i am click that button open note creation form but lead subject and lead relate to blank .how to get that value in that field.