Jump to content
  • 0
BillW

Passing parameters between view only tabular data pages

Question

To Whom It May Concern,

The attached file presents the workflow, defines the setup/scripting, and an  issue encountered when a variable is assigned a value and then passed between two tabular datapages that are set in view only modes.

The solution provided was not the first attempted.  The data source tables for this workflow are linked 1:many, but 'I' was unable to take advantage of that with Tabular datapages.  My second attempt was to simply access the linked data via a button with an associated passed parameter.

Thanks in advance,

BillW

Passing Datapage Parameter 7-23-2020.docx

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi SinJun,

Thank you for responding.  I have attached an update to the first file.  On the very last page I show that while the coding error appears to be eliminated, the value of the field I wish to assign to a var "ID" is not defined.  The code actually opens the table as requested; however, the parameter is passed as 'undefined', since it is undefined when the var statement is executed.

I wonder if the var is undefined because I have no way to select the specific record that I wish to read the value of CA_ID from?  The reason may be because this tabular table is configured as 'read only'.  I can only highlight a record.

Passing Datapage Parameter 7-29-2020.docx

Share this post


Link to post
Share on other sites
  • 0

Issue resolved by utilizing caspio's built-in function that uses an HTML block inserted into the child datapage that "links" to the parameter passed from the parent datapage

Share this post


Link to post
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...