Jump to content
  • 0

Dynamic results based on specfic webpage! Please help!




Please help with this if you can. I would like to have caspio display my results datapage in a different page on my site (different URL) depending on what link or linked image someone clicks on. The links would be part of my html website....not inside of a caspio datapage.

For example:

Link A

Link B

Link C

Picture A

Picture B

Picture C

If a user clicks on "Link A" I would like the webpage "http://www.mysite.com/linkA.html" to load AND only have the parameter [@LinkA] results displayed on that page.

If user clicks LinkB, page LinkB.html would load and only LinkB results would be displayed.....etc.

So in summary, Is there a way to have caspio display my datapage results based on the URL address of my webpage.....or tell the results page to display a certain value without having to create multiple datapages. I would like to have 25 pages on my site that all have the same caspio embeded code that would display different results based on what page of my website you are at without having to create 25 different datapages.

Any replies are appreciated! Thanks in advance.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0


You can pass the parameter from query string. Have a look at this article: http://howto.caspio.com/parameters/pass ... tring.html

So for links that you have(Link A, Link B,... ) the URL will be something like: http://www.mysite.com/linkA.html?Param= ... fying_link . Where 'Param' is the parameter name and 'value_for_identifying_link' is a value that identifies link. The 'value_for_identifying_link' will be different for different links.

Then in the web page http://www.mysite.com/linkA.html?Param= ... fying_link , you can deploy a datapage which receives the parameter and depending on this parameter displays results. You will need only one datapage. This single datapage will display result on the basis of the parameter value passed to this web page.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...