tridion

ASP.Net CMS recommendation, Orchard, Sitefinity, Umbraco or N2? [closed]

僤鯓⒐⒋嵵緔 提交于 2019-12-20 10:26:53
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Over the past 3 years I have been using (...shamefully) SharePoint 2007, DNN and Tridion to develop web portals. I am however looking

How to get tcmid of currently logged user in Tridion?

大兔子大兔子 提交于 2019-12-20 07:50:46
问题 private void Subscribe() { EventSystem.Subscribe<User, LoadEventArgs>(GetInfo, EventPhases.Initiated); } public void GetInfo(User user, LoadEventArgs args, EventPhases phase) { TcmUri id = user.Id; string name = user.Title; Console.WriteLine(id.ToString()); Console.WriteLine(name); } I wrote above code and add the assembly in config file in Tridion server but no console window is coming on login of a user 回答1: The event you were initially subscribing to is the processed phase of any

How to get the published timestamp of a page or component using SDL Tridion TOM.NET API

拈花ヽ惹草 提交于 2019-12-19 19:05:35
问题 I'm trying to get hold of the published timestamp for a given page or component to a given target using the TOM.NET API. It isn't immediately obvious under the Page or Component object, can someone point me in the right direction? 回答1: You can use the PublishEngine.GetPublishInfo(IdentifiableObject) method for that, it returns a collection of PublishInfo objects which holds the dates and other (publish) information available for the given item. 回答2: Thanks to Bart's answer above, I've knocked

How to get the published timestamp of a page or component using SDL Tridion TOM.NET API

主宰稳场 提交于 2019-12-19 19:03:52
问题 I'm trying to get hold of the published timestamp for a given page or component to a given target using the TOM.NET API. It isn't immediately obvious under the Page or Component object, can someone point me in the right direction? 回答1: You can use the PublishEngine.GetPublishInfo(IdentifiableObject) method for that, it returns a collection of PublishInfo objects which holds the dates and other (publish) information available for the given item. 回答2: Thanks to Bart's answer above, I've knocked

Which API can I use for writing SDL Tridion workflow activities?

懵懂的女人 提交于 2019-12-19 07:04:49
问题 I would like to create workflow using SDL Tridion 2011 SP1, and i am going through the documentation in the live content portal. I have few questions when I go through the documentation as follows: Can I use C# (TOM.NET) for automatted activities/decisions? or should I use only VBScript (TOM) ? Is there any sample code given in the live content portal for automatted activity/decision? If C# (TOM.NET) is not allowed to use in workflows, why are its namespace/class/member references given there

Get a field's _current_ value in Component Editor? (Tridion 2011 SP1)

↘锁芯ラ 提交于 2019-12-18 15:08:30
问题 I'm writing an extension to the "Save" Command, where basically I want to validate certain fields and present a popup allowing the editor to select a given keyword or other values based on current date, a Release # and some other attributes. I thought I was doing good progress until I finally figured out that $display.getItem() is returning the item as is stored in CM, not the current values that the editor may have changed. Is there a built-in method to get me this information? Or do I need

Continuously Update Preview alert on SDL Tridion UI 2012

与世无争的帅哥 提交于 2019-12-18 13:14:00
问题 I am trying to establish new SDL Tridion UI 2012 functionality on some test (default) pages. I am continuously retrieve "The preview for this page is not up to date" alert despite the fact that I click on "Update preview" several time. I was using virtual image, so anyone else is not possible to edit page except myself. No matters which component changed. I have taken a look into cd_core.log file on "session preview" web service side and find these nodes interesting: INFO

Faulted State error while creating component with Core Service

那年仲夏 提交于 2019-12-18 08:26:09
问题 I get a "faulted state" error when working with the Core Service in SDL Tridion 2011 SP1. What's wrong with the following? namespace coreservice1 { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { try { using (ChannelFactory<ISessionAwareCoreService> factory = new ChannelFactory<ISessionAwareCoreService>("wsHttp_2011")) { ISessionAwareCoreService client = factory.CreateChannel(); string SCHEMA_URI = "tcm:7-426-8"; var schemaFields =

Create an item in Tridion 2011 using Core Service

折月煮酒 提交于 2019-12-18 06:12:28
问题 In Tridion 2011 I want to use the Core Service equivalent of UpdateXml to create new Tridion objects in a generic way. I intend to create new Components, Pages and later on Folders and Structure Groups. It works quite well using UpdateXml but I am having a problem with casting the RepositoryLocalObject (or another generic-type object) to a ComponentData object with the Core Service. My Core Service code is much longer (and growing by the second). Error message when I try to access on object

How to handle nested repeating regions in Dreamweaver TBBs in SDL Tridion 2011 SP1

别说谁变了你拦得住时间么 提交于 2019-12-17 13:00:34
问题 I am working on DWT TBB in SDL Tridion 2011 SP1. I have a embedded field "body" which is multivalued. In this embedded field I have one more simple Text field "value", which is again multivalued. To render the "value" field I have to use two repeating loops. But I am unable to differentiate the Indeces of the both loops. I have written as follows. <!-- TemplateBeginRepeat name="Component.Fields.body" --> <!-- TemplateBeginRepeat name="Component.Fields.body[${TemplateRepeatIndex}].value" -->