After our upgrade to Tridion 2011, I was trying to convert Custom URLs code which are written on ASP on Tridion 2009. But in between I stuck with few API's are not available on Tridion 2011.
On Tridion 2009, below are working as expected:-
window.dialogArguments.fieldValue
window.dialogArguments.fieldType
window.dialogArguments.isMultiValued
window.dialogArguments.publicationURI
On Tridion 2011, I changed to below format but I didn't get values as expected. And also on firefox, I get few values 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 me on how to fix this.