After our upgrade to Tridion 2011, I was trying to convert our Tridion 2009 Custom URL code written using ASP, to work on 2011. While working on this, I was stuck with a few API's that are not available on Tridion 2011.
On Tridion 2009, below is working as expected:-
window.dialogArguments.fieldValue
window.dialogArguments.fieldType
window.dialogArguments.isMultiValued
window.dialogArguments.publicationURI
On Tridion 2011, I changed the Custom URLs to use the below format but I didn't get back values from the Custom URLs as expected. For firefox, I get too few values back and on IE I get values as undefined
.
FireFox:
window.dialogArguments.getFields()[0].properties.fieldDefinition.localName = SingleLineTextField
window.dialogArguments.getFields()[0].isMultiValued = Undefined
window.dialogArguments.getFields()[0].publicationURI = undefined
IE:
window.dialogArguments.getFields()[0].properties.fieldDefinition.localName = Undefined
window.dialogArguments.getFields()[0].isMultiValued = Undefined
window.dialogArguments.getFields()[0].publicationURI = Undefined
Please suggest how I might be able to fix this.