tridion-2011

How to Implement Google Analytics in SDL tridion web sites?

大憨熊 提交于 2019-12-23 12:08:15
问题 My Options : include the analytics code in page templates or CTs. create a component contains the analytic code and render it in Comonent presentation of the page. which could be better or please suggest any other way out. 回答1: The first approach is normally preferable, since it allows you to include information about a component or page in your call to Google Analytics. And you may not even have to write it yourself, since there is a free extension called the Web Analytics Enabler, which is

Outbound E-mail Profile API: Get list of e-mailaddresses

不问归期 提交于 2019-12-23 09:36:44
问题 I'm working on a Java console application that needs to go through all the e-mailaddresses in the frontend database in Tridion Outbound E-mail 2011 and change a certain extended field of that contact. I've gone through the Subscription API documentation for clues on how to get a listing of all the e-mailaddresses, but I'm getting stuck there. Is there any clean way to do this through the API, without resorting to database queries? 回答1: It is not possible to get a list of Contacts using the

Keyword Path in SDL Tridion

血红的双手。 提交于 2019-12-23 09:27:44
问题 Could someone please give some idea on how this can be done? This might be very simple and basics, but i couldn't figure this out. Here is my requirement. I have a category A with child keyword B and B got another Child Keyword C. I want to get the exact path of selected keyword in my component template,Say for eg, if user selects keyword C, i need the value with path like A\B\C and not just as C. But Tridion always gives me the value as C and not as A\B\C . Component Schema is using "Tree"

How to create the custom buttons horizontally one below the other in ribbon of Tridion

↘锁芯ラ 提交于 2019-12-23 08:33:26
问题 How to place more than one custom buttons horizontally - one below the other in tridion ribbon. Like we have Check-in, Check-out, Undo Check-out buttons. I tried in creating more than one custom buttons by placing them in a group, but by default they were getting aligned side-by-side but not one below the other. 回答1: In one of my articles on Tridion Developer I explained all about how to use the Ribbon Item Group, this fits small buttons under each other, so that you can place 3 buttons in

How to include Dynamic component presentation in the tridion page?

最后都变了- 提交于 2019-12-22 08:19:10
问题 How to include/refer a dynamic component template in the page. I had created a dynamic CT and published it, but want to render its presentation in the page. Please suggest. Thanks in advance, 回答1: There are many ways to add dynamic presentation on the page. Direct Approach - For this your component presentation should be allowed to on page. Check Allow on Page Using Dynamic Assembly . Add the presentation on page same as all others. Code Approach - You may use API to get your component

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

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

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

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