Hot answers tagged

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

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


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

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

You can use the Event System and Subscribe to the PublishTransaction SaveEvent and then add a handler to check the State. Here's an example code below: // Ties into the PublishTransaction for save event private void InitializeEvent() { EventSystem.Subscribe<PublishTransaction, SaveEventArgs>(HandlerForTransactionSaved, EventPhases....


10

You can map a network drive pointing to the CMS webdav http://cmsurl/webdav. However this won't upload any metadata, in order to do that you will need to write some custom logic like event system to populate custom metadata, other issue regarding using webdav is that it will use the default multimedia schema or the schema specified in the folder where you ...


10

This is where the complexity of Content Modeling really comes around the corner. There are several approaches to a certain problem, and each one of those will have pros and cons. It is well accepted to place things like a page title, description and keywords in Page Metadata. For a multi language BluePrint it is unwanted to have a need to localize Pages for ...


10

The examples you listed are for item types, not IDs. In general, IDs will be determined by the database - whereas item types will be static as you say. A TCM URI consists of anywhere from 2 to 4 parts separated by a dash (listed in order): The ID of the Publication it belongs to. This is 0 if the item is not in a Publication (e.g. Users, Groups, ...


10

If you separate the content by language into folders it might be possible to make Translation Manager work with this setup (there are not enough details here to say for sure one way or the other). You can configure individual folders, structure groups, and categories for translation (at least if you are on a fairly new version of Tridion). You can do this ...


10

If you're using IIS 7.5 and have the redirect module installed, you could add something like this to the SDL Tridion web.config: <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="true"> ...


10

Have you looked at the workflow functionality of SDL Tridion? I think you can easily solve this using workflow, the concept is that you have an approval status on your publication targets, if your content isn't approved to the correct status, it wont publish to a specific target. It's also possible to modify structure groups to make them 'Unpublishable' - ...


10

If you mean to add a thumbnail instead of the little icon which is displayed in the Component Template dropdown on the Insert Component Presentation dialog in a Page (see image below), then technically that is possible, but there are a few things I should mention. It is possible to change icons in a list using a UI extension/data extender, see ...


10

What I have been doing lately is changing the CodeMirror css files themselves to get it to become larger. In your extensions folder under CodeMirror\CSS\codemirror.css change the top 2 classes to the following: .CodeMirror { line-height: 1em; font-family: monospace; height: 100%; /* Necessary so the scrollbar can be absolutely positioned within the ...


10

It appears that having a keyword field in the metadata of a component causes this problem after HR1. Hotfix CME_2013.1.1.88649 available https://www.sdltridionworld.com/downloads/hotfixes/SDL_Tridion_2013_SP1_HR1/index.aspx fixes the issue.


10

This can happen if the TcmBatchProcessor isn't running. However, I had this issue yesterday. It was because I had the wrong domain/name for my MTSUSer in the CM Database after my migration. It seems like Web 8 doesn't use the MTSUSer for much these days, but it does for Batch Operations. I had a new Web 8 environment, and then upgraded my DB from an old ...


10

These are specified in the Security section of the Business Process Type (for each Purpose). The Business Process type is then included in the Publishing section of the Publication Properties.


9

Best thing you can do with a license error is indeed follow the given instructions, and contact SDL Tridion Customer Support. Apart from the obvious, like an expired license or an unreadable or missing license file, this particular error can also occur when the licensing module cannot write his temporary files (.ezl20ck file in home directory of the ...


9

It really pays off to read the error messages: <tcm:Line ErrorCode="8004035A" Cause="true" MessageID="16246"> <![CDATA[The license is invalid. Please contact SDL Tridion Customer Support: EasyLicenser error -12]]> </tcm:Line> As mentioned in StackOverflow the license you're using is not valid for the server you're running it in, and ...


9

I know this doesn't answer your question. But pure and simple: DON'T DO IT!!! Maybe you know all the reasons, but here are some good ones, just in case: 1) Content and Applications have different lifecycles Content is continually created/refined/published - that is why we use a CMS. Applications are developed, tested and released at agreed and controlled ...


9

When you separate publishing into two phases, Tridion will do the following: Phase 1 Resolve the item you publish Render the content for each resolved item Package the rendering output Transport it over to the Content Delivery side The only thing it doesn't do at this stage is actually deploy the content. That happens at the time that you specify for ...


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