Create custom button near text field in detail of record

Other solution is to add the button to the view in general. Take a look into this post:

Thanks,

AlxGr