小编ran*_*rld的帖子

在SDL Tridion中创建和部署Windows服务发布页面

我们的要求是安排内容页面的内容发布在Tridion CMS应用程序中以重复的间隔运行.我们目前正在使用Tridion 2009 SP1版本.

根据专家的建议如下:Tridion 2009 SP1:如何为重复发布安排内容页面? 我们创建了一个简单的C#控制台应用程序,它引用了Triond Interop .dll,如下所示:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tridion.ContentManager.Interop.TDS;
using Tridion.ContentManager.Interop.TDSDefines;
using Tridion.ContentManager.Interop.msxml4;
using System.Configuration;

namespace SchedulePublish
{
class Program
{        
    static void Main(string[] args)
    {
        //Please use your system related corresponding webdav url's and tcm id's where ever required. Below are just sample :)
        TDSE tdse = new TDSE();
        //Give some identity that has access rights on tridion UI
        string Identity = @"Domain Name\Username";
        tdse.Impersonate(Identity);
        tdse.Initialize();

        string …
Run Code Online (Sandbox Code Playgroud)

development-environment windows-services scheduled-tasks tridion

-2
推荐指数
1
解决办法
394
查看次数