Pass mapid to the edit link