Overriding Ambient Data Framework Claims with Session Footprint

Posted on Leave a commentPosted in SDL SmartTarget, SDL Web (SDL Tridion)

On your staging website you will likely want the ability to override claims within the Ambient Data Framework, to test personalizations. To allow Session Footprint, or any other mechanism, to override the claim values in ADF, you will need to update the “cd_ambient_conf.xml” file within your staging website as below: <Security> <!– <RequestValidator>com.tridion.webservices.security.validator.OAuth2RequestValidator</RequestValidator> <SharedSecret>sample_passphrase</SharedSecret> –> <!– Ambient data framework claims forwarding is enabled for the requests coming from white listed IP addresses. –> <WhiteList> <IPAddresses> <!– WARNING: this range should be changed as in this state accepts claims from any IP –> <Ip>0.0.0.0-255.255.255.255</Ip> <Ip>0:0:0:0:0:0:0:0-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff</Ip> </IPAddresses> </WhiteList> <!– Ambient data framework claims […]

Installing SDL Tridion & Beating MSDTC

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

Development environments are a cinch, no firewalls, no problem. Production on the other hand can be more challenging. There is one part that lurks in the shadows, waiting, letting you think you are all done, and that everything is working. Then, you try to copy and paste, or delete a component. You try to create a new publication. BOOM! New transaction cannot enlist in the specified transaction coordinator. You have forgotten that firewall between the content management server and the database server, and MSDTC is not properly configured. The documentation does a great job on the MSDTC settings, and telling […]

Getting my Tridion Fix

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

People like to consume content in very different ways, but the common theme is “I’ll read that later”. I, like many other people, have my preferred ‘bookmarking’ method for keeping up-to-date with whats happening in the Tridion world. For me, it is IFTTT.com and in particular my shared ‘recipe:’ https://ifttt.com/recipes/122004. The ‘recipe’ emails me every time there is a new post in one of the RSS feeds I follow on Feedly (formally Google Reader). Now I just need to make sure I follow all the feeds… For comparison, I also like Scott Hansekman’s Instapaper approach: http://www.hanselman.com/blog/InstapaperDeliveredToYourKindleChangesHowYouConsumeWebContentPlusIFTTTBlogsAndMore.aspx

SDL Tridion Core Service Sample

Posted on Leave a commentPosted in Project Templates, SDL Web (SDL Tridion)

As a follow up to http://www.mrgn.co/2013/10/sdl-tridion-events-system-sample/ I have added another sample project type for the SDL Tridion Core Service. Here it is: http://code.msdn.microsoft.com/vstudio/SDL-Tridion-Core-Service-17f4660b or via GIT here: https://github.com/chrismrgn/Tridion.Templates.CoreService A very bare-bones intro to SDL Tridion Core Service It will also give me an easy place to find my Core Service starter, directly in Visual Studio I will probably update it to be a Visual Studio project template. If/when I do I will update this post.  

SDL Tridion Events System Sample

Posted on Leave a commentPosted in Project Templates, SDL Web (SDL Tridion)

Getting started as a developer in SDL Tridion is much easier than it used to be. In the past, information was very difficult to find, and the only people who could help you were existing Tridion developers. For more information on the past, and how the community has grown, check out my blog post here: http://www.building-blocks.com/thinking/a-community-united/ Now that the community is thriving, there are still a few areas that are trickier than they should be. I hope by putting very simple samples on the Visual Studio Developer Center I can help someone pick up Tridion a little easier. Here is the […]

Azure Quickstart

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

Here is a quick code sample to create a virtual machine from PowerShell on Windows Azure. I use a variation of this script to quickly pop up VM’s to host SDL Tridion in the Cloud #Import-AzurePublishSettingsFile Set-AzureSubscription -SubscriptionId “SUBSCRIPTION_ID” -SubscriptionName “SUBSCRIPTION_NAME” -CurrentStorageAccount “STORAGE_NAME” #Windows Server 2012 with SQL Server 2012 SP1 $image = “fb83b3509582419d99629ce476bcb5c8__Microsoft-SQL-Server-2012SP1-Standard-CY13SU04-SQL2012-SP1-11.0.3350.0-Win2012” $adminPassword = “PASSWORD” #Get Location – Optional override to ‘West US’ $locations = Get-AzureLocation $myLoc = $locations[0].name #Create VM $vm = New-AzureVMConfig –ImageName $image –Name “ScriptedTdnVM” –InstanceSize “ExtraSmall” –HostCaching “ReadWrite” ` | Add-AzureProvisioningConfig -Windows -AdminUsername “TridionAdmin” -Password $adminPassword ` | Add-AzureDataDisk -CreateNew -DiskSizeInGB 50 -DiskLabel ‘scriptedtdndisk’ […]

December 2012 Links: SDL Tridion, .Net, Windows 8, Visual Studio 2012

Posted on Leave a commentPosted in Link Series

Here is a roundup of my reading this month. Find out what piqued my interest: SDL Tridion Using LINQPad with Tridion Executing a JSP DCP Stored in the Database Tridion Talk – Podcasts Yet Another SDL Tridion Navigational Approach SDL Innovate Netherlands  –  29th November 2012 Visual Studio 2012 Visual Studio Premium and Ultimate 2012: Enhanced features for testing software  .Net Entity Framework 6 Paste JSON as classes C#/.NET Little Wonders: The Parallel.Invoke() Method Extending Web API Help Page with information from attributes Windows 8 Code Editor for Windows 8      

Scaling the SDL Tridion Deployer

Posted on Leave a commentPosted in SDL Web (SDL Tridion)

[alert]Originally Featured on Building Blocks blog[/alert] On a recent project we were met with a problem, the publishing pipeline could not handle the volume of publish transactions required. The publish queue would regularly grow to unacceptable lengths and important, even time critical, publish actions were delayed. Why? Well there was no one culprit; all pieces of the puzzle were partly to blame: We were publishing too many pages for the content model (inherited) The templates were taking to much time and resource to render (inherited) The Deployer was simply overwhelmed by the number of publish transactions it was having to process Our […]

Links

November 2012 Links: SDL Tridion, .Net, Productivity, Windows 8, Azure

Posted on Leave a commentPosted in Link Series

Here is a roundup of my reading this month. Find out what piqued my interest: SDL Tridion SDL Tools Suite Updated The ‘Engine’ in Detail Resource Roundup Video .Net ASP.NET Fall 2012 Update ASP.NET Web API & Cross Site Scripting Windows 8 10 Best Features of Windows 8 Productivity Archiving Log Files the Easy Way 12 Tips for Building a Productive Virtual Office Azure Multiple Environments with Windows Azure

Tridion Error – Unable to notify Server

Posted on Leave a commentPosted in Error Series, SDL Web (SDL Tridion)

[alert]I use the Error Series to track the solution to common issues that are easy to forget. They are as much for my memory as public consumption.[/alert] Error: Unable to notify “SERVER_NAME”. Reason: The requested name is valid, but no data of the requested type was found Cause:  Unreachable servers in the database table, likely during a database upgrade or migration. Solution: Update table dbo.QUEUE_CONSUMERS in the Content Manager database setting all inactive/unreachable servers IS_ONLINE value to Zero.