我正在为Core Service创建一个OrganizationalItemData对象的权限设置列表,我正在寻找帮助确认何时在CME中明确设置权限.
给定一个组织项并了解其共享,本地化和权限继承设置,我们何时需要为其明确设置权限(在CME下Properties> Security)?
鉴于OrganizationalItemData orgItem我可以检查以下内容(文档中的详细信息).
IsShared
获取或设置是否在当前上下文发布中共享该项.
IsLocalized
获取或设置项目是否已在当前上下文发布中本地化.
IsPermissionsInheritanceRoot
如果为项目本身指定了权限,则为true; 否则,false,如果item继承父项的权限.
我可以使用Core Service检查给定CMS中的权限设置.例如:
var CreatedHere = !orgItem.BluePrintInfo.IsShared.GetValueOrDefault();
var IsLocalized = orgItem.BluePrintInfo.IsLocalized.GetValueOrDefault();
var PermissionsFromParent = !orgItem.IsPermissionsInheritanceRoot.GetValueOrDefault();
Run Code Online (Sandbox Code Playgroud)
我想输出给定组织项的权限,还有CMS管理员实际需要在其发布中设置属性的说明.例如,我可以使用针对CMS测试的脚本来显示CMS生产可能需要的内容.
这是事实(我认为).
Shared Local(ized) PermissionsRoot Set here?
No No No No, set in parent in this Publication.
No No Yes Yes, set in this "local" item.
No Yes No Not possible. Can't localize non-shared item.
No Yes Yes Not possible. Can't localize non-shared item. …Run Code Online (Sandbox Code Playgroud) Experience Manager(XPM)(SDL Tridion 2011 SP1的用户界面更新)允许管理员创建页面类型,其中包含与页面类似的组件演示,但也添加有关如何创建和允许其他内容类型的规则.
对于给定的页面类型,我想通过限制内容类型选择来简化作者的选项.
我知道我们可以:
Content Types Already Used on the PageStaging来创建一个区域:<div>
<!-- Start Region: {
title: "Promos",
allowedComponentTypes: [
{
schema: "tcm:2-42-8",
template: "tcm:2-43-32"
},
],
minOccurs: 1,
maxOccurs: 3
} -->
<!-- place the matching CPs here with template logic (e.g. TemplateBeginRepeat/ TemplateBeginIf with DWT) -->
</div>
Run Code Online (Sandbox Code Playgroud)

我把它们都拿走了吗?XPM功能中的任何其他方式或可能的扩展考虑如何限制给定页面类型的允许内容?
我们可以扩展/替换SDL Tridion 2011 Content Manager Explorer中提供的标签吗?
我特别感兴趣的是更改出版物下的根项目.
SDL Tridion具有组织项目,用于对项目或构建块进行分组或"存储" (不要与模板构建块,特定项目混淆).
例如:
在默认发布下,我们有三个选项:根文件夹,根结构组和类别和关键字(包含类别)的标签.

