Hi All,We're migrating from DeskSite 8.0 to 8.2 and in the process a particular application that was working fine in 8.0 doesn't work anymore in 8.2.On investigation , I found that the 'Show' method of EditProfileDialog is throwing error. The following code snippet might help in understanding the problem:Dim pdoc As IManage.NRTDocument. ... Set EditPrfDlg = New IMANEXTLib.EditProfileDlg Set pdoc = MySelectedDocs(0).Database.CreateDocument EditPrfDlg.NRTDocument = pdoc 'EditPrfDlg.SetAttributeValueByID nrCustom25, True, True EditPrfDlg.CloseOnOK = True EditPrfDlg.Show hWndThe highlighted text throws error the moment the dialog box pops up. The erorr is either of the following two :1. [NRTDocument ][Document Extension(get) ]Access is denied.2. [NRTDocument ][GetAttributeByID ]Access is denied.Could you please let me know what changes are required in the code to make it DeskSite 8.2 compliant.ThanksSatadru
Hi,Thanks for your reply. The problem is with the line EditPrfDlg.Show hWnd. This code piece is used to change profiles of multiple documents in DeskkSite. Users can select as many as documents from the worklist and then change the profile of all selected documents at once by right clicking on them.The problem that I'm facing is when I'm invoking the IMANEXTLib.EditProfileDlg show method in 8.2, however in 8.0 it works perfectly fine. The errors displayed depends on the database I select , but it's always either of the following two :1. [NRTDocument ][Document Extension(get) ]Access is denied.2. [NRTDocument ][GetAttributeByID ]Access is denied.Do you think it might have to do with the following line :EditPrfDlg.NRTDocument = pdoc where :1. EditPrfDlg = New IMANEXTLib.EditProfileDlg 2. pDoc = pdoc = MySelectedDocs(0).Database.CreateDocument3. MySelectedDocs is an array of IManage.NRTDocument.ThanksSatadru
Dim pdoc As IManage.NRTDocument. ... Set EditPrfDlg = New IMANEXTLib.EditProfileDlg...ThanksSatadru