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)
Launching DCR in edit mode from asp page
vahu
Hi all,
Has anybody out there tried to have an asp page list all the DCR's in a specific data folder and then being able to edit the dcr selected from the list in Templating mode ?
The asp page of course reside in a TS WA.
Find more posts tagged with
Comments
Gregg Faus
This wouldn't be to difficult to accomplish. Your ASP page would use this algorithm:
1) Create a FileSystem directory and file object and set the directory to the data folder.
2) Iterate through files in the directory and display the file name with the edit sce command. E.G.
http://servername/iw/webdesk/edit?vpath=/default/projects/WORKAREA/common/templatedata/Templates/TemplateDir/data/dcr
3. Close your file sys objects.
This approach is decent if you adminstrate the dcr from TeamSite. Sometimes you might want a DCR index on another server (probably your production web server). I'm currently working on a way to deploy a XML index file which would allow you to point to your DCR from a remote server. This file would be regenerated anytime DCRs in a specific category are modified.
-gf