tridion

How to get the members of the group in Tridion

纵饮孤独 提交于 2019-12-14 03:36:37
问题 With the help of event handler i am getting the id of the user who have finished the Workflow activity. For getting the Id i am writing like: foreach(var user in activity.Performers) userId=user.Title.ToString(); Now, similarly how can i get the members of the group(their id's) to which the user belongs. 回答1: If you are in the event handler then you are using TOM.NET. You need to get list of users in the group. Each group has GetGroupMembers method that you can use. Here's the code you need:

Unable to open publications - an item with the title “Segments” already exists

安稳与你 提交于 2019-12-14 01:08:05
问题 We are experiencing a weird problem that we are not able to open publications. We do receive an error in GUI saying that "An item with the title "Segments" already exists in this location.". Has anyone experienced this before? No config/patches applied recently. Environment: SDL Tridion 2011 GA + HR # 1 IIS 7.5 .net 4 SQL Server 2008 R2 The error is happening even if we just try to view the publication properties or try to expand the publication from the GUI. Below is the stack trace: at

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

Every page we publish increases around 2 MB memory on server. Is it a configuration issue? [closed]

倾然丶 夕夏残阳落幕 提交于 2019-12-13 09:15:38
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . Every page we publish increases around 2 MB memory on server. Is it a configuration issue? FYI it is SDL Tridion 2011 SP1 with old vbscript code. Please sugegst. 回答1: No - it is not a configuration issue. At

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 to set Tridion ApplicationData using Anguilla JavaScript?

橙三吉。 提交于 2019-12-12 11:08:40
问题 I have a Tab GUI Extension with a form and a text field. I would like to save the values of the form field to ApplicatioData. I was thinking of an 'Update' button calling an Anguilla method. Is there an Anguilla method to do this? I don't see any method in Anguilla for this. Start of the code: var c = $display.getItem(); var uri = c.getId(); 回答1: Anguilla doesn't expose any (webservice or JavaScript) methods to generically modify ApplicationData. You will have to provide your own server-side