I am writing a program that will create new documents based upon existing ones, all works well unless the document is set for visible to a different associate (and most likely group) to the identity that the program is running under.
In this case the Document data does get returned by Id but not all of it, eg Associate is null, Contact, Person, Project, Sale are also all null.
So i decided to use a FindAgent and a DynamicFind to get the Appointment_Id from the Document_Id and from there then get the other Ids from the Appointment table using the returned appointment_id. Unfortunately the Dynamic find also seems to respect the sentry mechansim.
Is there anyway around this? IE fetch the Associate_Id, Contact_Id etc from a given DocumentId without having to set sentry "Ignore = true" in the config file (which I do not want to do) I also want to use just web service calls and not make netserver or direct SQL calls.