Skip to main content

Questions tagged [schema]

Schemas are used to define the structure of content.

Filter by
Sorted by
Tagged with
31 votes
3 answers
909 views

How to design a recursive menu schema?

I want to define a schema to store the content of a hierarchical menu, which has a depth not known in advance. Let the menu items be just link/caption pairs. This structure is self-contained, that is: ...
esteewhy's user avatar
  • 509
18 votes
3 answers
392 views

Custom Schema Namespace

The lead (Mr Mickolov Wroussakov) of the project I'm currently working on has specified a custom namespace for all content schemas: <xsd:schema elementFormDefault="qualified" targetNamespace="...
johnwinter's user avatar
  • 14.3k
15 votes
11 answers
12k views

What are the advantages and disadvantages of using a "General Content" Schema?

Some Tridion implementations I have worked on/designed make use of just a few schemas and tend to use a General Schema which has a lot of Component Templates linked to it. The Component Templates do ...
Rob Stevenson-Leggett's user avatar
15 votes
2 answers
939 views

How to add field constraints to a Schema

In the documentation I read that it is possible to constrain field content of single-line text fields, number fields and date fields. But how exactly do I do that? My (simplified) Schema looks like ...
John Bax's user avatar
  • 345
15 votes
1 answer
793 views

Get a list of all schemas for a publication, including inherited ones via core service

I wish to retrieve a list of all schemas for a given publication - including inherited ones. Originally I was using the getSearchResults core service method with a filter constraining to the current ...
Bengineer's user avatar
  • 1,407
14 votes
2 answers
666 views

Alternative to Component Synchronizer

According to Google Code the Component Synchronizer powertool for Tridion 2011 is still a work in progress. How else can I update all components to reflect a new schema fields default value? p.s. I ...
Chris Morgan's user avatar
  • 7,327
11 votes
4 answers
381 views

What is the best way to localize Schemas so we can make region specific changes?

What is the best way to localize the Schemas in SDL tridion 2011? We have a schemas for Articles and products. We need to localize this for some region specific changes. Is there a clean solution ...
vishal A's user avatar
  • 111
11 votes
2 answers
409 views

Unable to retrieve converted schema in Tridion

Recently i have migrated my database and CME to SDL Tridion 2013 . Publishing and creating of components are success. But when i try to edit a schema or copy a schema and try to open its design I get ...
Sam's user avatar
  • 1,407
10 votes
6 answers
319 views

How to insert a path field in schema?

Requirement : Provide a Field in a Schema which can be used to link a particular Page. A Component Link can be a option, but I think we cannot link a particular Page with this field. I need to ...
AmateurCoder's user avatar
10 votes
2 answers
154 views

Translate Schema Fields Labels

Does anyone have experience in translating the labels of the schema's in the content editor's GUI based on the language the editor uses in the CME 2011?
Kristof Camps's user avatar
10 votes
2 answers
248 views

How to create a schema containing a field having a color picker?

I need to create a schema with these fields: 1. Title(text type) 2. Image(multimedia type) 2. Color (Red, Blue, Yellow and Green only) To enable an author to choose any color(background/bgcolor) ...
AmateurCoder's user avatar
10 votes
2 answers
538 views

Default value set for a particular field in metadata of a schema is not getting populated if we create the component through TDSE

We have a particular schema in which we set a default value for a particular metadata text field. The default value gets populated if we create relevant component on tridion CME. But we want it ...
Nageswara Sarma Aravelli's user avatar
10 votes
1 answer
184 views

CME error when saving components with required metadata

I'm seeing an strange error when trying to save components using a schema with mandatory embedded metadata schemas. The problem comes when trying to create a new component with this schema. I can ...
Mark Williams's user avatar
9 votes
3 answers
367 views

Rename Schema field and update derived Components

I have a Schema called MySchema with a field called Field1 and would like to rename the field to Field2. I did a test and it seems that changing the name of a field does not update the field in ...
Kevin Brydon's user avatar
  • 1,568
9 votes
5 answers
2k views

Rich Text - How to add in missing <p> tags?

We have an issue where our HTML/CSS requires RTF content to be wrapped in <p> tags in order for some design elements to work correctly. We had some code which added these in if the string did ...
Rob Stevenson-Leggett's user avatar
9 votes
1 answer
274 views

make schema fields read-only in Tridion 2011 SP1

what would be the best approach to create a 'read-only' schema field in Tridion 2011? There was a good extension for 5.3/2009 (http://www.sdltridionworld.com/community/extension_overview/...
Kristof Camps's user avatar
8 votes
5 answers
1k views

Should the XML names of Schema fields be PascalCased or camelCased?

Any time I've created Schemas in Tridion implementations, I've followed the rules for how other XML Fields were named - which has typically been PascalCase: SomeFieldName. I, and other teammates, ...
paceaux's user avatar
  • 2,645
8 votes
2 answers
242 views

Unable to delete a schema in the publication it was created

Unable to delete schema in SDL Tridion 2011 SP1 There is no reference to the schema, yet unable to delete it. Even Using Where used didn't find any references to this schema. Any Fix available for ...
vishal jetha's user avatar
8 votes
3 answers
219 views

How to select a check box by default for existing pages when modifying the metadata schema used by those page?

Workflow is enabled in the system. All pages in the system are associated with the metadata schema. Adding a new check box field to the metadata schema with a default value results in auto selection ...
P.Muralikrishna's user avatar
8 votes
1 answer
2k views

Error trying to save the schema: "The complexType 'uuid:7a55541b-9084-4b21-9351-06b3d1c0b4f2:Content' has already been declared."

I'm creating a Metadata Schema and when I try to add a new field with a Embedded Schema I get the next error: "The complexType 'uuid:7a55541b-9084-4b21-9351-06b3d1c0b4f2:Content' has already been ...
Aroma's user avatar
  • 721
8 votes
2 answers
325 views

Tridion 2009 C# : How To add a custom Schema name space

I'm creating a web service in C# for Tridion 2009. This web service creates a schema in Tridion based on an XML input file. The schema gets created just fine. But I can't seem to change the schema ...
Roel van Roozendaal's user avatar
7 votes
3 answers
201 views

Implement dependent lists while creating a component in SDL Tridion 2011 SP1

Keyword pattern A --A1 --A11 --A111 --A12 --A13 --A2 --A3 B --B1 --B11 --B111 --B12 --B121 In the schema I ...
Patan's user avatar
  • 2,051
7 votes
2 answers
168 views

How do I configure a component link field type to be editable via the core service?

I'm programatically creating a new schema using the core service, and I'd like to be able to create a component link field that is marked as editable. Currently I'm performing the following (note ...
Bengineer's user avatar
  • 1,407
7 votes
1 answer
147 views

Specifying ECL DisplayTypes in a Web Schemas

I just created my first External Content Library (ECL) provider for SDL Tridion 2013. It connects to a third party image/video rendering and streaming service similar to SDL Media Manager. I based ...
Chris Summers's user avatar
7 votes
2 answers
126 views

Default value for Checkboxes from Category

I'm currently using "Values to be selected from a list", and "Category", with List type being Checkboxes. My Categories list has 5 items in them, I'd like to have 3 of them selected by default (as ...
Daryl H's user avatar
  • 625
6 votes
3 answers
239 views

Schema Hiding while creating the component

I would like to hide some selected schemas so that when creating a component, they don't show up in the schema dropdown. How can I do this?
Sharif's user avatar
  • 61
6 votes
2 answers
276 views

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

I have a schema as follows: As you can see it has some embedded fields which are optional (Select List, for example). Some fields inside those embedded fields are mandatory. The component you are ...
Jaime Santos Alcón's user avatar
6 votes
2 answers
620 views

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

I have three Schema X is content schema , Y is Embedded schema , Z is also Embedded schema. schema z is embedded within schema Y i.e also embedded schema Schema X have field called Heading Schema Y ...
k951's user avatar
  • 85
6 votes
1 answer
135 views

Schema Namespace UUID Issue New Components

I am working on SDL Web 8.5 and only using the CME. I have a Schema (SchemaA) with a targetNamespace="uuid:xxx". I can update existing Components based on SchemaA and save them. Additionally, I can ...
Nicholas Wetmore's user avatar
6 votes
3 answers
218 views

Dynamic Choice Lists in Tridion Schema

I'm hoping that there is a way to create a dynamic choice list when the user is filling out the component form based on a schema on the Content Manager side. Example: I have a drop down for Category ...
Daryl H's user avatar
  • 625
6 votes
2 answers
86 views

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

Background We have the flag on the schema selected to force an editor to have to push components through workflow; when this is checked, a new component will not attain a full version number (1.0) ...
Dylan .. Mark Saunders's user avatar
6 votes
1 answer
325 views

"Unable to get Schema of a Component"

I am new To tridion. I am trying a Java program which automatically uploads the image into tridion when an image is selected from the local machine. I have written the following code. import java.io....
user2197873's user avatar
5 votes
5 answers
170 views

Where to Create schemas in multi brand blueprint

I want to know best practice for where to create schemas in multibrand blueprint. In our project, we have two brands for which we need to create schema. In current blue print design, there is only ...
Pankaj Sharma's user avatar
5 votes
1 answer
132 views

Component's schema missing values using CoreService

I'm using CoreService to get a list of Components using Schema like described here. My problem is that I can't get the values of the Schema fields used in each Component. The list shows property ...
polonskyg's user avatar
  • 801
5 votes
3 answers
330 views

Can an optional embedded field be omitted, even when a mandatory dropdown field is included?

We have a schema that includes an optional multivalue embedded field. The schema for this embedded field has 3 optional single text fields, 2 mandatory single text fields and 1 mandatory dropdown ...
Kah Tang's user avatar
  • 777
5 votes
2 answers
280 views

Best practice for designing Experience Manager-managed tabs/sub-tabs component?

I'd like some input on how to best achieve a schema design for tabs, that could contain sub-tabs and/or normal content. Pretty much like this one: http://os.alfajango.com/easytabs/#nested-tab-3 What ...
Xyslarda's user avatar
  • 115
5 votes
2 answers
63 views

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

ExternalContentLibraryStubSchema-mm blueprint problem two different schema - DXA MediaManager Module installs it in 100 Master "Modules/MediaManager" - MediaManager installed it in 200 Example ...
Chris Mills's user avatar
  • 2,231
5 votes
2 answers
148 views

Changing the schema of a component after it has been saved - is it possible?

More of a housekeeping task this one. One of our content editors has created a load of image components and after using them in various content components we've realised that he saved them as the ...
ThatITBloke's user avatar
4 votes
2 answers
184 views

How to find a Tridion Schema using the Namespace Uri

While working on an environment upgrade, we stumbled upon a weird publishing error which told us some schema had a wrong namespace uri. We got an error 'RenderComponentPresentation()' had error '...
Harald Hoffelinck's user avatar
4 votes
2 answers
100 views

Finding Mandatory fields

I am trying to list all mandatory fields in a Schema via a custom Core Service project. I don't see that field in the SchemaFieldsData (or probably I am overlooking it). Is there a way I can ...
Harish A's user avatar
  • 469
4 votes
3 answers
127 views

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

If we add new field in schema then it does not add up in the existing components which are already created in cms based on this schema, Unless we manually open and check-in each individual component. ...
Gulshan Thakur's user avatar
4 votes
2 answers
110 views

How to add an attibute to a element in design view?

I have the below xml and i want to add an attribute to the node NavigationTreeItem in design view .. I don't see any options in schema to add attribute to the element ..any suggestions ? <...
Vani's user avatar
  • 203
4 votes
1 answer
119 views

ICoreService2011.GetDefaultData details

What happens when we use GetDefaultData with a containerId that has a linked Schema? I defined a "main" Schema but I defined this as not mandatory because I want to use another Schema but I was ...
Giu Do's user avatar
  • 847
4 votes
3 answers
379 views

How to create a List type field in schema using core service?

I want to create a schema with a list field by using core service so I can select the keyword when I create a component. for this I create a "SingleLineTextFieldDefinitionData" type field but I did ...
pankaj Sharma's user avatar
4 votes
3 answers
411 views

Multiple embedded schema types in embedded schema field

Is it possible within Tridion 2013 SP1 to have an embedded schema field that allows more than one type of embedded schema. I was wondering if anyone has tried this using a complex schema or knows of ...
mackie1908's user avatar
4 votes
3 answers
161 views

Mandatory Embedded schema field not throwing exception when empty in SDL Tridion 2011

I am pulling back to the basic schema questions in Tridion 2011. I have an embedded schema with three optional fields. I referred this embedded schema in a content schema and marked it(parent field) ...
user1733557's user avatar
4 votes
3 answers
157 views

SDL 2013 SP1 - XML Error prevents successful save of new component

The Problem is this, we’ve created a schema at a high level (020) in the blueprint called “link.” We’ve also created a category called “URI Classification” in the same publication, but have not ...
Andy Ross's user avatar
  • 2,154
4 votes
1 answer
93 views

Default value of parameter schema text field does not appear in Template Builder

I am trying to create a simple parameter schema that has one mandatory text field with a default value of "xxxx". I am using this parameter schema on one of my template building blocks in order to ...
Damian Jewett's user avatar
4 votes
2 answers
379 views

How to get the Field type when reading the Schema Field?

I am reading all the Schemas using core service from the Building Block folder, after reading the schema, I am reading all the field from a particular Schema. I successfully get all the field from a ...
pankaj Sharma's user avatar
4 votes
3 answers
2k views

Passing dynamic parameters in the custom URL of the schema

I have a custom url in a schema and I want to send the publication to this page by a parameter. For example: I open the component of the publication "spanish" and I click in the URL, then the ...
Angela Gallardo's user avatar