Skip to main content
Tweeted twitter.com/#!/StackTridion/status/314704583945494531

After our upgrade to Tridion 2011, I was trying to convert our Tridion 2009 Custom URLsURL code which are written onusing ASP, to work on Tridion 20092011. But in betweenWhile working on this, I was stuck with a few API's that are not available on Tridion 2011.

On Tridion 2009, below areis 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. And also onFor 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 me on how I might be able to fix this.

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.

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.

edited tags
Link
Glenn Stevens
  • 1.9k
  • 2
  • 18
  • 33
Source Link
Siva Charan
  • 4.3k
  • 1
  • 20
  • 36

How to handle Custom URLs on Tridion 2011 which are written in ASP on Tridion 2009?

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.