tridion

What is best way to export and import security permissions across environments?

瘦欲@ 提交于 2019-12-08 21:02:35
问题 We have large number of publications and currently we manually apply the CMS permissions across multiple environments (UAT and PROD mainly). This is tedious and often times error prone. We are trying to export and import the CMS permissions across multiple environments, so this could be done once manually and ported to other environments using some sort of tool. Environment: Tridion 2011 SP1 + IIS 7.5 + SQL Server 2008 r2 In Old PowerTools (VBScript) there used to be some tool to manage

How can I retrieve TCM URI of the currently logged in user in JavaScript code?

流过昼夜 提交于 2019-12-08 20:55:38
问题 How can I retrieve the TCM URI of the currently logged in user to Tridion? I am developing a GUI extension on Tridion 2011 and need to check whether a Component has been checked out to the currently logged in user or not. I plan on comparing the currently logged in user's TCM URI to component.getLockedById() . I'm fairly sure I saw how to retrieve the currently logged in user's username somewhere when looking at Tridion's JavaScript files. EDIT I've found out one way to retrieve the username

What do all these parameters when calling a WCF web method from Anguilla JavaScript mean?

旧街凉风 提交于 2019-12-08 19:07:05
问题 I have the following (from Tridion PowerTools), which gets a user name from the CoreService when some JavaScript runs. JavaScript (Anguilla): PowerTools.Popups.Example.prototype._onbtnGetUserInfoClicked = function () { var onSuccess = Function.getDelegate(this, this._handleUserInfo); var onFailure = null; var context = null; //call function PowerTools.Model.Services.Example.GetUserInfo(onSuccess, onFailure, context, false); }; // Delegate function "onSuccess" PowerTools.Popups.Example

Core Service 2011 - Address books

佐手、 提交于 2019-12-08 17:21:12
问题 Is it possible to create Audience Manager Address Books using the Core Service (Tridion 2011 SP1)? (Or automate creating them in any other way - db script, Interop?) Cheers 回答1: There is no Audience Manager functionality in the Core Service; only Content Manager functionality is exposed there. You can, however, use the public API (Tridion.AudienceManagement.API) on the server to create any item you want. You didn't specify the kind of Address Book you want to create - but I'm going to assume

Where can I find the Schema for the SDL Tridion UI extensions configuration file

蹲街弑〆低调 提交于 2019-12-08 17:20:51
问题 I downloaded the HelloWorld Extension for Tridion 2011 code to get started with it and everything is working, but I was wondering where I can find more information about the options in the configuration file. For instance is there a Schema available for the UI extension configuration, in particular for the cfg: (http://www.sdltridion.com/2009/GUI/Configuration), ext: (http://www.sdltridion.com/2009/GUI/extensions) and cmenu: (http://www.sdltridion.com/2009/GUI/extensions/ContextMenu)

GetListUsingItems with Tridion Core Service returns more items than TOM

偶尔善良 提交于 2019-12-08 16:51:39
问题 I want to get all children of a Blueprint item using the GetListUsingItems approach with the Tridion Core Service. I get back different results (more) with the Core Service than with the old way in TOM. It appears I also get back other Components referencing my source Component via a Component Link. Am I missing a filter option in the Core Service? Tridion 5.3: Function GetLocalizedItemNodes(itemUri) Dim tridionItem : set tridionItem = tdse.GetObject(itemUri,1) Dim rowFilter : set rowFilter =

How to handle loading of a view in Tridion's CME

偶尔善良 提交于 2019-12-08 16:47:12
问题 I have an extension to the Tridion 2011 Content Manager Explorer where I want to execute a specific piece of JavaScript only for a specific view. I do this with the following JavaScript fragment: var onDisplayStarted = function () { $evt.removeEventHandler($display, "start", onDisplayStarted); if ($display.getView().getId() == "PublishPopup") { ... } }; $evt.addEventHandler($display, "start", onDisplayStarted); This code has worked well in the past and it definitely triggers when the

Precompiled core service client versus generating your own proxy

天大地大妈咪最大 提交于 2019-12-08 15:07:43
问题 Since 2011sp1 Tridion comes with a precompiled core service client. Would there still be a reason to generate your own proxy by adding a service reference? Or is that older method officially deprecated now? 回答1: Let's take a look at advantages of compiled dll vs service reference: Core service is growing and it's quite a problem to generate service reference reference on slower network. The bigger core service will be the harder it will be to generate service reference (there are workarounds

How should I decide the quotas for the Tridion core service binding?

寵の児 提交于 2019-12-08 14:55:47
问题 I am connecting to the Tridion core service using a System.ServiceModel.WsHttpBinding. The service will only be used by authenticated users, and probably only by code which I control. I have to choose values for the following MaxBufferPoolSize (default 524,288 bytes) MaxReceivedMessageSize (default 65,536 bytes) ReaderQuotas.MaxArrayLength (default 16384 bytes) ReaderQuotas.MaxBytesPerRead (default 4096 bytes) ReaderQuotas.MaxNameTableCharCount (default 16384 bytes) ReaderQuotas

How to get current date and time in XSLT 1.0

假装没事ソ 提交于 2019-12-08 06:09:21
问题 I am using xslt 1.0, I am trying to print current date and time to my node. Below is the sample xslt <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tcm="http://www.tridion.com/ContentManager/5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:em="http://www.emirates.com/tridion/schemas" xmlns:tcmse="http://www.tridion.com/ContentManager/5.1/TcmScriptAssistant" exclude-result-prefixes="em xlink tcmse tcm"> <xsl:output method="xml" version="1.0" encoding=