Tutorial<br />One-to-Many DataPages<br />Note: A new and easier way of building one-to-many DataPages is under development...
End Results One-to-Many Details Page<br />2<br />Contact History is a child of Customers table. On the details page Custom...
Tables Structure<br />3<br />Customers table is primary and CustIDis it’s unique ID field. <br />Call_Logis a the child ta...
DataPages in Details Page<br />4<br />Three related DataPages will be configured for deployment into a single Details page...
Search and Results DataPage – 1 of 4<br />5<br />Instead of the standard details page, we pass CustID(Customer ID) to a se...
Search and Results DataPage – 2 of 4<br />6<br />Enable Advanced Options and Parameters<br />
Search and Results DataPage – 3 of 4The Key Step<br />7<br />2: See below<br />3: Insert the ID as a parameter on the link...
Search and Results DataPage – 4 of 4<br />8<br />Disable the standard details page<br />
Customer Details and Customer Contact History DataPages – 1 of 4<br />9<br />Enable Advanced Options and Parameters<br />
Customer Details and Customer Contact History DataPages – 2 of 4<br />10<br /><ul><li> Choose Pre-defined criteria to avoi...
 Enable Parameters so this DataPage can receive CustID
 Choose Bridge and external parameters because the CustID will be passed as a query-string value</li></li></ul><li>Custome...
Configure CustID by selecting the Advanced tab and enabling Receive parameter</li></li></ul><li>Customer Details and Custo...
New Log Web Form– 1 of 4<br />13<br />Enable Advanced Options and Parameters<br />
New Log Web Form– 1 of 4<br />14<br /><ul><li> Set CustID to Hidden and in Advanced tab enable Receive parameter. This wil...
One-to-Many relational Web Application
Upcoming SlideShare
Loading in …5
×

One-to-Many relational Web Application

5,579 views

Published on

This tutorial shows how you can create a one-to-many parent-child database app fast and without programming.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
5,579
On SlideShare
0
From Embeds
0
Number of Embeds
2,600
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

One-to-Many relational Web Application

  1. 1. Tutorial<br />One-to-Many DataPages<br />Note: A new and easier way of building one-to-many DataPages is under development, but for now, here’s how you can create great relational apps, without much effort.<br />December 2009<br />
  2. 2. End Results One-to-Many Details Page<br />2<br />Contact History is a child of Customers table. On the details page Customer’s info is shown plus their Contact History and a web form to submit new Log for this customer.<br />
  3. 3. Tables Structure<br />3<br />Customers table is primary and CustIDis it’s unique ID field. <br />Call_Logis a the child table and CustIDis the record ID from the parent table. It creates a relationship with the parent table. Note the data types.<br />
  4. 4. DataPages in Details Page<br />4<br />Three related DataPages will be configured for deployment into a single Details page.<br />
  5. 5. Search and Results DataPage – 1 of 4<br />5<br />Instead of the standard details page, we pass CustID(Customer ID) to a separate web page where the 3 DataPages are deployed.<br />Search Form<br />Results Page<br />Details Page<br />CustID=x<br />Two screens of a Search and Report DataPage<br />Separate Details page<br />
  6. 6. Search and Results DataPage – 2 of 4<br />6<br />Enable Advanced Options and Parameters<br />
  7. 7. Search and Results DataPage – 3 of 4The Key Step<br />7<br />2: See below<br />3: Insert the ID as a parameter on the link<br />1. Insert an HTML block<br />Step 2: Enter HTML link to where your details page will be deployed. <br />Link should be in the format pagename.htm?ParamName=[@field:FieldName]<br />In this example we use &lt; a href=“details.htm?CustID=[@field:CustID]”&gt;Details&lt;/a&gt;<br />pagename.htm: Page name or extension doesn’t matter, but this is the page where the other 3 DataPages should be deployed in.<br />
  8. 8. Search and Results DataPage – 4 of 4<br />8<br />Disable the standard details page<br />
  9. 9. Customer Details and Customer Contact History DataPages – 1 of 4<br />9<br />Enable Advanced Options and Parameters<br />
  10. 10. Customer Details and Customer Contact History DataPages – 2 of 4<br />10<br /><ul><li> Choose Pre-defined criteria to avoid a search form
  11. 11. Enable Parameters so this DataPage can receive CustID
  12. 12. Choose Bridge and external parameters because the CustID will be passed as a query-string value</li></li></ul><li>Customer Details and Customer Contact History DataPages – 3 of 4<br />11<br /><ul><li> Select CustID as the only filtering field
  13. 13. Configure CustID by selecting the Advanced tab and enabling Receive parameter</li></li></ul><li>Customer Details and Customer Contact History DataPages – 4 of 4<br />12<br />Customer Details DataPage: Select Direct to Details and configure the Details page as you wish.<br />Customer Contact History: Select Tabular and configure the Results page as you wish, without a details page.<br />
  14. 14. New Log Web Form– 1 of 4<br />13<br />Enable Advanced Options and Parameters<br />
  15. 15. New Log Web Form– 1 of 4<br />14<br /><ul><li> Set CustID to Hidden and in Advanced tab enable Receive parameter. This will automatically stamp customer ID with every New Log submission.</li></li></ul><li>New Log Web Form– 1 of 3<br />15<br /><ul><li> Set the next step as load the Same form</li></li></ul><li>Deployment<br />16<br />Deploy the following to your Details Page:<br />Customer Details<br />Customer Contact History<br />New Log Web Form<br />Make sure the name and location of this page matches the link you entered in the HTML block of Search and Report.<br />Deploy the Search & Report DataPage<br />

×