Today I created a revamped the profile script for administrating a SDL Web 8 Content Management Server. (SDL Web 8 is formally known as the SDL Tridion product). The script already existed for Tridion 2011/2013. Only with renaming the product to SDL Web 8, also the services were changed.
What it does:
When installed it adds several functions. Some of them:
- SDLServices() - Display all SDL Web 8 Services
- Start-TServices() - Start all SDL Web 8 Services
- Stop-TServices() - Stop all SDL Web 8 Services
- Restart-Tservices() - Restart all SDL Web 8 Services
- Open PowerShell and execute the following commands:
- > Set-ExecutionPolicy -ExecutionPolicy unrestricted -Force
- > new-item -path $profile -itemtype file -force
- > notepad $profile
- PASTE the contents of this file
- Save and Close notepad
- Restart PowerShell
The Script (sdlweb8powershellprofile-ps1):
I was inspired when reading the blogpost from Jaime Santos Alcon about his first bookmarklet Go To Publication. When seeing a blueprinted item in a child publication, it would be great to browse with one click to the same location in the origin publication. Great idea, that can save a lot of clicking and browsing in Tridion.
From my point of view bookmarklets are useful, but have some drawbacks:
- The are a bit nerdy and not very likely to be broadly understood by Content Managers and other users.
- With large organizations everybody has to install them in their own browser.
Since this is also useful for non-developers, I think it was worth creating a GUI extension out of it. Then we lower the barrier for usage and it’s easily available for everybody.
I have shared the code of the GUI extension on github: https://github.com/Guzzter/GoToOwningPublication. You can download it there and install the GUI extension by hand or using Robert Curlette’s GUI installer script.
Hope it helps.
When developing you sometimes want to know the actual XML structure of a Tridion component. When having the Tridion Powertools installed on the CMS server, you’re lucky and can use that. When you don’t have it (or aren’t allowed to install it), there is another way.
Btw, It is also possible to retrieve other component XML by specifing the TCM Uri:
If you care about your holiday pictures and other nice memories, you need to backup them for in case your harddisk fails on you. Some people use DVDs, NAS or other devices, but the cloud is becoming a more and more popular solution. A few weeks ago Google announced the new plans around Google Photos. Google Photo gives you unlimited storage space if you are willing to limit photo resolution to 16 megapixels and video resolution to 1080p. You do have the option to store at higher resolutions, but the storage counts against your Google Drive quota. For a more in depth-review, see this excellent post of ExtremeTech.
The nicest thing is that Google has developed a system tray application for Windows to auto-synch certain local folders.
How to setup auto back-up to Google Photos
- Login at https://photos.google.com/ with your Google account.
- Go to the settings area via the left nav pane and select ‘High quality (free unlimited storage)’. (and check other settings if you want)
- Go to the apps area and download the Desktop Uploader.
- Run the installer and configure which folders you would like to auto-synch:
BTW 1: If you already have Google Picasa you can upload albums also from there.
BTW 2: In the apps area you saw that there are also Android and iOS apps available for mobile devices.
Last week I was at the Microsoft Tech Days 2015 in The Hague. One of the sessions was about Visual Studio Productivity. The presenter showed us a ancient feature that is already available since the early: convert your VS scrollbar into a sourcemap-scrollbar. This helps you navigating a long source files, since we humans are picture oriented:
You can enable this by right-clicking the scrollbar itself and choose Scroll Bar Options from the menu. In the dialog check the ‘Use map mode for virtual scrollbar’-setting. Et voila!