Using SDL Tridion 2013 SP1, I am working with Storage Extension (Written with SDL Tridion 2011 and upgraded to make it compatible with SDL Tridion 2013 SP1). In this storage extension, I am trying to get the component presentation of a dynamic component being published.
Earlier in SDL Tridion 2011, this can be retrieved by using the
com.tridion.Storage.ComponentPresentation.getContent() method which returns the Component Presentation as string. However, in SDL Tridion 2013 SP1, this method has been updated to return the component presentation as
byte instead of
Is there some another method through which I can get string presentation of the CP or I am in trouble to change the code everywhere and explicitly convert the byte to string by standard java code - Also, will it be possible if I convert this byte to string, it will give me the Component Presentation published?
Thanks in advance