use*_*917 7 tridion tridion-2011
我必须安排一个页面每周自动发布一次.我没有看到任何盒子功能来安排它.如何使用SDL Tridion 2011 API实现这一目标.
您最好的选择是编写一个使用SDL Tridion核心服务的小命令行或电源shell脚本,然后安排它使用Windows任务计划程序运行.一旦您创建了一个Core Service客户端(这里有很多示例),您可以按如下方式调用publish方法:
_client.Publish(pageId, publishInstruction, targets, priority, readOptions);
Run Code Online (Sandbox Code Playgroud)
如果您需要更多详细信息,请从以下URL下载CoreService API并搜索"ICoreService2011.Publish":
https://www.sdltridionworld.com/downloads/documentation/SDLTridion2011SP1/index.aspx
| 归档时间: |
|
| 查看次数: |
394 次 |
| 最近记录: |