Corrected generating link for edit metadata