add method to create URL string from objects on staves.