tridion

Problems detecting when we are doing CMS Preview vs Dynamic Preview in 2012 UI/XM

跟風遠走 提交于 2019-12-10 17:19:42
问题 I have template code (2011 SP1) which detects if a CMS Preview was being used by checking engine.RenderMode (which would be PreviewDynamic ). This would then ensure that stuff that would usually be added by the app server for the published pages (like CSS, JS, navigation elements etc.) is injected to the rendered output so the preview looks nice in the CMS. The Tridion 2012 UI/XM creates temporary files for dynamic preview, and it turns out that in Publishing these files, the render mode is

How to resolve “Tridion is undefined” error in a Tridion popup page?

丶灬走出姿态 提交于 2019-12-10 17:08:09
问题 I am customizing the ribbon toolbar and adding a button to it. Whenever I click on that button, it will open a aspx page allows authors to select some data, which gets appended to the existing RTF field content. But when popup is opened it is having the below error in the browser (Internet Explorer). Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E;

Tridion Event System Timeout

好久不见. 提交于 2019-12-10 16:53:33
问题 I am currently running Tridion 2011 SP1. I am writing some code that runs whenever a page is published. It loops through each component template in the page, gets the component and writes out various fields to an XML document. For pages with many component templates or components with many fields this process can take a while to run. If the process takes more than 30 seconds I get an error The operation performed by thread "EventSystem0" timed out. Component: Tridion.ContentManager Errorcode:

How to get the current field name in Tridion?

家住魔仙堡 提交于 2019-12-10 16:29:28
问题 I adding a button to the ribbon tool bar in Tridion 2011 SP1. When I click on the button it will open an aspx page.Inside that aspx page I need to access the current field name where the cursor is presently. Please provide me which object to be used? For schema name I used $display.getView().getItem().getSchemaId() . Similarly is there any way to get the current field name? 回答1: The closest I got is using this code (in the Component edit window): $display.getView().getSourceEditorName() This

Tridion 2009 TBB: How do I determine if a Page is published to particular publication target?

偶尔善良 提交于 2019-12-10 15:52:05
问题 In a TBB using the TOM.NET API I want to get a list of pages which are published - basically I'm building a sitemap. I am trying to determine if a Tridion.ContentManager.CommunicationManagement.Page is published. There doesn't seem to be an IsPublished property or the IsPublishedTo method. Is there a Filter condition I can add? E.g. pageFilter.Conditions["Published"] = "true"; In response to comments: I'm using the TOM.NET API and I want to get a list of pages which are published - basically

Can we automate migrating to SDL Tridion?

醉酒当歌 提交于 2019-12-10 15:23:14
问题 We are done migrating a website from old CMS to SDL Tridion. We have thousands of clients out of which fewer than five are migrated. Now let's say we need to automate migrating the rest of the thousands clients, obviously we can not use manual effort. Is there a way to develop automated solution against SDL using any APIs it may provide? If yes where can we find documentation for APIs? Any Books or online tutorials for the same? 回答1: Regardless of the CMS, the complexity of a migration can be

MaxLength restriction for MultiLineText field in SDL Tridion 2011

拥有回忆 提交于 2019-12-10 14:56:24
问题 My schema source looks like follows: <xsd:schema xmlns="uuid:b8fd4596-56ec-4718-ad00-bf2a70a148c2" xmlns:tcmi="http://www.tridion.com/ContentManager/5.0/Instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="uuid:b8fd4596-56ec-4718-ad00-bf2a70a148c2"> <xsd:import namespace="http://www.tridion.com/ContentManager/5.0/Instance"></xsd:import> <xsd:annotation> <xsd:appinfo> <tcm:Labels xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> <tcm:Label

Tridion UI - Preview Not Updating

别等时光非礼了梦想. 提交于 2019-12-10 14:54:25
问题 Today I have installed Tridion UI according to the documentation on http://sdllivecontent.sdl.com/. All seems to be working with the exception of "Update Preview" function. After making a change to a component the page correctly shows that the preview is out of date but clicking the "Update Preview" button reloads the page with no error other than the same warning being displayed "The preview for this page is not up to date". I see there is another post related to this (Tridion New UI Preview

Tridion 2011 SP1 - Transport service failed to transport

泄露秘密 提交于 2019-12-10 14:47:31
问题 When I publish I get the following error: Transport service failed to transport. <Summary state="Failed" referenceId="tcm:0-122-66560"><Error>Transport failed for transaction: tcm:0-122-66560. Error while generating transaction summary.null</Error><Processing><Context topic="Content Delivery"><IsRollbackOnFailure /></Context></Processing><Target /></Summary> The cd_core.log contains the following: 2012-07-09 13:41:07,497 DEBUG TransportService - Starting handing of a transaction 2012-07-09 13

Getting root publication of component

亡梦爱人 提交于 2019-12-10 13:56:51
问题 Let’s assume the following publications for this question. 20 Content -> tcm:0-20-1 … … … 70 Web -> tcm:0-121-1 I’ve a component created under ( 20 Content ) publication and I’m publishing this component from one of the child publications ( 70 Web ). I’m using Dreamweaver template to write UI and I'm calling C# custom functions from DWT. While publishing, this component will be referred as 121-432 in component presentation. Is there any way to get the root publication of where the component