tridion-2011

How to get the Next Activity Details from the FinishActivityEvent Hanlder?

二次信任 提交于 2019-12-13 14:22:16
问题 I have subscribed WorkflowFinishActivityEvent with TransactionCommitted phase. I am getting the details of the current finished activity like below Performer of the current finished activity foreach(var performer in currentactivity.Performers) { string Performeroftheactivity= performer .title.tostring(); } Finish Message of the current finished activity string finishmessage = currentactivity.FinishMessage.Tostring() My Question: I would like to take the Next assigned activity title and

Need to get the XML of a component's that version which is published

ε祈祈猫儿з 提交于 2019-12-13 07:56:34
问题 We are iterating the components in a folder in Tridion 2011 and creating our custom XML to be used on CDS on the basis of the publishing status of component. I am giving below example to make you understand the problem. Supppose we have 10 components in a folder which are all published and we publish our XML then the XML gets generated for 10 items. Now we make change in one of the component and don't publish it. After modification of component, we publish the XML again. then the XML get

Creating Buttons using Usercontrol in Tridion Ribbon

安稳与你 提交于 2019-12-13 02:49:44
问题 I have created a usercontrol for having two buttons one below the other as <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewItemsGroup.ascx.cs" Inherits="SDL.Examples.UI.Controls.ViewItemsGroup" %> <%@ Import Namespace="Tridion.Web.UI" %> <c:RibbonItemsGroup runat="server" ID="RibbonItemsGroup"> <c:RibbonButton runat="server" CommandName="ViewStaging" Title="View in Staging" Label="View In Staging" IsSmallButton="true" ID="ViewStagingBtn" /> <c:RibbonButton runat="server"

How to Debug Tridion Templates and Workflows?

假装没事ソ 提交于 2019-12-12 16:08:14
问题 I am new to SDL Tridion world and I have been assigned a couple of activities: Create Page Template (PT), Component Template (CT), and a Sample Workflow. Basically I am experienced in .NET. I have some startup code to start with, and I would like to know is there any way to debug the PT, CT, Workflow from Visual Studio 2010? Your suggestion would be highly appreciated. 回答1: For compound templates either CT or PT, here is Tridion documentation (login required) with clear instructions on how to

Getting No bean named defined while implementing storage extension in Tridion 2011 SP1

陌路散爱 提交于 2019-12-12 13:26:33
问题 I am trying to implement the storage extension using below example, http://www.sdltridionworld.com/articles/sdltridion2011/tutorials/extending-content-delivery-storage-sdltridion-2011-1.aspx I created my DAO and other files with the same name used in above example. After creating these files I build my code using eclipse and coverted it into .JAR file name (cd_search_Indexer). 1) I copied my jar file to my presentation tridion_home/lib folder 2) I created bundle xml with name search_dao

Presentation Error - SmartTarget Page

风流意气都作罢 提交于 2019-12-12 11:42:14
问题 When I open an Webpage with SmartTarget configured, I am getting two different errors: Error 1 First time I get this error: Server Error in '/' Application. -------------------------------------------------------------------------------- com/tridion/marketingsolution/profile/Contact ================================================ Some configured classpath roots cannot be found ================================================ ClassPath : C:\tridion\Publicationsites\TestRD\staging\bin\bin I am

How do you get a user's name and description from their ID in the SDL Tridion Anguilla framework

泪湿孤枕 提交于 2019-12-12 10:46:27
问题 I have written a GUI extension for SDL Tridion 2011 SP1. The GUI consists of an extra ribbon button and event handler which is triggered when a component is saved. My event handler is registered as follows: PowerTools.Commands.ItemCommenting.prototype._execute = function (selection) { var item = $display.getItem(); $evt.addEventHandler(item, "save", this.getDelegate(this._onItemSaved)); $cme.getCommand("SaveClose")._execute(selection); }; and the event handler looks like this: PowerTools

Executing a Page with DCP in SDL Tridion 2011 SP1

和自甴很熟 提交于 2019-12-11 06:24:55
问题 I have published a ASPX page with DCP. <html> <head> </head> <body> <tridion:ComponentPresentation runat="server" PageURI="tcm:9-5251-64" ComponentURI="tcm:9-5245" TemplateURI="tcm:9-5247-32"/> </body> </html> What are the ways to execute this page, so that it renders the DCP. I just tried browsing this page through IIS, I am getting parser error. Unknown server tag 'tridion:ComponentPresentation' It would be great if some one can guide me to run this page. Thanks in Advance 回答1: Make sure

Unable to get Core Service client working

家住魔仙堡 提交于 2019-12-11 05:45:45
问题 I am trying to publish the component using core service, to do this, I just created a console application, and executed from the server. I am getting the below error message. Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Tridion.ContentManager.CoreService.Client, Version=6.1.0.996, Culture=neutral, PublicKeyToken=ddfc895746e5ee6b' or one of its dependencies. The system cannot find the file specified. The below is my code, can anyone faced this issue?

Tridion UGC Anonymous Users saved to UGC Database with ID null

*爱你&永不变心* 提交于 2019-12-11 04:55:27
问题 NOTE Exact same issue as Tridion UGC comment shows author as null When posting comments from the presentation website users are saved with ID null. This causes the next comment to show as posted from the first user who commented and also has ID null. The cd core log file shows that the AnonymousPostClaimProcessor is using the tracking id . DEBUG ClaimStore - put: uri=taf:claim:contentdelivery:webservice:user, value=tridion_2151731a-97d2-4a90-800f-bee20074b970 TRACE ODataInputParser - Parsing