该Categories & Keywords标签本身是不是在以同样的方式分类Building Blocks是一个文件夹.Dominic Cronin暗示了这个SO答案的不同之处.
用于更改这些内容的用例包括:
在SDL Tridion 2011 SP1中使用Core Service时出现"故障状态"错误.以下是什么问题?
namespace coreservice1
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
try
{
using (ChannelFactory<ISessionAwareCoreService> factory =
new ChannelFactory<ISessionAwareCoreService>("wsHttp_2011"))
{
ISessionAwareCoreService client = factory.CreateChannel();
string SCHEMA_URI = "tcm:7-426-8";
var schemaFields = client.ReadSchemaFields(SCHEMA_URI, true, new ReadOptions());
foreach (var field in schemaFields.Fields)
{
Response.Write(string.Format("{0}", field.Name));
}
Response.Write(schemaFields.NamespaceUri);
string NEW_COMPONENT_FOLDER_URI = "tcm:8-15-2";
Tridion.ContentManager.CoreService.Client.ComponentData component = new Tridion.ContentManager.CoreService.Client.ComponentData
{
Schema = new LinkToSchemaData { IdRef = "tcm:8-426-8"},
Title = "Helloworldalll",
Id = "tcm:0-0-0", …Run Code Online (Sandbox Code Playgroud) 例如,要使用SDL Tridion管理网站范围的徽标及其文本元素,我希望它在一个组件中,由(动态)组件模板呈现,并由页面模板放置.我的要求包括:
虽然主页上的徽标CP可以提供动态链接,但作者不需要将徽标作为组件展示(CP)放置在每个页面上.
RenderComponentPresentation(),TCDL或Tridion标签为"非CP"对于这种无CP方法,我认为RenderComponentPresentation()或TCDL标签将是正确的"不可知"方法.一个比另一个更受欢迎吗?
例如,我的模板输出:
<h3>By tridion: (ASP.NET) tag</h3>
<tridion:ComponentPresentation runat="server"
PageURI="tcm:7-1535-64"
ComponentURI="tcm:7-1533"
TemplateURI="tcm:7-1532-32"/>
<h3>By tcdl: tag</h3>
<tcdl:ComponentPresentation
PageURI="@@Page.ID@@"
type="Dynamic"
ComponentURI="tcm:7-1533"
TemplateURI="tcm:7-1532-32"/>
<h3>by render component presentation</h3>
@@RenderComponentPresentation('tcm:7-1533','tcm:7-1532-32')@@
Run Code Online (Sandbox Code Playgroud)
这些在文件系统上转换为以下内容.
<h3>By tridion: (ASP.NET) tag</h3>
<tridion:ComponentPresentation runat="server"
PageURI="tcm:7-1535-64"
ComponentURI="tcm:7-1533"
TemplateURI="tcm:7-1532-32"/>
<h3>By tcdl: tag</h3>
<tridion:ComponentPresentation runat="server"
PageURI="tcm:7-1535-64"
ComponentURI="tcm:7-1533"
TemplateURI="tcm:7-1532-32"/>
<h3>by render component presentation</h3>
<tridion:ComponentPresentation runat="server"
PageURI="tcm:7-1535-64"
ComponentURI="tcm:7-1533"
TemplateURI="tcm:7-1532-32"/>
Run Code Online (Sandbox Code Playgroud)
每个都呈现传递方,以便用户在浏览器中看到正确的CP.
我正在寻找创建一个SDL Tridion架构,其中包含可重复链接列表,同时避免每个链接多个字段.
超链接
在富文本字段中,我有以下创建超链接的选项:*
当内容作者创建其中一个超链接时,他们可以选择链接(可见)文本以及功能类似于典型HTML超链接的标题和目标属性.
"Richtext"表示文本字段,其中Height of the Text Area=至少有2行已Allow Rich Text Formatting选中.
单一模式字段链接 创建单个模式字段时,我看到以下选项:
目前的想法
我在这个"链接列表"中找到的最好的开箱即用(OOTB)设置是提供:
题
架构表单设计器中是否有一种方法,通过更新架构源,或通过代码提供相同(RTF)超链接下拉选项,但在单个字段中?我可能会遗漏一些东西,但是认识到OOTB不支持这种情况.
我正在专门研究Tridion 2011的PowerTools扩展,但这适用于任何带有仪表板按钮的Anguilla扩展.
我们可以设置<ext:title>一个悬停工具提示.用户将鼠标悬停在GUI扩展按钮上以查看此文本.请参阅配置中 "count items"扩展的示例.
<ext:extension assignid="CountItems" name="Count Items"
pageid="Power Tools" groupid="Tools">
<ext:command>PT_CountItems</ext:command>
<ext:title>Count Items</ext:title>
<ext:issmallbutton>false</ext:issmallbutton>
<ext:dependencies>
<cfg:dependency>PowerTools.Commands</cfg:dependency>
</ext:dependencies>
<ext:apply>
<ext:view name="DashboardView" />
</ext:apply>
</ext:extension>
Run Code Online (Sandbox Code Playgroud)
我们要求在未启用扩展时将此工具提示更改为某些有用的文本.
我可以使用Chrome控制台查看按钮内的"计数项目"文本.
<div id="CountItems" class="tridion button PT_CountItems ribbonitem disabled"
title="Count Items" c:command="PT_CountItems"
c:controltype="Tridion.Controls.RibbonButton"
style="-webkit-user-select: none; ">
<div class="image"> </div>
<div class="text">Count Items</div>
</div>
Run Code Online (Sandbox Code Playgroud)
此外,在控制台上,我可以选择的div文字周围:$("div#CountItems > div.text").我不知道如何获取文本.
问题: 当GUI按钮处于非活动状态时,如何/应该如何更改工具提示文本?
我可能也需要澄清这些.
$()一样的jQuery()吗?我尝试$("div#CountItems > div.text").text()并获得 Object #<HTMLDivElement> has no method 'text'最后,
{NameSpace}.Commands.{ExtensionName}.prototype.isValidSelection = …我在另一个问题中询问了Tridion DTAP(开发,测试,验收和生产)的开发人员设置,但是理解该示例与典型的DTAP场景不匹配.
Chris Summers在他的第五届Tridion环境报道中解释了CM方面的问题.但为了清楚起见,我可以帮助理解理想的设置吗?
据我所知,典型的作者只使用Production并从CMS Production发布到"Live"和"Staging".其他环境是用于开发的.
"实时和暂存"是否适用于其他每个环境 - 这是否意味着8个内容交付设置(每个网站)?
如果是这样,合并在哪里可以 - 更少的CMS环境?目标类型更少?
我假设默认的Tridion组(例如编辑,主编等)有一些独特或特殊的东西,因为创建一个新的出版物似乎自动获得这些组.
我实际上看到新出版物在创建时获得其指定父级中的所有组,这不一定是因为它们是默认组.
我可以删除这些默认组吗?除了开箱即用的工作流程选项,还有任何理由从编程或技术角度将这些留在Tridion中吗?
是否有用于将Documentum XML文件转换为SDL Tridion内容的工具或实用程序?
我更喜欢相关的XSL示例或XSLT文件,用于系统之间的XML-XML转换.
我正在使用一个相当通用,可重用的嵌入式架构.
我被困在这个"基本"架构的名称上!
可嵌入的架构字段:
Body Content (另一个可嵌入的模式,允许重复)这应该是熟悉的:
与组织相关的名称是否适合" basic"嵌入式架构?也许这应该是进一步分解或甚至不结合.
我正在编写一个应用程序,用户输入相加的数值.当我尝试将输入从字符串转换为double时,结果为null.例如:
NSString *firstString = stringTextbox.text;
NSLog(@"the first string is %@", firstString);
double firstDouble = [firstString doubleValue];
NSLog(@"the first double is %@", firstDouble);
Run Code Online (Sandbox Code Playgroud)
第一个日志显示正确的输入,但第二个NSLog()调用显示"null".
tridion ×11
tridion-2011 ×2
documentum ×1
double ×1
mapping ×1
objective-c ×1
string ×1
xml ×1