quote:
Originally posted by HissingSid
I'm currently running version 8. If I click on the link to an actor with an apostrophe in their name such as O'Niell or D'arcy I get a file tree view come up in the card rather than the actor's details.
Oops. Indeed the single quotes would need escaping or else the window.external - call will fail.
With vbscript it would be something like this:
escName = Replace(_MOVIE_ACTORS_NAME_,"'", "\'")
All occurences of person links in all cards need treatment - quite an effort... ...maybe, if the cards have to get changed anyway, the call to artist cards could get simplified just using the id (so the update would be easier - just remove the second part of the window external call for person links). There's no obvious reason to add the name there anyway or is there?
Update: If there will be a change for the window.external call for person entries the opportunity could be used to remove redundant call syntax - something like window.external.COLLECTION_PERSON should do the trick or is it possible to create different cards for directors (crew members) and actors (cast members)? I couldn't find anything in the current documentation about it ...