Is there a script or way for batch adding Relationships to a Work from the search results page?

I was actually surprised that your modification seemed to work using the relationship type’s MBID – but I also didn’t try to submit. Interesting that it seemingly displays the new relationships correctly nevertheless…

I hope you didn’t get crazy staring at the minified code of the bookmarklet, the source code (which is linked via the section heading on GitHub) is much more readable and better documented. Actually there was even an example on how to use a custom relationship type (using the internal numeric ID), but it hasn’t really been promoted as such:

But this doesn’t matter any longer, I’ve published a new version of the bookmarklet which checks for an active relationship dialog and tries to use its selected relationship type (before it falls back to the old behaviour of using the default relationship type). I’ve also updated the description in my bookmarklet support thread accordingly.

3 Likes