there is no automated way to create the details page link, you create that link using the link tool in the properties inspector just like any other link.
the difference with the details page link is that you need to add a parameter to pass the ID.
see the Creating a details page section of the Database starter kit tutorial for detail:
http://www.webassist.com/community/tutorials/view_tutorial.php?tid=104