Hi shripaldalal,
In your code above the script can't access
Cheers!
In your code above the script can't access
documentid
because it's a private field. To fix the problem, either make it public or expose Me
like this:cs_engine.AddRestrictedHostObject("me", HostItemFlags.PrivateAccess, Me)