Hot answers tagged

39

XSD would allow for this, and it is a very commonly used pattern. The Tridion CME/FieldBuilder will not understand it though, so you'd have to create a custom schema and an editor to go with it. I've done this in the past using Component links - you create a hierarchy, just like you defined it, but each entry in the menu is represented by a component, with ...


31

On the Content Manager Server locate System.config this is found in %TRIDION_HOME%\web\WebUI\WebRoot\Configuration Locate the following element: <filter for="Script" type="Tridion.Web.UI.Resources.Filters.JScriptMinifier, Tridion.Web.UI.Resources.Filters" enabled="always"> Replace the value for the enabled attribute to read "never" &...


18

My guess is that it's not possible to delete the messages entirely, only to set them to Archived. If you execute the following line of code in your browser console, you should see the messages go from orange to grey. Tridion.MessageCenter.getMessages().forEach(function(message){message.doArchive();}) Perhaps even handier than the console, is to add it as a ...


17

This issue occurs when the Web site uses Integrated Authentication and has a name that is mapped to the local loopback address. Follow the below URL and disable the loopback check http://support.microsoft.com/kb/896861


17

This is the name of the first XML element in your content. If a component is represented like this: <Content> <Name>Hello</Name> <Description>I am a component</Description> </Content> Then Content is the Root Element name. If you would modify your schema to have a Root Element Name of Article then your component's ...


16

Actually there is a better and far safer solution than the one @Nuno proposes. What you can do is "mock unpublish process". You can capture undeploy transport package on CD side of some other page, then change it to have id of your page (change XML that contains inpublish instructions), and copy it into incoming folder of deployer. Deployer will pick it up ...


14

User preferences are saved in application data on each User with an Application ID of “cme:UserPreferences”. It is saved as an XML fragment (in Unicode). The starting folder has a type (1 = SDL Tridion Dashboard, 2 = Main View) and optionally an item URI for the “Start on specific Folder” option. These are saved in the StartScreenType and StartItemId ...


14

Following up on top of Dominic's answer, if you want to remove the items from the list you can also call the dispose method. $messages.getMessages().forEach(function (message) { message.doArchive(); message.dispose(); }); Note that you'll still want to call the doArchive() method first, else you'll end up with no items in the list but the ...


13

Sounds like you need hotfix CME_2011.1.1.83165. It's available from www.sdltridionworld.com (login required.) You will need to be on SP1+HR1 prior to installing this hotfix.


13

The publishing queue is designed to be a queue, not a logging mechanism. Restricting users from deleting publish transactions has it's disadvantages. I.e. it refrains users from deleting big transactions in a busy publishing queue. Why not implement an alternative logging on who published what at what time? This could be done with an event system by ...


12

As always, there's multiple ways to skin this cat... You could always write an event that would catch the DELETE action on a PublishTransaction object and cancel it - though this may have other repercussions I have not researched (will the purge tool still work for instance) You could disable the delete button for non-Admins via a GUI extension as mentioned ...


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

SDL documentation at this link states: Key A text value that is unique across the BluePrint and that can be used to associate an external resource to the Keyword, for example a product ID. So I guess this answers your question. :) Main idea behind keywords is to classify content across publications with same ID. Therefore, changing its key is not ...


11

As I've promised, I'm back with a skeleton Visual Studio 2010 project that demonstrates a few concepts: a possible structure of a CME Extension Editor within a Visual Studio project editor's configuration to be able to extend the functionality provided by CME Dashboard, as of now (pre 2013 release) and so far, two ways to extend an existing CME command -- e....


11

Apart from regular database maintenance, after an upgrade it is always wise to update the statistics and rebuild the indexes of your database. This article on SDL Tridion World covers everything for both Oracle and MS SQL Server databases, if on MS SQL Server, you can start with executing the following commands on the CM database: exec sp_updatestats ...


11

If the CME is working OK for everyone else, and this is an isolated issue that relates to just one or two users, then it sounds like this could be down to the user's browser settings or something on their computer causing the problem. Can you check that the user in question has got their web browser configured correctly to use the CME? The documentation ...


11

I would first say selecting a color for text is not a very common use case and most organizations prefer to set the style and color using CSS stylesheets to provide a consistent look and feel for the website. However, I understand your requirement and will provide 3 options: The Rich Text field has an option to set a color or a CSS class on text. You ...


11

One possibility might be to map multiple host headers for your CM site, and of course, also in your hosts file. So then you could log in on one tab of your browser to http://devs.tridion.local and in another tab to http://authors.tridion.local As far as the browser is concerned, these will be separate sites.


11

Figured it out while looking for some other issue. This is a known issue with SDL Tridion SP1 HR 1 and following hotfix - CM_2011.1.1.82194 available at SDL Tridion World at below location: https://www.sdltridionworld.com/downloads/hotfixes/SDL_Tridion_2011_SP1_1/index.aspx need to be apply to fix this issue.


11

You can run your extension code when the thread gets executed. To do so, try following function onDisplayStartedReadonly() { $evt.removeEventHandler($display, "start", onDisplayStartedReadonly); function onDisplayStartedReadonly$_collectProperties() { if ($display.getView().getId() == "ComponentView") { debugger; ...


11

Use for identification: Select the option if you want to uniquely identify Component Presentations on the published Web site. If you develop a Keyword-based navigation, selecting Use for identification ensures that no two Components tagged with the same Keyword have the same name. Component Presentations based on these Components will be uniquely ...


11

Enable Workflow Process Associations in Shared Schemas and Structure Groups lets us use Workflow Process definitions defined higher in the BluePrint in the current publication. Without this checked in Publication Settings, only schemas set to local Workflow Process definitions are available. We only need to check this in the Publication that contains the (...


11

These are always the same. You can find it in the CoreService or TOM.NET API docs, when checking for ItemType Enumeration. In case you can't find it, here they are: None 0 Publication 1 Folder 2 StructureGroup 4 Schema 8 Component 16 ComponentTemplate 32 Page 64 PageTemplate 128 TargetGroup 256 Category 512 Keyword 1024 TemplateBuildingBlock ...


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 schema on which your component is based on should have at least one Keyword field (a Text field with values coming from Category). Here is an example:


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


11

What have you tried? If you're just starting your search then the docs references below are a great start. Both the TOM.NET and Core Service APIs are available but it shouldn't be about what's easiest. It would be interesting to understand if there some technical or business reason you want to consider using the Event System? If you have Alchemy installed,...


10

This was highlighted in the December Customer Support Newsletter for Firefox version 17 (but also affects the later versions) with the following: SDL Tridion 2011 / Firefox 17 Changes in FireFox 17 can cause an infinite loop in the Tridion 2011 Content Manager Explorer. A hotfix has been released to resolve this issue. The hotfixes are available ...


10

I have this in my powershell profile. Basically, it's the same answer as Rob's. function SetGuiMinification($value){ $filename = 'C:\Program Files (x86)\Tridion\web\WebUI\WebRoot\Configuration\System.config' $conf = [xml](gc $filename) $conf.Configuration.filters.filter |?{$_.type -like '*JScriptMinifier*'} |%{$_.enabled = $value} $conf.Save($...


10

I remember that we also faced the similar issue. There is a hotfix available with customer support, they give a SQL query related to publish states which needs to be run on the database.


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