The old reindexing tool has been retired as we moved into Tridion 2013. In this new version, there are many commands that can be executed via PowerShell scripts, including a command to reindex search in the CME.
Initially, I just ran Sync-TcmSearchIndex. This command did absolutely nothing in my case. Found out there's a way to query the database by going thru each publication one-by-one.
(Get-TcmRepository).ID | Sync-TcmSearchIndex -verbose
Search finally worked again after executing the above command!
Jin Tridion Blog
Thursday, April 10, 2014
Thursday, December 5, 2013
SDL Tridion 2013 SP1 Released!!
As usual I try to keep up with SDL Tridion product as best as possible. Pretty excited that SDL Tridion 2013 SP1 came out this week!
Just wanted to try it out today installing the basic Content Manager portion and see what has changed.
Here goes!
STEP 1
Choose what feature you want to install. Looks like "Context Expressions" is something new here
STEP 2
Installing the missing prerequisites (nothing changed)
STEP 3
Enter MTSUser Account (nothing changed)
STEP 4
Connect to database. In addition to the normal SQL user, you can actually use Windows Authentication now!
STEP 5
This step is optional but we use SDL WorldServer for our translation services. There's a new selection called SDL BeGlobal which is a new SDL automated translation service that's hosted in the cloud.
STEP 6
Installing SDL Tridion (nothing changed)
STEP 7
Select your license file (nothing changed)
STEP 8
Get ready to install (nothing changed)
STEP 9
Installing......
STEP 10
DONE!!
Upon first access, I am quite impressed! I am immediately greeted with a dynamically spinning "Loading" page.
Here's the home screen of the completely new dashboard in Tridion 2013 SP1
Just wanted to try it out today installing the basic Content Manager portion and see what has changed.
Here goes!
STEP 1
Choose what feature you want to install. Looks like "Context Expressions" is something new here
STEP 2
Installing the missing prerequisites (nothing changed)
STEP 3
Enter MTSUser Account (nothing changed)
STEP 4
Connect to database. In addition to the normal SQL user, you can actually use Windows Authentication now!
STEP 5
This step is optional but we use SDL WorldServer for our translation services. There's a new selection called SDL BeGlobal which is a new SDL automated translation service that's hosted in the cloud.
STEP 6
Installing SDL Tridion (nothing changed)
STEP 7
Select your license file (nothing changed)
STEP 8
Get ready to install (nothing changed)
STEP 9
Installing......
STEP 10
DONE!!
Upon first access, I am quite impressed! I am immediately greeted with a dynamically spinning "Loading" page.
Here's the home screen of the completely new dashboard in Tridion 2013 SP1
Finally, here's the new content explorer screen.
Overall, I am quite impress with this version of Tridion. Good job R&D team!!
Tuesday, April 16, 2013
Using Tridion PurgeAppData Tool
Yesterday I experienced a strange issue where the publication property cannot be accessed due to the following error:
The item tcm:0-167-65568 does not exist
Seems like this group ID was somehow removed or corrupted.
Good thing, there is a solution to purge the application data tied to this publication.
Out of the box, Tridion comes with a tool in the Tridion\bin folder called "PurgeAppData.exe". Using this tool we can purge old app data specific to permission, translation configurations, workflow, etc....
By going into CMD, and doing a PurgeAppData.exe list command, I can see all the app data in the CM.
The one I wanted to purge in this scenario is the tm:Rights app data.
The command would be: PurgeAppData.exe purge:tm:Rights
After purging, I can now access the publication property again =)
The item tcm:0-167-65568 does not exist
Seems like this group ID was somehow removed or corrupted.
Good thing, there is a solution to purge the application data tied to this publication.
Out of the box, Tridion comes with a tool in the Tridion\bin folder called "PurgeAppData.exe". Using this tool we can purge old app data specific to permission, translation configurations, workflow, etc....
By going into CMD, and doing a PurgeAppData.exe list command, I can see all the app data in the CM.
The one I wanted to purge in this scenario is the tm:Rights app data.
The command would be: PurgeAppData.exe purge:tm:Rights
After purging, I can now access the publication property again =)
Wednesday, April 3, 2013
Tridion 2013 GA is out!!
Was able to get my hands on the latest version of Tridion =)
Installation Updates:
Installation Updates:
- No more DatabaseManager.exe (Replaced by PowerShell scripts)
- No more Tridion_cm_log database (never understood why this was required from the start)
- Windows Server 2012 and SQL Server 2012 SP1 supported
- ECL (External Content Library)
- Workflow bundles
- Facebook Notifi...... I mean Tridion Notification (improved messaging/notification)
- And my favorite....... "Checked-out Items" shortcut!!! (This will definitely make Content Porting a lot easier!)
Some misc screenshots:
Friday, January 25, 2013
Allowing "-" in Tridion Publication Path
Today we had a requirement where the publication path need to include a "-" for all locales. For example, we will need the publication path of an English site to have "en-US" and not "en_US"
However, by default, Tridion CMS does not allow for this to work. When trying to add a "-" you will get the following error:
Here's the work around:
However, by default, Tridion CMS does not allow for this to work. When trying to add a "-" you will get the following error:
Here's the work around:
- Open \Tridion\bin\cm_xml_usr.xsd
- Modify the <xsd:simpleType name="FilePath"> element to include "\-" in the XSD Pattern.
- You will now see the following:
- Restart Tridion COM+
Now you should be able to add a "-" to the Publication Path!
Monday, December 17, 2012
Adding User Credential to the TridionRsaKeyContainer
In order to make modification to the Tridion MMC Snap-in such as the database settings, your user account will need access to the TridionRsaKeyContainer.
Ever get this annoying "Access is denied" error when you tried to add yourself to the TridionRsaKeyContainer? I have plenty of times.....
I always thought that the original Administrator account who did the Tridion installation can grant this access. But what if the original user account that was used was deleted or the employee left the company? Then you're screwed........ ok, that's not true!
Here's a way around it with the use of Microsoft PSTools
Ever get this annoying "Access is denied" error when you tried to add yourself to the TridionRsaKeyContainer? I have plenty of times.....
I always thought that the original Administrator account who did the Tridion installation can grant this access. But what if the original user account that was used was deleted or the employee left the company? Then you're screwed........ ok, that's not true!
Here's a way around it with the use of Microsoft PSTools
1) Download PSTools (http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx)
2)
Unzip the tools to somewhere on the server
3)
Drop out to a command prompt and go to where PSTools is unzipped
4)
Run: psexec -i -s cmd.exe (This should open another command prompt window)
5) In
the new command prompt windows, navigate to where aspnet_regiis is (should be
in c:\Windows\Microsoft.Net\Framework64\v4.0.30319
6)
Run: aspnet_regiis -pa "TridionRsaKeyContainer"
"Domain\UserName"
SUCCESS! Access is granted!
Hope this helps if anyone ever run into this issue.
Kudos to Brandon Truong from SDL Support!
Tuesday, October 30, 2012
"Hello" PowerShell
Playing around with Windows PowerShell today. As usual, the first thing that people learn is the infamous "Hello World" program. So I tried scripting an array of string in PS (plus color!)
Here's a breakdown of what's happening:
PS C:\> 0..15 | % {Write-Host -ForegroundColor $_ "HELLO Robert Jin!!!"}
- 0..15 - This is a range operator with an array of numbers from 0 to 15
- Write-Host - Operator to print text to the screen
- -ForegroundColor - The color of the text
- $_ - The numeric value that is required for the the previous command (ForegroundColor)
- "<String>" - The string of text to display
ForegroundColor also have a few pre-set color schemes. Here's the list:
-ForegroundColor 0 = Black
-ForegroundColor 1 = Dark Blue
-ForegroundColor 2 = Dark Green
-ForegroundColor 3 = Dark Cyan
-ForegroundColor 4 = Dark Red
-ForegroundColor 5 = Dark Magenta
-ForegroundColor 6 = Dark Yellow (Not sure why this is showing as 'White')
-ForegroundColor 7 = Gray
-ForegroundColor 8 = Dark Gray
-ForegroundColor 9 = Blue
-ForegroundColor 10 = Green
-ForegroundColor 11 = Cyan
-ForegroundColor 12 = Red
-ForegroundColor 13 = Magenta
-ForegroundColor 14 = Yellow
-ForegroundColor 15 = White
Well, that's it for now =)
Well, that's it for now =)
Subscribe to:
Posts (Atom)