08-25-04 12:00 AM
I am trying to create postings from a script,
unfortunately in cms 2001. I found what seems to be the
perfect sample code (thanks to links suggested earlier
this week) but unfortunately I've failed to get it to
work, or even a small portion of it, though I tried
everything I can think of. Here is the sample script:
"Importing Existing HTML Content into Microsoft Content
Management Server" found here:
http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/dnmscms01/html/imphtmlcnt.asp
I've tried running it as a separate script in /nr/shared,
I've tried incorporating it into a template, I've tried
half and half. I keep running into the same two
(seemingly simple) problems:
(1) when it's a standalone script, it complains at the
first real line in resolution.inc (which goes to
authenticate.inc) "option explicit".
(2) This doc and the api help seem to say I can change to
mode update by doing a redirect as shown here, but it's
not working, any suggestions?
If Not Autosession.IsModeUpdate Then
' redirect to this file, but with an update mode query
string added
Response.Redirect("thisFile?" + _
Autosession.RootChannel.QueryStringModeUpdate)
End If
thanks-
Susan
(2)
[ Post a follow-up to this message ]
|