Questions tagged [schema]
Schemas are used to define the structure of content.
131 questions
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: ...
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="...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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) ...
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 ...
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 ...
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 ...
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 ...
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/...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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 ...
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 ...
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 ...
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) ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 '...
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 ...
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.
...
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 ?
<...
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 ...
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 ...
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 ...
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) ...
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 ...
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 ...
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 ...
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 ...