(Were about to upgrade from LF8 to LF9)
Have a [C#] web service originally built on SDK8 that pulls various documents as PDF files.
Now I'm spinning off a SDK9 version to test against the new server.
All the web services operations still work except the one that involves document shortcuts.
I don't know if it's a setting they need to tweak on the new LF server/repository, or if it something I need to adjust for on my end.
Using
instFileID = Results.GetDatumAsString(1, SystemColumn.Id);
I get a number to feed the following..
DocumentInfo docInfo = Document.GetDocumentInfo(Int32.Parse(instFileID), session);
The entry Id seems to be that of the shortcut "7773434", which works fine in 8 but not 9.
From the client I figured out the 'Real' document is "7773426", and if I force that as the 'id' it can pull the document like before.
I've tried to figure out how to use something like EntryLinkInfo and TargetId??
But without an actual example to learn from I'm lost.
Q1: Is there something I can tell the Server people to change in Laserfiche to make it act like the old 8 server? (i.e. make the shortcuts work again)
Q2: If not, how do I get that 'real' Id when my results seem to only have the 'shortcut' one?
(Gee I hope any of that made sense for you)
Thank you for any help.