Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
IManExt.OpenCmd.Integration = True, still launches application
WorkshareQA
Hi,
We're trying to check out a document and it's PRF file into the NrPortbl directory, without launching the application associated with the document's file type.
Using IManExt.dll 8.5.2002.12, we execute an OpenCmd with the following context items (as well as the required "SelectedNRTDocuments"):
IContextItemsPtr objContext( __uuidof(ContextItems) );
ICommandPtr pCmd( __uuidof(OpenCmd) );
VARIANT_BOOL bVar = VARIANT_TRUE;
objContext->Add(L"IManExt.OpenCmd.Integration", bVar);
When pCmd->Execute is called, it checks out the document/PRF but also launches the associated application.
Do we need to set other context items for the OpenCmd, or are we setting the Integration value incorrectly.
Many thanks,
Giles.
Find more posts tagged with
Comments
WorkshareQA
Changing the Add call to use a 'bool' typed parameter, rather than VARIANT_BOOL, appears to resolve this:
objContext->Add(L"IManExt.OpenCmd.Integration", true);
Maybe something to update within the documentation.