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)
Workspace Information from NRS Script
pennyg
Hi, it is possible in Version 9.0 of iManage to obtain Workspace information from within the fileSave.NRS script, in particular the Workspace name when IManFileSaveCmd_PreOnOK fires?
thanks
Find more posts tagged with
Comments
narek1
Hi
Not sure but you get info on OnInitDialog
//See sample code
Const nrDescription = 3
Const nrCustom1 = 25
Const nrCustom2 = 26
Const nrCustom3 = 27
Const nrCustom4 = 28
Const nrCustom5 = 29
Const nrCustom16 = 40
Const nrCustom23 = 47
Const nrCustom29 = 53
Const nrCustom30 = 54
Sub IManFileSaveCmd_OnInitDialog(dlg)
Dim c1
Dim c2
Dim c3
Dim c4
Dim c5
Dim c16
Dim c23
Dim c29
Dim c30
Dim lngArray
lngArray = Array(nrDescription)
dlg.RequiredList = lngArray
c1 = dlg.GetAttributeByID(nrCustom1)
c2 = dlg.GetAttributeByID(nrCustom2)
c3 = dlg.GetAttributeByID(nrCustom3)
c4 = dlg.GetAttributeByID(nrCustom4)
c5 = dlg.GetAttributeByID(nrCustom5)
c16 = dlg.GetAttributeByID(nrCustom16)
c23 = dlg.GetAttributeByID(nrCustom23)
c29 = dlg.GetAttributeByID(nrCustom29)
c30 = dlg.GetAttributeByID(nrCustom30)
End Sub