问题标签 [tds]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
460 浏览

package - 通过 Sitecore TDS 创建增量包

我正在使用 TDS 5.1.0.3 版本。我需要知道,如何通过 TDS 创建增量包?我知道使用 TDS 中的 Deploy 选项创建完整包并使用 /sitecore/admin/UpdateInstallationWizard.aspx 安装它 

但是可以创建更改的项目集的增量包。

帮助将不胜感激。

0 投票
1 回答
1883 浏览

c# - Glass Mapper IEnumerable到 IEnumerable

I am using glass mapper and TDS code generation templates to generate models for my sitecore templates.

All working Good. But, If i have a multi-list field TDS templates are cr

I am using glass mapper and TDS code generation templates to generate models for my sitecore templates.

All working Good. But, If i have a multi-list field TDS templates are creating IEnumerable<Guid>. I want it to be IEnumerable<OtherSitecoreTemplate>. Its working if i manually change it. But next time when code is regenerated, all my changes will be lost.

Is there a better way to do this?


You can set a custom type on your multi-list field that will be used during code generation by setting the "Custom Data" property of the field in TDS:

Custom Data.

In your case, if you set this to "generic=Namespace.OtherSitecoreTemplate" the stock code generation templates for TDS will generate as IEnumerable<OtherSitecoreTemplate>

As an aside, this is where you'd set the type for Link fields. If you use the string "type=OtherSitecoreTemplate" it will strongly type the field to the value provided.

0 投票
1 回答
517 浏览

sitecore - 如何映射到 Sitecore 规则字段

我在映射到RulesSitecore 中的数据字段时遇到了一些问题。我有一个渲染参数模板,它有一个名为“重定向规则”的数据字段。

我正在使用 TDS 和 Glass 将对象映射回 Sitecore。在生成的类中,我得到以下信息:

当我尝试在我的视图渲染中获取“重定向规则”字段的值时

“重定向规则”属性为空。我已通过在体验编辑器中检查该字段来验证该字段是否填充了规则。

任何线索可能会发生什么?

0 投票
2 回答
2324 浏览

powershell - 如何在 Sitecore 7.2 中安装 TDS 生成的 .update 包?

在我的组织为面向公众的 .com 设置 Sitecore 7.2 时,我在尝试实施适当的 CI、发布管理和部署管理时遇到了麻烦。我能够使用 MSBuild 编译我的 Sitecore MVC 代码,从 TDS 编译 .update 包,并将这些包中的每一个打包到 Octopus Deploy 的 .nupkg 文件中。我遇到的是,一旦我部署了 MVC 代码,我还必须部署 Sitecore 结构/内容,这需要我安装 .update 包。我已经尝试过https://github.com/adoprog/Sitecore-Deployment-Helpers提供的解决方案但是对于一个相当轻量级的站点,这仅在我的系统包的 Octopus Deploy 中超时约 20 分钟,更不用说没有触及结构或内容。我正在寻找一种方法,最好是通过 PowerShell(严格来说,是安装该软件包后内置于 sitecore Web 界面中的 Sitecore PowerShell 扩展)。当且仅当我可以使用来自 Octopus Deploy 的 PowerShell 工作流的 SPE 的 Cmdlet 时,使用 SPE 是可以接受的。

请指教。

0 投票
0 回答
522 浏览

performance - 用于站点核心开发的 Visual Studio 2013 Ultimate 非常非常慢

我的笔记本电脑有一个 i5 处理器和 8 GB RAM 和 i5。

我还安装了 Resharper。在进行站点核心开发开发时,Visual Studio 有时会挂起,并且构建/部署过程非常缓慢。我们使用 TDS 5.0.0.4。这是一个使用 MVC 的多站点解决方案。

我尝试了以下链接的解决方案:

但以上都没有解决我的问题。其他团队成员也面临同样的问题。

0 投票
2 回答
1097 浏览

sql-server - 繁琐的 MSSQL LocalDB / TDS

有人知道如何配置 Tedious ( https://github.com/pekim/tedious ) 以连接 Microsoft SQL EXPRESS LocalDB 吗?我不让它工作。

由于 Tedious 使用的是 TDS 协议,我想问题应该是:MSSQL LocalDB 是否支持 TDS?

非常感谢于尔根

0 投票
2 回答
1064 浏览

deployment - Sitecore 字段值在部署期间未更新

我在部署对 Sitecore 项目的更改时遇到问题。我对 Sitecore 中的模板项进行了更改。Sitecore 项目的所有更改都存储在 TDS 中。在构建期间,TDS 会生成一个更新包,然后我在部署期间使用 Sitecore UpdateInstallationWizard 安装此包。

问题是我已经部署了几个构建,只是发现更改未应用于此模板项:我已经从项目中删除了一个字段,但它仍然出现,我还更改了另一个字段值_Standard 值,但在部署后不会更改。

你能帮我找出这个问题的原因吗?有什么方法可以查看包裹中的物品吗?

UPD:我已将包重命名为 zip,并且能够在 addeditems 文件夹中找到模板项本身和该项的标准值。据我了解,这应该意味着具有所有更改的项目都在包装中,但由于某种原因它们没有被应用。

0 投票
1 回答
259 浏览

ldap - 如何使用 java API 修改 TDS userid(uid) 值

我正在尝试使用 API 修改 Tivoli 目录服务器中的 uid 值。请查看以下用户结构。

在这里,我正在尝试更改 uid。可能吗??请指导我

0 投票
2 回答
520 浏览

sitecore - Sitecore TDS 多项目属性基础模板参考对我不起作用

我正在尝试设置多项目属性,就像它在此链接/文章中所说的那样,并带有对另一个 TDS 项目的基本模板引用。 http://hedgehogdevelopment.github.io/tds/chapter4.html#multi-project-properties

与上面的链接类似,我有在项目 X 中生成代码的 TDS 项目 TDS A 和在项目 Y 中生成代码的 TDS 项目 B(基本模板)。项目 X 引用 Y 和 TDS 项目 A 在多项目属性设置中引用项目 B .

听起来我正在做文章所说的。但是从 TDS 项目 A 生成的代码无法生成对 TDS 项目 B 生成的代码的引用。举个例子说明发生了什么:所以正确的行为是项目 X 中生成的类说 D 类应该从基类继承比如说 Project Y 中的 Class Base,而是为不存在的 Class Base 创建自己的完全限定命名空间版本。它使用自己的程序集命名空间 ProjectX.tree.structure.BaseClass,而它应该是 ProjectY.tree.structure.BaseClass。

有没有人让这个工作。我错过了什么吗?

我已经通过调整 T4 模板让它工作了,但这不是最好的解决方案

谢谢

0 投票
2 回答
219 浏览

c# - 如何跨 DMZ 将解决方案发布到 sitecore(使用 TDS)?

我们使用带有 TDS(Sitecore 团队开发)的 Sitecore 来构建我们的网站,我正在尝试设置一个 CI/CD 构建,它将代码部署到我们 DMZ 中的 UAT 服务器,但我无法访问机器非军事区。关于如何做到这一点的任何想法?不在 DMZ 中的机器怎么样?(我们的 CM 机器在 DMZ 中,我们的 CD 服务器在 DMZ 中)。如果我可以将 sitecore 项目部署到 LAN 中的机器并将代码部署到两台服务器,我会很好。