tridion-2011

What's the difference between _isEnabled and isEnabled in Anguilla?

有些话、适合烂在心里 提交于 2019-12-01 16:56:21
问题 I've been following GUI extensions and notice examples use either _isEnabled or isEnabled , without the underscore. Both seem to work to extend or possibly replace existing functionality. isEnabled For example, the PowerTools base class (which doesn't seem to "extend" existing functionality) has: PowerTools.BaseCommand.prototype.isEnabled = function(selection, pipeline) { var p = this.properties; if (!p.initialized) { this.initialize(); } if (!this.isToolConfigured()) { return false; } if

Which API can I use for writing SDL Tridion workflow activities?

与世无争的帅哥 提交于 2019-12-01 05:44:10
I would like to create workflow using SDL Tridion 2011 SP1, and i am going through the documentation in the live content portal. I have few questions when I go through the documentation as follows: Can I use C# (TOM.NET) for automatted activities/decisions? or should I use only VBScript (TOM) ? Is there any sample code given in the live content portal for automatted activity/decision? If C# (TOM.NET) is not allowed to use in workflows, why are its namespace/class/member references given there in TOM.NET API file? If VBScript only allowed to use in WF, where can I get code/TOM API reference in

Continuously Update Preview alert on SDL Tridion UI 2012

心不动则不痛 提交于 2019-11-30 09:05:57
I am trying to establish new SDL Tridion UI 2012 functionality on some test (default) pages. I am continuously retrieve "The preview for this page is not up to date" alert despite the fact that I click on "Update preview" several time. I was using virtual image, so anyone else is not possible to edit page except myself. No matters which component changed. I have taken a look into cd_core.log file on "session preview" web service side and find these nodes interesting: INFO WritableODataClaimProcessor - No session wrapper is installed, not allowing modification operations DEBUG

Creating anchor links in rich text fields with SDL Tridion 2011 SP1

时间秒杀一切 提交于 2019-11-29 10:48:22
I am trying to use the anchor button in a RTF field of a Component, and getting unexpected behavior. Using the Chrome Browser from the design view, I highlight/select the heading (i.e. <h2>My Heading</h2> ) I want to use as an anchor, and press the anchor button and enter the anchor name (i.e. my_place). This results in the following code being displayed in my source tab: <a name="my_place" id="myplace"/><h2>My Heading</h2> This causes render problems when displaying the HTML in a browser due to the self closing <a/> tag. I would have expected one of the following three HTML fragments being

How to add external JavaScript or CSS files to our Tridion page?

流过昼夜 提交于 2019-11-29 06:49:54
I have an external JavaScript and a CSS file . I am not getting the idea how to add this file to my page. I am using DWT TBBs for both CTs and PTs . I am writing internal CSS in my page TBB for getting the output for the time being. but I am not getting how to implement JavaScript. Can somebody help me? Should I make these file as component and render them on my page? Is this the correct way? If yes, please tell me the steps to be followed. This is a topic for wide discussion, I'll try to outline the various possibilities: Create CSS & JS as Binary Components, link to these from DWT template

How to update a PDF without creating a new PDF?

有些话、适合烂在心里 提交于 2019-11-26 02:26:33
问题 I am required to replace a word in an existing PDF AcroField with another word. I am using PDFStamper of iTEXTSHARP to do the same and it is working fine. But, in doing so it is required to create a new PDF and i would like the change to be reflected in the existing PDF itself. If I am setting the destination filename same as the original filename then no change is being reflected.I am new to iTextSharp , is there anything I am doing wrong? Please help.. I am providing the piece of code I am