Question
Can we reinitLink with custome URI schema?
Hi everyone,
I have developed an InDesign Plugin with a custom link handler (ILinkResourceFactory) with a specific schema, e.g: XXX://path
static const WideString k_fileScheme("XXX");
void CusDtLnkLinkResourceFactory::GetSchemes(K2Vector<WideString>& schemes) const
{
schemes.clear();
schemes.push_back(k_fileScheme);
}It works perfectly fine!
However, while working with INDD Server script, I have no way to relink to a link with my custom schema, it seems that accepts only schema file:
// This line works
link.reinitLink("file://path");
// This line does NOT work
link.reinitLink("XXX://path");
Is there any way to relink with a custom schema so my plugin can regconize it?
Thanks very much!
