Hey Guys,
I have an issue which I dont believe was documented in SDK material. Basically I an using a custom OpenCmd which is written following the examples from the SDK.
As part of the OpenCmd's Execute implementation I access the ContextItem Collection, specifically the "SelectNRTDocuments" item. Now for opening actual document objects (e.g. in the users worklist) this works fine, however when opening shortcuts (e.g documents from the user's "my favorites") the application generates the following error:
"Unable to process open command
Manage32: Value does not fall within the expected range."
I have cross checked the cause of the error by isolating the issue to when attempting to access the "SelectNRTDocuments" in the ContextItem Collection, after choosing to open a document shortcut (i.e. a document in "my favorites" list).
Now what I feel this points out is that when trying to access document objects in the "my favorites" list, the selected documents are no longer represented by the "SelectedNRTDocuments" context item. My question is, is this because the items in "my favorites" are actuallys shortcut objects? If so how am I expected to utilise the shortcut objects to access the actual document objects?

More fundamentally, is this even documented in the sdk?:eek: I have taken a look through all pdf's from the sdk and not a single mention that opening a document from the "my favorites" list needs to be handled differently! What's going on?