Dynamic targetURL for the object id permalink page query