Jump to content
  • 0

Embeded datapage in HTML block: receive external parameter


BenjaminS

Question

Hi,

I have embedded a datapage inside a HTML block using iframe following Ned's webinar (here:

 

However, I have a list DataPage form embedded in details  page (and not in results as in the tutorial).

So my problem is: how and and where do I pass field value as parameter of the ID that was clicked to display the details page?

This parameter is needed so that the DataPage embedded in details page  will only display the relevant records.

Many thanks in advance for any suggestions!

Cheers

Benjamin

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @BenjaminS! If I understand your problem correctly, you just want to know how you will pass a field value as the parameter to the details page and where you need to place it. 

First, how can we pass a parameter value? In Ned's video, around 6:24, the parameter is being passed using a link. For you to be able to pass the field value as a parameter, you need to create a hyperlink in an HTML block that will contain both the link to your details page and the parameter value. For example:

<a href="https://this_is_the_direct_link_to_my_details_page.com?ParameterName=[@field:ParameterName]">Link Name</a>

This is the structure of a hyperlink that passes a parameter when clicked. You can also check Caspio's article about it:

https://howto.caspio.com/parameters/parameters-as-query-string-values/

Lastly, where? You pass the parameters on both your Details page and the List page embedded there. Around 7:30 in Ned's video, he showed that the DataPage is receiving a parameter that will then filter the records showing on the page.

 

I hope this helps :) 

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.

Guest
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.

Loading...
×
×
  • Create New...