Hot answers tagged

16

On top of what you have already answered yourself, only thing I could add is this site (tridion.stackexchange.com), and the following SDL Tridion related blogs: Albert Romkes Albert te Boekhorst Alexander Klock Alvin Reyes Andrey Marchuk Arjen Stobbe Asier Fernandez Charles Guo Chris Summers Chris van Leeuwen Dominic Cronin Elena Serghie Eric Huiza ...


14

The Publication URI is available through the controller object which is available in the window.dialogArguments, so you should be able to use: window.dialogArguments.controller.getItemPublicationUri() Through the controller you can also get the actual item and related information, best to check it out in a debugger to see all available method. ...


14

It looks like you are using TOM rather than TOM.NET You need to perform a paste action with the folder you want to get the new item into Something like objFolder.PasteItem(comp, 1, false) The first parameter is the item you want to paste, the second is an enumerator (EnumTDSCutCopyAction - 1 is cut (move), 0 is copy ) to say if you want to Copy and Paste ...


13

Basically a DWT Template allows you to iterate over arrays, but in the Package there is only one sort of array we can push ourselves, which is the Component Presentation array (which can contain Component Template TCMURIs, but also only Component TCMURIs). Through this you can push (what I refer to as) a Dummy Component Array in the package which you can ...


12

in the TOM API you have this method implemented on the Folder as a paste action (in the 2011 TOM.NET API there is a Component.Move indeed). Folder.PasteItem(ByVal Item As Variant, ByVal action As TDSDefines.EnumTDSCutCopyAction, ByVal makeUnique As Boolean) Parameters item - The TOM object or URI representing the item to be pasted. action - The action to ...


12

I agree that ordinal position can be very useful, so I added this to the XSLT Mediator a long time ago, I also added something called regional position which gets the position within a group. To achieve this, I set a Context Variable just before calling the ComponentPresentation.Render() code using the Page Template called ORDINAL_POSITION as follows: if (...


12

You can use “Cross Copier” feature of Power Tool to copy items across publications. For more see the URL http://sdltridionworld.com/community/extension_overview/powertools.aspx Below URL have some great thought by Bart which certainly be beneficial for you - How to move items from one publication to other


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 ...


11

As far as I know there's nothing out of the box that does this, and seeing that you cannot uncheck the "Publishable" property, a GUI extension might be the way to go. Here's a good post from Jaime Santos that talks about removing publication targets that might help you out. http://jaimesantosalcon.blogspot.com/2011/10/2011-sdl-tridion-gui-extensions.html


10

List of SDL Tridion References: Tridion 2013 Documentation (Requires login) Tridion 2011 SP1 Documentation (Requires login) Tridion 2011 Extensions 5.3 & 2009 Extensions Documentation for a specific product release (Requires login)


10

You also need to configure which styles are available for the rich text field in your Schema. You can do this by: Open the Schema Select the rich text field you want to control the styles on (e.g. 'body') Click on the 'Edit Formatting Features' button In the pop-up, select the 'Allowed Styles' tab You should now be able to choose the styles that can be ...


10

You could write a custom resolver (or an events system) that removed the relevant items. It's probably not that hard. Here's a quick sketch: public class TemporaryFilter : IResolver { public void Resolve(IdentifiableObject item, ResolveInstruction instruction, PublishContext context, ISet<ResolvedItem> resolvedItems) { ISet<...


10

Looking closely at your problem, it seems that the findTaxonomyKeyword method from the CachedTaxonomyHome class caches your result but when the whole taxonomy is reDeployed, the cache invalidation does not happen. To fix this you have two options: You contact Tridion Customer Support, explain the problem, explain why this would be a ShowStopper for your ...


10

From the title of your question "Event System Alternatives (Memory Leakage)", it appears that you may be looking for alternatives to using the Event System due to a memory leak that you have in some existing code. If this is the case, then I would strongly recommend that you fix the source of the memory leak problem, rather than finding workarounds. That ...


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

The lists where it works are standard select controls and your browser does the keyboard support for you. In the custom drop-down list controls (e.g. the ones with icons in them), this keyboard support was missing. This shortcoming has been fixed in Tridion 2013.


9

There are - as usual with Tridion - about as many solutions as you may think of. My preferred solutions: If you're using a model that can get all data from the Database (CWA, DD4T, WebService), then, by all means, please use this. Single database for delivery, caching properly set up on delivery servers and you're good to go. In a CWA customer environment ...


9

To add to Nuno's answer, indeed using the COM based event system through .NET has a lot of potential (memory related) issues if not done correctly. I always use the following code examples to explain what needs to be done: using System; using Tridion.ContentManager.Interop.TDS; using Tridion.ContentManager.Interop.TDSDefines; namespace Tridion.Training....


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

By using method IsPublished of class PublishEngine with parameters Page and PublicationTarget, you can find the publish status public void Transform(Engine engine, Package package) { Item pageItem = package.GetByType(ContentType.Page); Page page = engine.GetObject(pageItem.GetAsSource().GetValue("ID")) as Page; PublicationTarget pubTarget = new ...


8

I always end up having to do an IISRESET to get edits picked up.


8

There's a few possible reasons... but don't despair! The Where Used information will also tell you which Publication Target the item is published to, can you make sure it's unpublished from those targets? If you can't unpublish from those targets anymore (which can happen through configuration changes), consider using the 2009 Powertool to "Set component ...


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