Linking A Button To Dynamic Page Through Code

This post could be helpful to you, it looks like they were able to solve the problem.