Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

I have 3 fields in a schema. To one of the fields I added a custom URL. The custom URL points to a .NET page which I have created. While creating the component, when I click on the custom URL field I need to pass the field value of 2 other fields to that custom URL page.

I have 3 fields like below.

  1. Video Name
  2. Short Desc.
  3. Video ID

Video ID has custom URl(MY .NET Page). I need to pass video name and Short Desc pass to that custom URL page.

I am using Tridion 2013 SP1.

How can I achieve this?

share|improve this question
    
What version of SDL Tridion are you using? –  Bart Koopman Mar 20 at 8:50
    
Tridion 2013 SP1 –  Pranav Mehta Mar 20 at 8:53
    
Edited tag to be 2013 - we don't use minor versions in Tridion version tags. –  Nuno Linhares Mar 20 at 10:15
    
i am using window.dialogArguments.getFields(); mathod but it gives only current filed i.e Video ID and not able to get value of Video name and short Desc. –  Pranav Mehta Mar 20 at 11:29

1 Answer 1

There's a few good examples in the documentation on how to both read and modify values from a custom URL. Please read the chapter titled "Manipulating field values from a Custom URL Resource" (requires login).

It seems to boil down to using getFields and container Javascript objects.

share|improve this answer
    
Good edit from @jarnohenneman noting login required. I added a link. See Meta for which links to use. –  Alvin Reyes Mar 24 at 9:43
    
Just out of curiosity, is it possible to implement with Tridion 2011 SP1 ? –  user584 Mar 31 at 6:44
    
Yes, Custom URLs are available in Tridion 2011 and even earlier, though the API and how to use the script have changed (since about 2011 SP1, where the docs say they were "deprecated"--but that just refers to how to call and use the script pop-up script). –  Alvin Reyes May 21 at 4:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.