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)
iManageExtensibility OnCreateNewProfile
sammy3d
Hi,
I am trying to pre-populate the New Document Profile dialog. But for some reason I am unable to catch the 'onCreateNewProfile' event. However, I am able to catch the 'DocumentBeforeSaveAsOptions'. Not sure what am I missing in the 'onCreateNewProfile'. I will really appreciate if someone can guide me in the right direction.
I am using iManage 8.2 SP1 and Office 2007.
This is what I am trying:
Public WithEvents objExtensibilitySink As iManO2K.iManageExtensibility
Public Sub SinkIManageExtensibility(objExtensibility As iManO2K.iManageExtensibility)
Set objExtensibilitySink = objExtensibility
End Sub
Private Sub objExtensibilitySink_DocumentBeforeSaveAsOptions(ByVal Doc As Object, IgnoreIManageSave As Boolean)
MsgBox "document before save as options"
End Sub
Private Sub objExtensibilitySink_OnCreateNewProfile(ByVal objImportCmd As Object)
MsgBox "onCreateNewProfile"
End Sub
Public Sub start()
Dim objIManageExtensibility As iManO2K.iManageExtensibility
Set objIManageExtensibility = Application.COMAddIns("oUTR02K.Connect").Object
Set objExtensibilitySink = objIManageExtensibility
End Sub
Find more posts tagged with
Comments
guido1
Are you working in a "matter centric" WorkSite client mode? In other words, are you seeing the enhanced workspace/folder browser dialog when you open or save documents in an integrated application such as Excel?
If so, you'll need to capture the OnIManFileSave event, a message which is sent just before the Enhanced FileSave dialog is about to be initialised.
The OnCreateNewProfile event fires when the "classic" New Profile dialog is initialised.
To play with the integration mode (classic or enhanced) you can alter the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Interwoven\WorkSite\8.0\Integration\Options\EnhancedApplicationIntegrationSave
and
HKEY_LOCAL_MACHINE\SOFTWARE\Interwoven\WorkSite\8.0\Integration\Options\EnhancedApplicationIntegrationOpen
Set the value to 0 (zero) for classic mode, and 1 for enhanced
sammy3d
oh....got it....Its working....Thanks a lot