Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLhelp using passthrough parameter for the XML filehelp using passthrough parameter for the XML file
Previous
 
Next
New Post
3/22/2007 4:37 PM
 

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 5:37 PM
 

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 4:51 AM
 

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.

 
New Post
3/23/2007 11:30 PM
 

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 4:49 AM
 

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.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLhelp using passthrough parameter for the XML filehelp using passthrough parameter for the XML file


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out