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)
First sentence of Word document in Description Field
System
We're using XP, FileSite 8.1 and Word 2003.
I'm trying to force the first sentence of the Word Document into the New Profile Dialog Box
I put a file named NewProf.nrs in Program Files\Interwoven\WorkSite\scripts containing:
Const nrDescription = 3
Sub NewProfileDlg_OnInitDialog(dlg)
dim sSentence
Dim oNRTDocument
Set oNRTDocument = dlg.NRTDocument
sSentence = oNRTDocument.Sentences(1)
dlg.SetAttributeValueByID nrDescription, sSentence, False
End Sub
I don't seem to be accessing the document object the correct way. When I save a new document into FileSite the error message is:
Type: Microsoft VBScript runtime error
Description: Object required: 'oNRTDocument'
Line: 8
Error Code: 0
SCode: 800a01a8
Any thoughts?
Thanks,
Liz
Find more posts tagged with
Comments
There are no comments yet