Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

GoGrid - Deploy a Windows Server in the Cloud in Minutes!
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  help using passthrough parameter for the XML file
Previous Previous
 
Next Next
New Post 3/22/2007 1:37 PM
User is offline Tom Van Wynen
28 posts
www.wycliffe.net
10th Ranked


help using passthrough parameter for the XML file 

Hi Colin,
my co-worker in Costa Rica spotted that you had released the XML module. Congratulations and a big huzzah from the xml user community.

I hope that some docs will be forthcoming soon. I spent today working through the Walk_Through text file.

I am trying to use the parameter options for an external XML file and can not get it to work for me:

my external xml file / feed responds to parameters:
http://server.domain.org/lgic/profile-open?code=zaw

I set the QueryString Parameters to:
Name Required Data Origin 
   Code    Pass-Through QueryString (zaw) 
(hardcoded a parameter for now,
but I am not sure how I am supposed to pass the passthrough parameter to the xml URL. I tried using the Parameter name on the XML URL line: ?code  but no joy

if I do not set parameters and  just embed the parameter directly on the xml URL,  call it works.
/lgic/profile-open?code=zaw

see it working at: http://dnn.wbtdev.net/Home/XMLTest/tabid/58/Default.aspx

the XSL parameters work for me; I'm not clear yet on how they get passed to the XSL file, but that will come.

thanks for your help and for all your work on this updated module,

tomvw

 
New Post 3/22/2007 2:37 PM
User is offline Tom Van Wynen
28 posts
www.wycliffe.net
10th Ranked


Re: help using passthrough parameter for the XML file 

Sorry Stefan,

did it again and called you Colin; trying to email / respond to too many people at once.

tomvw

 
New Post 3/23/2007 1:51 AM
User is offline Stefan Cullmann
1431 posts
6th Ranked








Re: help using passthrough parameter for the XML file 

Well, all query string parameters are added to the query string, and the value of these parameters can be of different origin.

You added a parameter which passes through the value of the query string parameter zaw from the DotnetNuke site to the querystring parameter code. Your setup is working as expected (at least for me), you can test it via http://dnn.wbtdev.net/Home/XMLTest/tabid/58/Default.aspx?zaw=zaw

I think you don't want to pass through a query string. Change the data origin to static value, and it will work as you desire.


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

 
New Post 3/23/2007 8:30 PM
User is offline Tom Van Wynen
28 posts
www.wycliffe.net
10th Ranked


Re: help using passthrough parameter for the XML file 

Hi Stefan,

thanks for the reply. What I want to do is pass a parameter, code=zaw, from the query string to the xml module and have it passed on to the xml URL and appended as a query to that.

so, entering

http://dnn.wbtdev.net/Home/XMLTest/tabid/58/Default.aspx?code=zaw

needs to be passed on to the xml module and used as a parameter in the XML request

http://machine.mysite.org/xmlfeed/language?code=zaw

so what do I need to do to get that to happen? I tried several combinations and could not see any way to do that.O don't want to use a static parameter; that does work, but I will be calling this page with many parameters, from a long drop down list and want to display a different result each time.

I am not clear on what the the field options will do for me in the xml parameter settings. I did get the parameters to work fine for the XSL file.

Querystring Parameters 
Name    for the xsl, this is the parameter name that will be passed to and used by the XSL.
Data Origin  this is clear, I think; I need to pass a QueryString parameter
the last box is what is unclear: I thought it would be the name of the incoming query string parameter that I want.

thanks for your help,
tomvw

 
New Post 3/24/2007 1:49 AM
User is offline Stefan Cullmann
1431 posts
6th Ranked








Re: help using passthrough parameter for the XML file 

 tvanwynen wrote

so, entering

http://dnn.wbtdev.net/Home/XMLTest/tabid/58/Default.aspx?code=zaw

needs to be passed on to the xml module and used as a parameter in the XML request

http://machine.mysite.org/xmlfeed/language?code=zaw

so what do I need to do to get that to happen?

Add a Parameter named code, data origin Passthrough QueryString, additional argument code.

The name of the querystring of the xml source and the name querystring of your dnn page doesn't need to be the same, so that is why you need to enter code twice.


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  help using passthrough parameter for the XML file
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP