tridion

SDL Tridion Tcm-id rendering

▼魔方 西西 提交于 2020-01-05 06:29:28
问题 Could any one help me out. I have a created a custom button in the tridion ribbon.(Item View) In a given page we will be having the 'Component Presentation' and 'Target Group' Now I need to get the tcm-id of the Component Presentation and the selected Target Group on click of the Button(created in step1). 回答1: I think I've answered this question here: restrict user to insert same component and template Thanks John 来源: https://stackoverflow.com/questions/11436319/sdl-tridion-tcm-id-rendering

SDL Tridion Tcm-id rendering

自古美人都是妖i 提交于 2020-01-05 06:28:08
问题 Could any one help me out. I have a created a custom button in the tridion ribbon.(Item View) In a given page we will be having the 'Component Presentation' and 'Target Group' Now I need to get the tcm-id of the Component Presentation and the selected Target Group on click of the Button(created in step1). 回答1: I think I've answered this question here: restrict user to insert same component and template Thanks John 来源: https://stackoverflow.com/questions/11436319/sdl-tridion-tcm-id-rendering

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

“Could not get the type info from component xml schema” when loading a page in SiteEdit 2009

我的梦境 提交于 2020-01-03 20:58:43
问题 I enabled inline editing on SitEdit 2009 SP2 using the answer given here How do I enable inline field editing in SiteEdit when using an XSLT TBB? but I keep getting this error when loading the resulting page in SiteEdit: Sys.FormatException: Could not get the type info from component xml schema. Field: cf_tcm:20-33457-64_content_header XPath: [1] My XSLT TBB fragment: <xsl:if test="//*[local-name()='content_header'] != ''"> <h1> <div> <tcdl:ComponentField name="content_header" index="0"> <xsl

What fields does SDL Tridion 2011 search use?

霸气de小男生 提交于 2020-01-03 13:44:27
问题 I have never had practical success when using the search feature in Tridion (SDL Tridion 2011). I am looking at a list of components. I enter some of the text for one those component's name and the search does not find it. I have to use the exact name of the component for it to find it. What fields does it search using my criteria? Is there a wild card symbol I can use or a setting to make it a "contains" query? 回答1: The Search Indexer should index all fields of every components as well as

Tridion 2009 Template Publishing Failure

梦想与她 提交于 2020-01-03 13:06:21
问题 We've just started getting some errors when trying to publish pages (.NET) - in Tridion 2009. It started off with intermittent, classic "RenderComponentPresentation exceeded maximum number of render failures 0" errors, and then progressed to complete failure. We can preview the pages correctly, so I'm loathe to believe it's anything to do with the actual templating code. Unfortunately I don't control the box this is running on, so I won't be able to run any debug code, etc... so this is a

Tridion 2009 Template Publishing Failure

风格不统一 提交于 2020-01-03 13:05:59
问题 We've just started getting some errors when trying to publish pages (.NET) - in Tridion 2009. It started off with intermittent, classic "RenderComponentPresentation exceeded maximum number of render failures 0" errors, and then progressed to complete failure. We can preview the pages correctly, so I'm loathe to believe it's anything to do with the actual templating code. Unfortunately I don't control the box this is running on, so I won't be able to run any debug code, etc... so this is a

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()) {