Jump to content

JasonFerguson

Members
  • Posts

    5
  • Joined

  • Last visited

JasonFerguson's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Should be: <script> document.write("[url="http://b6.caspio.com/dp.asp?AppKey=ddae2000c2f0bb5fd8424eba8ca5&Mailing_Names="]link[/url]") ; </script> Note the &Mailing_Names for the second parameter.
  2. Update: When pulling the authfield field and your using a view, make sure you reference the full field name as used in that view. (Also you may need to make sure caspio bridge parameters are enabled... not sure on that one) Table: Auth_Table Username/Password, IsAdmin (Yes/NO), IsEnabled (Yes/No) View: Auth_Admin_View Include Username/Password where IsAdmin = Yes IsEnabled = Yes If I'm using Auth_Table as my authentication, I can use [@authfield:Username] to print the contents of that field. If I'm using Auth_Admin_View for my authentication, I would use [@authfield:Auth_Table_Username] It's exactly the same as using parameters with any view. Just took me a moment to remember I was in fact using a view for my authentication.
  3. Can anyone confirm this actually works? Folder/Data page have authorization set. Tablename: Auth_Table Field: Username Placing [@authfield:Username] returns blank, same with any other field in the table. Also does not work in HTML data pages that are authenticated, or anything else I have tested on for that matter.
  4. Depending on how your deploying your datapages, this is how I have been doing it. PHP/HTML Page: report.php, details.php Datapage: Report, Details, Submission For your Report data page, enable parameters. Make the last form element in the "results" section an HTML block containing a full link to your details.php page, pass along a unique identifier so later the Details data page knows which record to pull. Set the Details Page to be "No Details Page". Deploy your report and your submission datapage into report.php Example of the URL would be: https://mydomain.com/details.php?ID=[@field:InternalID] For your Details data page. Enable parameters and Filter by Pre-Defined Criteria (Bridge and external Parameters). For the filter criteria, filter your element where the Comparison type is Equal and the value is the parameter your passing in the Report data page (for my example the value would be [@InternalID] TLDR; Deploy your Report and Submission datapage into the same PHP document. Pass the link record ID from the Report listing to the details datapage. Hopefully that makes sense.
×
×
  • Create New...