Hot answers tagged

10 votes
Accepted

CME error when saving components with required metadata

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/...
Mark Williams's user avatar
9 votes
Accepted

Component's schema missing values using CoreService

In your screenshot, notice how the "Content" attribute is null. For each component, you need to call: ComponentData component = (ComponentData)coreServiceClient.Read( ...
Phil Medcraft's user avatar
8 votes

Error when synchronizing a component against a schema with optional embedded fields which have mandatory embedded fields

In SDL Tridion 2013 (SP1), the same error persists when you try to send the same structured content via the Translation Plugin. To fix (in Translation Manager) we used the hotfix TT87682 part of the ...
Dylan .. Mark Saunders's user avatar
8 votes
Accepted

how to Limit a Schema to a particular folder?

The nearest to an out of the box solution you have available is described by Alvin in the comments - and as Alvin indicates - it's not a good solution. You could interact with the Event System and ...
Dylan .. Mark Saunders's user avatar
8 votes
Accepted

How to get schema's where used list?

CoreService: var list = ClientAdmin.GetList("tcm:1-1-8", new UsingItemsFilterData()); var listXml = ClientAdmin.GetListXml("tcm:1-1-8", new UsingItemsFilterData()); Tom.NET: schema....
Stanislav Maryenko's user avatar
7 votes
Accepted

Finding Mandatory fields

To elaborate on Rob's answer, the code to add to yours would be something like: SchemaFieldsData schemaFieldsData = Client.ReadSchemaFields(txtSchTCMURI, true, null); foreach (var schemaField in ...
David Forster's user avatar
7 votes
Accepted

Not able to delete a Component of a test Schema

There are a number of reasons why you can't delete a Component, for example: it could be used by some other items, it is published, checked-out, the deletion is not attempted from the owning ...
Atila Sos's user avatar
  • 6,280
7 votes

How to find a Tridion Schema using the Namespace Uri

We were able to find the schema that caused issues by using the powershell modules provided by Peter Kjaer (https://github.com/pkjaer/tridion-powershell-modules). With this module, we were able to ...
Harald Hoffelinck's user avatar
6 votes

Dynamic fields from Schema

The only way to build such a Schema would be with a GUI Extension and complex metadata against each field. It would be much easier to have a "Green Schema", "Red Schema" etc... and a shared Embedded ...
Chris Morgan's user avatar
  • 7,327
6 votes

Finding Mandatory fields

I think you need to look at the MinOccurs and MaxOccurs on each field. MinOccurs will be 1 for mandatory fields. Remember the Schema is an XSD. There's probably a simpler way but I've never done ...
Rob Stevenson-Leggett's user avatar
6 votes

How to find a Tridion Schema using the Namespace Uri

The Core Service has a method called GetSchemasByNamespace, which returns all Schemas with a given Namespace URI (and optionally a Root Element Name).
Rick Pannekoek's user avatar
5 votes

SearchQueryData returns top 1000 reults

You don't have to use Search for this. A where used query will also work, and might be the better choice. Here's a powershell snippet to illustrate how you might do this: $core = Get-...
Dominic Cronin's user avatar
5 votes
Accepted

Schema Namespace UUID Issue New Components

The issue was with how I was creating the new components. When selecting a schema for a new component I was opening the schema dropdown and typing the letter "i" to get to the schema I wanted (...
Nicholas Wetmore's user avatar
5 votes

Is it possible to set permissions on schema fields to restrict editing of them to certain users?

No, not out of the box. There were several extensions floating about. http://yabolka.com/gui-extension-readonly-and-hidden-fields-in-tridion-2011-and-up/ was an original from 2011, with a couple of ...
Dylan .. Mark Saunders's user avatar
4 votes

How to access the nested embedded mutlivalue schema fields in C#

You are nearly there. For each Links field, you have another EmbeddedSchemaField : Link EmbeddedSchemaField links = fields["Links"] as EmbeddedSchemaField; if (links !=null) { // This List ...
R.C's user avatar
  • 926
4 votes

how to Limit a Schema to a particular folder?

You can restrict one schema to a folder, then only component of that schema can be created in that folder. but there is no OOTB mechanism to restrict this from appearing in another folder. My be you ...
Raj Kumar's user avatar
  • 5,867
4 votes

Default location when browsing components

You can set the default location in CME. It is an out of the box feature, please look at the screenshot below. Once you set a start location, the next time you open the CME, you will directly come to ...
Vipin Kothari's user avatar
4 votes
Accepted

Issue with forcing items (using schema flag) through workflow bundles and content porting

Taking into consideration some more research and also points made in this post, the end solution will be: (use code to) switch off the workflow enforcement on relevant schemas whilst a content port ...
Dylan .. Mark Saunders's user avatar
4 votes

New field added in schema does not add up in the existing components Automatically

When you opened your Schema to edit it, you got a notification indicating that your changes would not be updated in derived Components. (in 2013 SP1 it mentions Changes to this Schema will affect all ...
Sudhakar Rao's user avatar
  • 1,771
4 votes

New field added in schema does not add up in the existing components Automatically

To answer your question will content porter help, no it won't. The problem when you change field name, or add new field, is that tridion does validation against schema only when you open component ...
Marko Milic's user avatar
  • 8,853
4 votes
Accepted

How do we resolve ExternalContentLibraryStubSchema-mm schema problem in DXA MediaManager Module?

My goal was to move the Connector installation to the 100 Master level. I tried deleting stubs and schema , editing the ExternalContentLibrary.xml stubs folder to point at 100 level to run the ...
Chris Mills's user avatar
  • 2,221
4 votes

How to add required field for Alt Text only for images not for other Multimedia Types?

If you require different sets of metadata for different Multimedia Types, you apparently require different Multimedia Schemas. So, instead of one Multimedia Schema associated with all Multimedia Types,...
Rick Pannekoek's user avatar
4 votes

Recursive embeddable schema to build up a tree

If you build an embedded schema model deeper than two levels, you will find that it is nightmare to use in the gui. I sugest that you look at category and keyword navigation design pattern instead, ...
Chris Mills's user avatar
  • 2,221
4 votes

An input field to allow an editor to select a Schema or Category

Looking at this from a least technical impact and editorially driven perspective: Have the schemas you want selectable as a list of keywords. Map the schemas to query to the keywords selected through ...
Dylan .. Mark Saunders's user avatar
4 votes
Accepted

Unable to Save a Schema with newly added Field Type

I would recommend a very different approach. Instead of modifying the UI, you could create an ECL (External Content Library) connector to connect to this third party provider. When you use ECL, items ...
Quirijn's user avatar
  • 6,752
3 votes

Schema Mappings

Indeed, CM Schemas act as Content Types (have to be careful with terminology here, because XPM also uses that term for something which is a bit more than only a Schema). The DXA framework has built-in ...
Rick Pannekoek's user avatar
3 votes

How to get schema's where used list?

For this scenario, you can try the following using core service as there is no built in methods for this: UsingItemsFilterData filterCriteria = new UsingItemsFilterData(); filterCriteria....
Anupam Baksi's user avatar
  • 1,690
3 votes
Accepted

How to read schema fields (especially xml type) from tridion using core service factory java?

If you mean how to determine the field type: it is reflected in the type of your loopVariable (which is a pretty lousy name for a variable, BTW :-) Note that ItemFieldDefinitionData Is an abstract ...
Rick Pannekoek's user avatar
3 votes
Accepted

SearchQueryData returns top 1000 reults

As your query uses the underlying Tridion search functionality, it is processed using the standard Solr request handler. In the [Tridion Home]\solr-home\tridion\conf\solrconfig.xml file, this request ...
Jonathan Williams's user avatar
3 votes
Accepted

Error when synchronizing a component against a schema with optional embedded fields which have mandatory embedded fields

Have a look at the SynchronizeFlags enum. You're using synchronizeFlags.All and that does more than you need to get valid content. For example: putting default values in optional fields. That is ...
Rick Pannekoek's user avatar

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