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
Mei Ying \(MVP\)

2004-08-25, 4:19 am

Hi Susan

The first approach should work. Just ensure that option
explicit isn't declared on your custom ASP script and that
resolution.inc is included only once.

If you can, post your script here and we can take a look
at it.

regards
Mei Ying


>-----Original Message-----
>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