Difference between revisions of "Adding Data Fields to a Data Source Context"

From Documentation
Jump to: navigation, search
m (1 revision)
m (Adding Data Fields to a Data Source Context)
 
Line 5: Line 5:
 
# Point the mouse after the Name label.
 
# Point the mouse after the Name label.
 
# From the Data Source toolbar, click the Insert field button.
 
# From the Data Source toolbar, click the Insert field button.
The Data Sources panel appears.  
+
The Data Sources panel appears.
# Select which data to query.
+
<ol start="4">
# The first entry will be automatically displayed in Page Design.
+
<li>Select which data to query.</li>
# Within the first Layout Region, add a new Layout Region.
+
<li>The first entry will be automatically displayed in Page Design.</li>
# Select the Layout Region and enable Data Source context option in Layout Region Properties panel.
+
<li>Within the first Layout Region, add a new Layout Region.</li>
# Click the DS Config button to establish a recordset for the DataSource context.
+
<li>Select the Layout Region and enable Data Source context option in Layout Region Properties panel.</li>
Disable the Pagination option.  
+
<li>Click the DS Config button to establish a recordset for the DataSource context.</li>
# In the second Layout Region, add a new text box and type'''Jobs'''.
+
</ol>
# Point the mouse after the Jobs label.
+
Disable the Pagination option.
# From the Data Source toolbar, click the Insert field button.
+
<ol start="9">
The Data Sources panel appears.  
+
<li>In the second Layout Region, add a new text box and type '''Jobs'''.</li>
# Select which data to query.
+
<li>Point the mouse after the Jobs label.</li>
The first entry will be automatically displayed in Page Design.  
+
<li>From the Data Source toolbar, click the Insert field button.</li>
# Publish the site to see or navigate all the entries.
+
</ol>
# You should have as many names as there are in the database. Under each name, you should have as many jobs as there are in the database, under that particular Name.
+
The Data Sources panel appears.
To insert a field label that will retrieve its data from a database:  
+
<ol start="12">
 +
<li>Select which data to query.</li>
 +
</ol>
 +
The first entry will be automatically displayed in Page Design.
 +
<ol start="13">
 +
<li>Publish the site to see or navigate all the entries.</li>
 +
<li>You should have as many names as there are in the database. Under each name, you should have as many jobs as there are in the database, under that particular Name.</li>
 +
</ol>
 +
To insert a field label that will retrieve its data from a database:
 
# In Page view, select the Insert Field Label object from the Form toolbar.
 
# In Page view, select the Insert Field Label object from the Form toolbar.
 
# Click in the form region to indicate the Label's location.
 
# Click in the form region to indicate the Label's location.
 
# From the Data Sources toolbar, click the Insert Field button.
 
# From the Data Sources toolbar, click the Insert Field button.
'''Note:'''The insert Field is enabled if there is a Connector already added. The DataSources panel appears.  
+
'''Note: The insert Field is enabled if there is a Connector already added. The DataSources panel appears.'''
# Select the recordset you want to work with.
+
<ol start="4">
# Select the data field you want to be displayed.
+
<li>Select the recordset you want to work with.</li>
# Click the OK button.
+
<li>Select the data field you want to be displayed.</li>
 +
<li>Click the OK button.</li>
 +
</ol>

Latest revision as of 22:11, 1 May 2014

Adding Data Fields to a Data Source Context

After you have created a Data Source Context, you may add data fields using the Text Tool, and the options from the Data Sources toolbar.

  1. In the Layout Region, add a text box in which type: "Name:" or what label you want.
  2. Point the mouse after the Name label.
  3. From the Data Source toolbar, click the Insert field button.

The Data Sources panel appears.

  1. Select which data to query.
  2. The first entry will be automatically displayed in Page Design.
  3. Within the first Layout Region, add a new Layout Region.
  4. Select the Layout Region and enable Data Source context option in Layout Region Properties panel.
  5. Click the DS Config button to establish a recordset for the DataSource context.

Disable the Pagination option.

  1. In the second Layout Region, add a new text box and type Jobs.
  2. Point the mouse after the Jobs label.
  3. From the Data Source toolbar, click the Insert field button.

The Data Sources panel appears.

  1. Select which data to query.

The first entry will be automatically displayed in Page Design.

  1. Publish the site to see or navigate all the entries.
  2. You should have as many names as there are in the database. Under each name, you should have as many jobs as there are in the database, under that particular Name.

To insert a field label that will retrieve its data from a database:

  1. In Page view, select the Insert Field Label object from the Form toolbar.
  2. Click in the form region to indicate the Label's location.
  3. From the Data Sources toolbar, click the Insert Field button.

Note: The insert Field is enabled if there is a Connector already added. The DataSources panel appears.

  1. Select the recordset you want to work with.
  2. Select the data field you want to be displayed.
  3. Click the OK button.