Hot answers tagged

21

Just to update to help everyone; Following hot fixes has been released to fix this issue: SDL Tridion 2011 SP1 HR2 - CME_2011.1.2.88116 SDL Tridion 2013 SP1 - CME_2013.1.0.88115 (SDLTridionWorld.com login required)


20

The log out is a little tucked away, you have to return to the 'dashboard' tab/view and in the left hand navigation the bottom link 'Exit', clicking that will close XPM and return you back to the website on the page you were editing.


17

This appears to be due to a change (or defect) in how Chrome 36 handles the xlink namespace. The Tridion vendor is working on a hotfix to adjust to the Chrome xlink handling - if I hear anything, I'll update here.


16

Session.IsExistingObject Method will not throw exception


15

Most likely your Dynamic Component Template output type is set to HTML Fragment. This instructs Tridion to not do anything with the rendered output as it is plain static HTML. Change your template output type to REL when storing DCPs in the database, or JSP Scripting if storing them on the filesystem.


14

As @Likhan is mentioning in his answer, it seems that the information is saved in Unicode/UTF16 so it needs to be decoded using other Encoding like iso-8859-1. I developed a workaround for it developing a SQL CLR Stored Procedure SQL CLR STORED PROCEDURE public partial class StoredProcedures { [SqlProcedure] public static void ...


14

The only obvious problem is that you should subscribe to EventPhases.Initiated instead of EventPhases.TransactionCommitted. Other than that it looks fine, unless you are calling component.Save somewhere down the line.


14

You need to cast LocationInfo to PublishLocationInfo, something like this: ((PublishLocationInfo)page.LocationInfo).PublishLocationUrl


14

I have seen problems like this before. Here's the thing: During installation of Oracle client, installer checks for .Net version installed on the box. It then installs corresponding components. In your case, most probably you had .Net 3.5 at that time, so Oracle installer installed components for .Net 3.5. Later, Tridion installer updated your .Net version ...


14

Chris hits a few of the main differences between the CWA and DD4T project. My view is a bit simpler, so I'll share it too. In a Tridion implementation your content lives (at least) three places: in the Content Manager database as XML in the Content Delivery broker in the visitor's browser as HTML Tridion systems architecture +----------+ +---...


13

Pass the WebDAV URL in the id parameter of IsExistingObject. Most (if not all) places the core service accepts an id you can use either a WebDAV URL or a TCM URI. Notice you can read an object so you get all WebDAV URLs instead of TCM URIs as well, simply set the ReadOptions.LoadFlags to LoadFlags.WebDavUrls.


13

The problem here is that it is an unpublish operation and no templates are executed and we cannot use the AddInstructions method available in the RenderedItem class. As an alternative there is a non documented extension point called a TransportHandler, you need to implement the ITransportHandler interface that is located in a GAC assmebly Tridion....


13

As far as I know since Tridion 2013 the encoding in database for content field has changed for mssql. You no longer will be able to do select on database to see the content anymore. I have seen around floating somewhere a query which can decode it for human readable view. Will try to look it up. However, even if the content cannot be seen properly in ...


13

You can get readable content from the COMPONENT_PRESENTATION table directly in sql by double converting the content field like this: SELECT CONVERT(varchar(max),CONVERT(varbinary(max),content)) FROM COMPONENT_PRESENTATIONS WHERE <where_clause>


13

Server-side The XML is available through the ConfigurationManager object from Tridion.Web.UI.Core: XmlDocument myConfigurationXml = ConfigurationManager.Editors["MyEditor"].CustomXml Client-side You need to add a child node called 'clientconfiguration' (same namespace) with the settings you want. The format of the content under that node is up to you. I ...


12

Some tags are written out automatically, for example if you use the RenderComponentPresentation() method it will output the markup for a component presentation, and if you use RenderComponentField() it will output the markup for a field. New in 2013 SP1 are the FieldStartMarker(), FieldValueStartMarker(), FieldEndMarker() and FieldValueEndMarker() ...


12

A while back I've written a TBB that does exactly what you want, including checking if a Structure Group exists that mirrors the path of the Folder (based on relative WebDav paths). Here is the link: http://www.tridiondeveloper.com/publish-an-image-to-a-structure-group-mirroring-folder


12

Technically the message is right - there is no Content Porter Server installer anymore, this is now included in the standard Content Manager Core. But the client installer is not included in the CM Core (long story short: we couldn't finish the client in time for the 2013 SP1 release). So you still need to run an installer (you can get it from Customer ...


12

At quick glance, looks like you are adding the reference to your commandset from your resource group in the wrong place, you should add it like: <cfg:fileset> <cfg:file type="script">/Counter/Counter.js</cfg:file> <cfg:file type="reference">Counter.CommandSet</cfg:file> </cfg:fileset> In your example you have it ...


12

The setup is correct, and the rendered output is correct as well. However, you will need to create some code to handle images stored in the DB by your webserver. Your webserver is not able to do this by default, and Tridion also doesn't have something like that out of the box. I'm not sure if you are using DD4T or not. DD4T does have a module that takes ...


12

When you use the broker API, you can add all sorts of criteria to filter One of the available criteria is the CustomMetaValueCriteria class, which allows filtering for a custom metadata string value. It takes a couple of parameters the key of the custom metadata field the value it should filter on an operator like greater than, equal, not equal,... I ...


12

The event system code loads when the Tridion Content Manager Service Host service loads, and you can see this in the Windows Event Viewer. As each event handler loads you will see the status showing that the TCM Extension has been initialized. or


12

Actually, timeout exceptions don't always depend on JUST timeout values defined in MMC snap-in console (Tridion Content Manager Config). Before you start increasing timeouts to insane values, I suggest you verify that your CM database is properly maintained and therefore fast. To do this, please update statistics and rebuild indexes. Also, you can use ...


11

Assuming you are using Tridion 2011/2013, Page Metadata can be read in several ways. Templates @@Page.Metadata.field@@ (Dreamweaver Syntax) ItemFields metaFields = new ItemFields(page.Metadata, page.MetadataSchema); (TOM.Net) Event System ItemFields metaFields = new ItemFields(page.Metadata, page.MetadataSchema); (TOM.Net) Core Services PageData page = ...


11

The last 2 bullet points have definitely been addressed in 2013. You can tab properly (I remember issues with IE though, not sure if it's still an issue), and you can start typing a schema name to get it in the drop down (btw, that works also in CME list views, you can start typing to move to a component or page in the list). I don't think we fixed the ...


11

The problem was caused by the single dll file: xmogrt.dll The problem was that somehow my application had the 32 bit version, when I needed to add the 64 bit. Note: The file size of the 64 version is 1,123kb, the 32bit version is less.


11

You should upgrade your existing Default Templates by opening Template Builder, choosing Tools | Create Default Building Blocks from the menu, and selecting the parent folder for the "Default Templates" folder in the relevant parent Publication. For instance, if your default templates are in "Building Blocks\Templates\Default Templates", you need to choose "...


11

This is happening because you have 2 embedded schemas in the same schema, and did not change the Root Element name for either. More detail on this is available on this answer. The short story is that you can fix this by changing the Root Element Name of your embeddable schemas to something else than "Content". You may have to change the schema type to ...


11

Chrome has an extension to launch ClickOnce applications. It includes a mime type mapper that will correctly launch x-ms-applications when a link to a .application is clicked. You can find it here: https://chrome.google.com/webstore/detail/clickonce-for-google-chro/eeifaoomkminpbeebjdmdojbhmagnncl?hl=en Adding that will allow you to open the Template ...


11

Can you open the web.config in the below directory? \%TRIDION_HOME%\web\WebUI\WebRoot\ and ensure that the below line: <add key="Tridion.WCF.RedirectTo" value="localhost:80"/> Matches that of the IIS binding information. For example if you have a binding of server.corp.eu on port 80, then you'd need to change this to: <add key="Tridion.WCF....


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