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/...
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(
...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
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 ...
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 ...
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).
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-...
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 (...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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,...
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, ...
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 ...
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 ...
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 ...
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....
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
schema × 1312011 × 21
core-service × 19
2013 × 16
cme × 16
2013-sp1 × 13
c# × 9
component × 9
dxa × 7
web8.5 × 6
content-manager × 6
keyword × 5
xml × 5
embedded-items × 5
templating × 4
componentpresentation × 4
metadata × 4
content-modeling × 4
web8 × 3
dd4t × 3
sdl-tridion × 3
gui-extensions × 3
workflow × 3
rtf × 3
event-system × 2