tridion-2011

Unable to find item created using core service from any other machine except where Tridion CMS is installed

不想你离开。 提交于 2020-03-02 05:56:25
问题 I am not able to find any item (schema/component) created using core service from any other machine except where Tridion CMS is installed, but when I create any item on the machine where I have Tridion CMS installed using the same console application then I am able to locate that particular item with TCM URI. Is there any configuration need to define in config file (I think this issue is not related with refreshing or clearing browser cache) and also when TCM URI is generated from other

Raising a “warning” status during SDL Tridion 2011 publishing

坚强是说给别人听的谎言 提交于 2020-01-24 10:47:05
问题 We would like to implement some functionality so that when for some reason an error occurs during publishing or resolving, and we skip over it using a try/catch block, but would still like to notify the user that something was skipped. The SDL Tridion 2011 Publishing Queue can filter by status. One of these statuses is “Warning”. Is it possible to trigger a publish transaction to have a “Warning” status using the API in either template code or a custom resolver? 回答1: I'm afraid this isn't

How can i use engine object in my console application

谁都会走 提交于 2020-01-14 14:01:28
问题 "How can i use engine in my console application" I shouldn't use the ITemplate-interface and Transform-Method. I am using Tridion 2011 Could anyone please suggest me. 回答1: You can't. The Engine class is part of the TOM.NET and that API is explicitly reserved for use in: Template Building Blocks Event Handlers For all other cases (such as console applications) you should use the Core Service. There are many good questions (and articles on other web sites) already: https://stackoverflow.com

How to enable the button which is created using custom control

泪湿孤枕 提交于 2020-01-07 09:38:14
问题 I need to create buttons one below the other in tridion ribbon. I have created an usercontrol and it was appearing on the ribbon but in disabled mode. In the "http://tridiondeveloper.com/ribbon-item-group"; it was mentioned to include <ext:issmallbutton>true</ext:issmallbutton> inside my extension element in the configuration. I have included it in the extension.config file. But i am facing error like "Loading extension failed - has invalid child element 'issmallbutton'. So, currently i

How should I get Keyword Key from DWT

陌路散爱 提交于 2020-01-04 03:49:14
问题 This is similar to this XSLT question, but ultimately for DWT. We can get a keyword's key via a C# TBB. ItemFields fields = new ItemFields(component.Metadata, component.Schema); KeywordField keywordField = fields["state"] as KeywordField; String stateValue = package.EvaluateExpression("Component.Metadata.state"); package.PushItem("statekey", package.CreateStringItem(ContentType.Text, keywordField.Value.Key)); In DWT, I sometimes want the key of a selected keyword in a component. Is adding and

Customized Tridion Search Index Handler: Custom vs Standard field for page url?

拜拜、爱过 提交于 2020-01-03 09:44:52
问题 I was playing around with custom Search Indexing Handlers for SDL Tridion 2011 (GA). I got something working, using the very helpful information provided by Arjen, however I am not sure if my execution is the best option. The requirement is to be able to search for pages in the CMS by url (eg www.example.com/news/index.html). In order to do this I have the created a class using the ISearchIndexingHandler interface (code below). I am indexing the url in the ContentText field of the item,

Error in configuring ambient data framework for Content Delivery web Service

假装没事ソ 提交于 2020-01-03 09:08:18
问题 I am configuring ambient data framework for Content Delivery web Service it is throwing below error when I hit my service url in browser Server Error in '/' Application. Cannot find claim processor implementation class: com.tridion.ambientdata.processing.ExampleClaimProcessor1 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details:

Error: Could not find default endpoint element that references contract

≯℡__Kan透↙ 提交于 2020-01-02 13:33:46
问题 I am writing a below code to create a MM component in tridion through core service, but i am getting error to run this service, public ComponentData GetNewMultimediaComponent(CoreServiceClient Client, string folderUri, string schemaUri, string title, FileInfo fi) { if (fi.Extension == ".png") { string mmType = GetMultiMediaType(fi.Extension); if (mmType != null) { string tempLocation = ""; UploadResponse us = new UploadResponse(); using (StreamUploadClient streamClient = GetConnection()) {

Sample event system code for Tridion 2011 SP1

∥☆過路亽.° 提交于 2020-01-02 07:24:58
问题 Right now we are using Tridion 5.3. For number of publications we have event system implemented like sending some mail notification if component is localized, or sending a mail notification when particular activity is completed in workflow process etc. Our current event system is implementation in Visual Basic 6.0, now when we have to rewrite our code we have to use .NET for the same. My question is where I can get some sample code for beginners or documentation how event system can be

Is it possible to remove the “Upload MM Component” button from the SDL Tridion 2011 Ribbon

梦想与她 提交于 2019-12-30 18:44:32
问题 This button causes a lot of problems for my client, as it always uses a predefined Schema. I can't find a way to remove this button with my Editor config. I have done this with other buttons, but these buttons are implemented in some sort of sub-group. On my personal sandbox machine, I tried removing the commented out control in the extract of the ../WebUI/Editors/CME/Controls/Toolbars/Tabs/CreateRibbonPage.ascx file shown below: <c:RibbonSplitButton runat="server" CommandName="NewComponent"