I am trying to figure out what content type a piece of content is using, but in doing so I have come across an array of additional tools in the PSO tool kit.
Is there any documentation on the PSO toolkit other than what is provided? There is a few holes in the current documentation. For example:
What is itemId, contenttypename and userName expecting.
I am assuming that itemId is the contentid? If I could get the contenttypename that would solve all my problems and I would not have to try and use this, so how do I get it, and what userName is it expecting?
Also, when reading the documentation there seems to be other methods/classes which would be really useful. How do we expose these for use in Rhythmyx? :o
Thanks for the reply. We did not know about that documentation. I think it would be useful if the PSO documentation had a few more examples of code if possible.
Can you tell me how to find out what content type a piece of content is so I can use it in one of the PSO commands?
There’s a list of the basic properties in the Rhythmyx Implementation Guide (look for “System Variables” on page 410). It lists each of the variables in $sys, and gives their “type”.
You have to look up the type in the JavaDoc (either the Rhythmyx javadoc for com.percussion classes, or the general Sun javadoc for other classes).
If there is a method named “getDefinition()” in the javadoc, you can access it in JEXL / Velocity as either “xyz.definition” or “xyz.getDefinition()”. The two expressions are exactly equivalent.
I realize that there’s some confusion out there, and I hope this helps.