Hot answers tagged

12

From your description, I suspect you may have cache enabled on your app servers, but not using (or not correctly configured) the Cache Channel Service. There's some info on the Tridion object Cache on Tridion World and also on SDL Live Content (login required) Update The configuration seems OK as far as I can remember the 2009 config... can you double ...


10

You can do that (alert) without a GUI extension, simply by using Event System (OnComponentSavePre event). The GUI extension framework is very different in 2011 and 2013, I would not recommend doing a real extension for 2009, as you would have to rebuild it once you upgrade. Creating a Tridion 2009 Event System is not as simple as 2011 or 2013, but ...


10

Apart from Pankaj's reasons, also consider the following: In a production (live) environment, you wouldn't want the CM database running on the front end for security reasons. The usual setup is that the back end system, in this case the Tridion CM is running completely behind a firewall and in a different network than your front end servers, which need the ...


10

In an Assembly Template Building Block you can determine the RenderMode and PublishingContext via the engine. But before checking what Publication Target the current item is being published to, you need to know if you are actually being published, or if the render action of the Template is just a preview. if (engine.RenderMode == RenderMode.Publish) { ...


9

I recently solved a bug with a similar cause. The regional settings can be accessed via the Control Panel. The regional settings have default values for the whole server, and also per account. You should ensure that the combination of these settings ends up with the correct result for the MTSUser account (the identity under which the SDL Tridion Content ...


9

It sounds like your custom resolver is not working - you can check which items are going to be published by clicking the See Items to Publish button on the bottom left of the publish popup - if your resolver is working this will only show the one component. If you want to debug your resolver, then attach to the publisher process (TcmPublisher.exe - I think) ...


9

As you probably know by now, the decision to remove a binary is taken by the deployer based on the number of references to that binary. Once the number of references reaches 0, the deployer will remove the binary. If you have access to the Broker database, you can try to find which items reference a given binary by running a query +/- like this: select * ...


9

You can use the purge tool for this. From the file menu, you can save a configuration file, and then to run the tool in batch mode, pass the path to this file on the command line.


9

You can get version history on the following items: Component Component Template Template Building Block Page Template Page Schema Organizational items don't have a versioned history. To keep a history on this type of information, consider placing it in a "configuration" component or using the Event System to record the details in Application Data or a non-...


9

You mention this"Also if I put ASP code in the CT this ASP code is showed in the page as text." If you want to have asp code (i assume you mean asp.net code) and link resolving (which also uses an asp net server control) in a dynamic component presentation, then you should make sure to publish this dcp as an ascx control, not just as a html text fragment. ...


9

The TOM.NET API in 2009 was read-only, so your only option is the TOM API, and for .NET code, you can use the TOM Interop DLLs. You will need to reference Tridion.ContentManager.Interop.cm_tom.dll and Tridion.ContentManager.Interop.cm_defines.dll (found in the [Tridion]\bin\client\PIA folder on your CMS) Then you can use the TOM API in your .NET code (...


8

Please understand following: Every time you publish a PDF, SDL Tridion maintains a reference count in the Broker database. On the other hand, when you un-publish a PDF the reference count is reduced. Once the reference count hits zero the PDF will be removed from the file system. Now check even after un-publishing whether it is still available on the file ...


8

This certainly used to work back in early R5, but I have not tried it in a long time. I believe it even worked by including the URI or an XSLT CT/TBB. Have you tried using the href attribute rather than the invalid url attribute? Take a look at: http://www.w3schools.com/xsl//el_include.asp


8

There is no such functionality in the CMS. However, Tridion CME is a ASP .Net application so you can execute some code when a new session is started. The easiest way is to do it in the global asax but it will implicated that you need to update the tridion source, I think you can add an http module and attach to the Http Application Session Start. public ...


8

It's only a checkbox when displayed in the CME. Basically it's a field like any other, so you can just check for the actual value. Something like this should work: <!-- TemplateBeginIf cond="MyField='MyValue'" --> ... <!-- TemplateEndIf -->


7

Here's the Powershell script that is using TOM and will be working on 2009: $tdse = new-object -com TDS.TDSE $tdse.Initialize() $managementInfo = $tdse.GetManagementInfo() $filter = $tdse.CreateListRowFilter() $filter.SetCondition( "InfoType", "1" ) $list =[xml] $managementInfo.GetListPublishQueue($filter) if ($list.ListPublishQueue.Item.ID -eq $null) { ...


7

You should not run into any issues. SDL will always recommend installing these two databases on different machines. It is a fully supported scenario. If you are moving your Broker DB to the new machine, all you should need to do is edit your cd_broker_conf.xml (for 2009) or cd_storage_conf.xml (for 2011 or 2013). NOTE: Most implementations have more than ...


7

In a Format Area (aka. Rich Text Editor) all content is stored as XHTML and thus it needs to be well formed. So this means that if you add this URL in the content, the & sign needs to be escaped into &amp;. Now technically that isn't necessary for the href attribute of your link, but SDL Tridion still seems to force that on to us. Nothing you can ...


7

Legacy events are backwards compatible in Tridion 2011. Check if you class is using this Prog Id "TDSEvents.Events" Is your class COM visible?, you can check it in the AssemblyInfo class Does your assembly have an strong name? As Nuno always recommends, after you have checked all the steps above, create a single vbs file and try to create an object for ...


7

If your license expires, all of the relevant functionality will silently disappear from the CME. The services will refuse to start, though, and will log the licensing exception. There's separate licenses for Audience Manager and Outbound E-mail and each feature checks for the appropriate license. Generally speaking anything related to managing and ...


7

You are right, the Publishing Queue only stores the most recent publish action for an item. The best way to get this information is to capture it in a custom database using the Event System. You can implement an event with the following signature: EventSystem.SubscribeAsync<RepositoryLocalObject, SetPublishStateEventArgs> (ItemFinishedPublishing, ...


7

The link in pankaj's answer does have some great points, if that doesn't resolve it, I'd recommend adding the following information to your question: The DWT code where you perform the HREF to your component link Confirm the link you wish to link to is published The language you are using to publish the content asp, rel, etc An overview of your CD ...


7

I think the best way to do it is to add a C# Fragment or .NET TBB to calculate the number of elements you will be rendering in your DWT and push it in a Package Variable so that you can access it. <div class="orbit-slide-number"> <span>1</span> of <span> @@NumberOfElements@@ </span> </div>


7

Only one user needs database access, and that's the "TCMDBUSER" account. The MTSUser account does not need any database permissions. In Tridion CM in 2011, you'll have just one user account (default: TCMDBUSER) and in CD you may have multiple users depending on number of databases. None of these users is a "Tridion user", they're purely DB users. You will ...


7

"JAXBUtil - Unmarshalling failed" means that the XML file was not able to be parsed (deserialized). This typically happens when the java class(es) mapped to the Xml elements don't match up. This seems logical because transport/deployer mechanism was seriously updated/changed from 2009 to 2013. And I don't believe this is an officially supported scenario ...


7

You can find 'Release notes' associated with each version of SDL Tridion in the online documentation. For example, these can be found on the PDF documentation downloads page in the online documentation for SDL Tridion 2013 SP1. This document is described as: The release notes describes new features, changed features, what has been fixed in this ...


7

engine.GetSession().User returns the User for which the Session was created. So it definitely will not solve the issue. I guess PublishEngine.GetPublishInfo(item) excludes the current publish because the current publish operation is still not finished. But I guess publish transaction can help you getting the user title. You can try getting the publish ...


7

The Publisher for sure caches objects, but the lifetime of that cache is normally from the point the the Publish Transaction is picked up from the queue to the point that rendering (of all items in the Publish Transaction) is done. There is a possibility to configure a shorter lifetime (only during rendering of individual items) but this is normally not ...


6

Here's a few tips, hope it helps you. It obviously helps if the sites are designed to be multi-cultural from the ground up, but that's not always the case... Anyway, assuming that most of your changes are limited to adding dir="rtl" to your templates, I would do something like this: Add metadata to you publication that specifies if the content is Right-To-...


6

Sounds like this may be a server policy setting. Here is a link explaining how to change update it: http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/da4633e8-2df5-4095-9d7f-0d636bebcb58


Only top voted, non community-wiki answers of a minimum length are eligible