-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from svb-wks/binaries-without-tcmuri-appended
Implement customizable binary filenames without TCM URI
- Loading branch information
Showing
8 changed files
with
136 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 36 additions & 34 deletions
70
Sdl.Web.Tridion.Templates.R2/Resources/GenerateEntityModelParameters.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sdl.com/web/schemas/dynamiccomponent" xmlns="http://www.sdl.com/web/schemas/dynamiccomponent" xmlns:tcmi="http://www.tridion.com/ContentManager/5.0/Instance" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"> | ||
<xsd:import namespace="http://www.tridion.com/ContentManager/5.0/Instance" schemaLocation="cm_xml_inst.xsd"></xsd:import> | ||
<xsd:annotation> | ||
<xsd:appinfo> | ||
<tcm:Labels xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> | ||
<tcm:Label ElementName="includeComponentTemplateData" Metadata="false">Include Component Template related data</tcm:Label> | ||
<tcm:Label ElementName="expandLinkDepth" Metadata="false">Depth to expand Component/Keyword links</tcm:Label> | ||
<tcm:Label ElementName="modelBuilderTypeNames" Metadata="false">Type names of Model Builders to use (separated by semicolons)</tcm:Label> | ||
<tcm:Label ElementName="schemasToEmbedInRichText" Metadata="false">List of schema identifiers (use either schema title or a namespace Uri with optional root element name (NamespaceUri:RootElementName) which will result in embedded items in Rich text fields (separated by semicolons)</tcm:Label> | ||
</tcm:Labels> | ||
</xsd:appinfo> | ||
</xsd:annotation> | ||
<xsd:element name="Parameters"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="includeComponentTemplateData" minOccurs="0" maxOccurs="1"> | ||
<xsd:annotation> | ||
<xsd:appinfo> | ||
<tcm:Size xmlns:tcm="http://www.tridion.com/ContentManager/5.0">1</tcm:Size> | ||
<tcm:listtype xmlns:tcm="http://www.tridion.com/ContentManager/5.0">select</tcm:listtype> | ||
</xsd:appinfo> | ||
</xsd:annotation> | ||
<xsd:simpleType> | ||
<xsd:restriction base="xsd:normalizedString"> | ||
<xsd:enumeration value="true"></xsd:enumeration> | ||
<xsd:enumeration value="false"></xsd:enumeration> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
</xsd:element> | ||
<xsd:element name="expandLinkDepth" minOccurs="0" maxOccurs="1" type="xsd:integer" /> | ||
<xsd:element name="modelBuilderTypeNames" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
<xsd:element name="schemaToEmbedInRichText" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
</xsd:sequence> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:import namespace="http://www.tridion.com/ContentManager/5.0/Instance" schemaLocation="cm_xml_inst.xsd"></xsd:import> | ||
<xsd:annotation> | ||
<xsd:appinfo> | ||
<tcm:Labels xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> | ||
<tcm:Label ElementName="includeComponentTemplateData" Metadata="false">Include Component Template related data</tcm:Label> | ||
<tcm:Label ElementName="expandLinkDepth" Metadata="false">Depth to expand Component/Keyword links</tcm:Label> | ||
<tcm:Label ElementName="modelBuilderTypeNames" Metadata="false">Type names of Model Builders to use (separated by semicolons)</tcm:Label> | ||
<tcm:Label ElementName="schemasToEmbedInRichText" Metadata="false">List of schema identifiers (use either schema title or a namespace Uri with optional root element name (NamespaceUri:RootElementName) which will result in embedded items in Rich text fields (separated by semicolons)</tcm:Label> | ||
<tcm:Label ElementName="schemasForAsIsMultimediaUrls" Metadata="false">List of schema names which will result in multimedia links that should use the url as is from the binary filename without tcm-id</tcm:Label> | ||
</tcm:Labels> | ||
</xsd:appinfo> | ||
</xsd:annotation> | ||
<xsd:element name="Parameters"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="includeComponentTemplateData" minOccurs="0" maxOccurs="1"> | ||
<xsd:annotation> | ||
<xsd:appinfo> | ||
<tcm:Size xmlns:tcm="http://www.tridion.com/ContentManager/5.0">1</tcm:Size> | ||
<tcm:listtype xmlns:tcm="http://www.tridion.com/ContentManager/5.0">select</tcm:listtype> | ||
</xsd:appinfo> | ||
</xsd:annotation> | ||
<xsd:simpleType> | ||
<xsd:restriction base="xsd:normalizedString"> | ||
<xsd:enumeration value="true"></xsd:enumeration> | ||
<xsd:enumeration value="false"></xsd:enumeration> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
</xsd:element> | ||
<xsd:element name="expandLinkDepth" minOccurs="0" maxOccurs="1" type="xsd:integer" /> | ||
<xsd:element name="modelBuilderTypeNames" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
<xsd:element name="schemaToEmbedInRichText" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
<xsd:element name="schemasForAsIsMultimediaUrls" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
</xsd:sequence> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> |
40 changes: 21 additions & 19 deletions
40
Sdl.Web.Tridion.Templates.R2/Resources/GeneratePageModelParameters.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sdl.com/web/schemas/dynamicpage" xmlns="http://www.sdl.com/web/schemas/dynamicpage" xmlns:tcmi="http://www.tridion.com/ContentManager/5.0/Instance" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified"> | ||
<xsd:import namespace="http://www.tridion.com/ContentManager/5.0/Instance" schemaLocation="cm_xml_inst.xsd"></xsd:import> | ||
<xsd:annotation> | ||
<xsd:appinfo> | ||
<tcm:Labels xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> | ||
<tcm:Label ElementName="expandLinkDepth" Metadata="false">Depth to expand Component/Keyword links</tcm:Label> | ||
<tcm:Label ElementName="modelBuilderTypeNames" Metadata="false">Type names of Model Builders to use (separated by semicolons)</tcm:Label> | ||
<tcm:Label ElementName="schemasToEmbedInRichText" Metadata="false">List of schema identifiers (use either schema title or a namespace Uri with optional root element name (NamespaceUri:RootElementName) which will result in embedded items in Rich text fields (separated by semicolons)</tcm:Label> | ||
</tcm:Labels> | ||
</xsd:appinfo> | ||
</xsd:annotation> | ||
<xsd:element name="Parameters"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="expandLinkDepth" minOccurs="0" maxOccurs="1" type="xsd:integer" /> | ||
<xsd:element name="modelBuilderTypeNames" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
<xsd:element name="schemasToEmbedInRichText" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
</xsd:sequence> | ||
</xsd:complexType> | ||
</xsd:element> | ||
<xsd:import namespace="http://www.tridion.com/ContentManager/5.0/Instance" schemaLocation="cm_xml_inst.xsd"></xsd:import> | ||
<xsd:annotation> | ||
<xsd:appinfo> | ||
<tcm:Labels xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> | ||
<tcm:Label ElementName="expandLinkDepth" Metadata="false">Depth to expand Component/Keyword links</tcm:Label> | ||
<tcm:Label ElementName="modelBuilderTypeNames" Metadata="false">Type names of Model Builders to use (separated by semicolons)</tcm:Label> | ||
<tcm:Label ElementName="schemasToEmbedInRichText" Metadata="false">List of schema identifiers (use either schema title or a namespace Uri with optional root element name (NamespaceUri:RootElementName) which will result in embedded items in Rich text fields (separated by semicolons)</tcm:Label> | ||
<tcm:Label ElementName="schemasForAsIsMultimediaUrls" Metadata="false">List of schema names which will result in multimedia links that should use the url as is from the binary filename without tcm-id</tcm:Label> | ||
</tcm:Labels> | ||
</xsd:appinfo> | ||
</xsd:annotation> | ||
<xsd:element name="Parameters"> | ||
<xsd:complexType> | ||
<xsd:sequence> | ||
<xsd:element name="expandLinkDepth" minOccurs="0" maxOccurs="1" type="xsd:integer" /> | ||
<xsd:element name="modelBuilderTypeNames" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
<xsd:element name="schemasToEmbedInRichText" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
<xsd:element name="schemasForAsIsMultimediaUrls" minOccurs="0" maxOccurs="1" type="xsd:normalizedString" /> | ||
</xsd:sequence> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters