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)
Description of a doc in nrs file
System
Hi All, I'm trying to create a nrs file (NewProfile.nrs and FileSave.nrs) in which I would like to modify the description of the doc before ok event, but I haven't found the way of capturing the description.
Does anybody know how to get it?
Thanks in advance
Javi
Find more posts tagged with
Comments
jny
The description field value is returned by the GetAttributeByID (NewProfileDlg) Method. The Attribute Enum ID is imProfileDescription or nrDescription which is represented by the numeric value 3 in scripting. Like so:
Const imProfileDescription = 3
Sub NewProfileCmd_PreOnOK(obj)
dim desc
desc = obj.GetAttributeByID(imProfileDescription)
msgbox desc
End Sub
See the SDK manual, Visual Basic Scripting for WorkSite Dialogs.pdf, for further clarfication and details.
Migrateduser
Thanks a lot for the information, it has been very useful
Cheers
Javi