Microsoft Content Management Server - dynamic page creation

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2004 > dynamic page creation





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author dynamic page creation
Susan Mehringer

2004-08-24, 7:00 pm

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)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com