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 ForumsIFrameIFramequerystring with 3 parametersquerystring with 3 parameters
Previous
 
Next
New Post
1/30/2008 7:37 AM
 

Hi quys,

I have used the IFrame module before using one parameter(userID).

Can you use it with 3 parameters?

I want something like this:

 WebSiteGeneration.aspx?CODE=xUserID=yCompany=z

where code is a numner from 1-6 and company is the companyID

can this be done with the IFRAME module?

thanks

 
New Post
1/30/2008 7:46 AM
 

you can have 33 parameters, if you'd like.

You can define CODE and Company parameters as static and assign those values, for example.

[EDIT]

For dynamic values, you can pass CODE and Company in a querystring or via form submission.

To pass it in querystring, your link to the page with IFrame module on it should include ?CODE=123&Company=456 at the end of url.

Then, in IFrame Options, create two querystring parameters, name them whatever you want, but make sure that textbox after dropdown (where you select Pass-through QueryString), has the correct QueryString parameter name - CODE for one and Company for the other. When you save it, the list of querystring parameters should look like:

CODE Pass-Through QueryString (CODE)
Company Pass-Through QueryString (Company)

NOTE: if you DON'T pass that querystring but you have IFrame waiting for it, the IFrame will pass those params WITHOUT value (?CODE=&Company=)


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
1/30/2008 10:49 AM
 

Thanks Vitaly for your responce

I added this url :

http://localhost/EshopWebSiteGeneration.aspx?CODE=3PU=81NAME=egoIT

than I added three querystrings:

Name Value

CODE Pass-Through QueryString (CODE)

PU User ID

COMPANY Pass-Through QueryString (COMPANY)

is this correct?

thanks again

 
New Post
1/30/2008 11:12 AM
 

First of all, parameter/value pairs are connected to each other with an ampersand symbol. So, the proper format for your url would be http://localhost/EshopWebSiteGeneration.aspx?CODE=3&PU=81&NAME=egoIT

Second, the answer to your question woudl depend on your intentions:

Scenario 1: The COMPANY and CODE is always the same for every single user on your site

In this case, you need to define COMPANY and CODE as STATIC parameters and give them the values of egoIT and 3 repectively. The url needs to be set to just http://localhost/EshopWebSiteGeneration.aspx - all the querystring parameters will be automatically added by teh module.

Scenario 2: The COMPANY and CODE are passed to the page where IFrame module is installed as they are different for different cases.

In this case, you've defined your querystring parameters correctly. URL needs to be just http://localhost/EshopWebSiteGeneration.aspx BUT the url to the page where IFrame module is intalled must include the parameters CODE and COMPANY

I suspect that your case falls under the first scenario. Right?


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
1/30/2008 11:58 AM
 

thanks Vitaly for your reply.

What I really want is the second scenario...

Your help is much appreciated.

The URL was my problem

thanks again

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsIFrameIFramequerystring with 3 parametersquerystring with 3 parameters


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