Rank: Member
Groups: Joined: 3/4/2009(UTC) Posts: 11
|
I am trying to send an ID field to the page that I listed in the RedirectURL but can't seem to make it work. I have the ActionURL set to the page that has the Uploader configured and have set the AdditionalForm to a form which includes a text field that has the value of the ID. How do I get the RedirectURL page to retrieve the value of ID? I just thought that the additionalform would allow this to work. Is there a simplier way?
|
|
|
|
Rank: Advanced Member
Groups: Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
Hello, If I understood right from your other forum posts you are using ASP.Net. You should add your additional form to your Image Uploader page and set the Metadata.AdditionalFormName property to the name of created form. After uploading the field from this form is accesible through the Package.PackageFields collection. Please find more information and code snippets here. If you are using PHP please check this link: Uploading Additional Data in PHPTo be able to use your additional form data in your RedirectUrl page you should parse your additional form fields (ID) and save them to some XML file. Then on your RedirectUrl page open this file and use your data. You can find some examples in our samples - values of Width and Height properties are saved in XML files and then are used on the Gallery page. Edited by user Thursday, August 18, 2011 9:18:41 PM(UTC)
| Reason: Not specified |
Best regards, Pauline Shirykalova Aurigma Technical Support
|
|
|
|
Rank: Member
Groups: Joined: 3/4/2009(UTC) Posts: 11
|
This seems like a huge endeavor just to post one variable to the redirectURL page. I found a solution that worked for me. I removed the RedirectURL information altogether and under the OnAfterUpload I added a window.location.href tag to the page I want to redirect to and applied querystring name value pairs to the url. Hope this helps others.
|
|
|
|
Rank: Advanced Member
Groups: Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
Hello Sandra,
Thank you very much for your assistance. If you have any additional questions please feel free to ask. |
Best regards, Pauline Shirykalova Aurigma Technical Support
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.