Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
IManDocument
SandyD
I have an issue where the profiled author name being returned from the IManDocument class is not returning the most up to date information on that user.
For example, the surname of an existing user is changed (e.g. when they get married). The value is updated through Worksite (e.g. Worksite Web) by the Interwoven Administrator. The changes are visible from the MailSite (8.0) profile dialog and from any admin screens that display the details of the user.
However, when I invoke the GetAttributeValueByID(imProfileAuthorDesciption) method of an IManDocument object, the old value is being returned, as if this object is being cached on the middle-tier worksite server.
For example, the following Word VBA function is being called within the FileNew() method:
Public Sub sGetDOCSInfo()
With g_WordApp.CurrDoc
vAuthorFullName = .GetProfileInfo(imProfileAuthorDescription)
vAuthorID = .GetProfileInfo(imProfileAuthor)
vClientNo = .GetProfileInfo(imProfileCustom1)
vClientName = .GetProfileInfo(imProfileCustom1Description)
vMatterNo = .GetProfileInfo(imProfileCustom2)
vMatterName = .GetProfileInfo(imProfileCustom2Description)
vLibrary = .GetProfileInfo(imProfileDatabase)
vAuthorEmail = .Parent.IWApp.IWUser(vAuthorID).EMailAddress
vAuthorDDI = .Parent.IWApp.IWUser(vAuthorID).DDI
vVersion = .GetProfileInfo(imProfileVersion)
vDocNo = .GetProfileInfo(imProfileDocNum)
vDocType = .GetProfileInfo(imProfileClass)
vUserInits = .Parent.LoggedInUser.UserID
vLibraryShort = .Parent.IWApp.IWSession.IWSpecificDatabase(vLibrary).Description
vTypistFullName = .GetProfileInfo(imProfileLastUserDescription)
vTypistID = .GetProfileInfo(imProfileLastUser)
vTypistEMail = .Parent.IWApp.IWUser(vTypistID).EMailAddress
vTypistDDI = .Parent.IWApp.IWUser(vTypistID).DDI
End With
End Sub
Do you know what I can do to ensure that the method being invoked always returns the latest data?
Technical Environment Summary:
* Word 2002
* Windows XP
* Desksite/Filesite 8.0
Many thanks for your help.
Find more posts tagged with
Comments
There are no comments yet