PREREQUISITES:
* Have an installation of DotNetNuke 5 or above.
* Download OpenWebStudio.
* Purchase Dynamic Forms or use a Dynamic Forms Trial version.
* Install OpenWebStudio and Dynamic Forms onto your DotNetNuke installation.
* Create 1 page, this page will contain a Dynamic Forms module instance and an OpenWebStudio module instance.
GOAL:
* Report off of a flat SQL that contain Dynamic Form Submission information using OWS
SCENARIO:
* We need to build a form using Dynamic Forms to insert and update Books from flat table. This is going to end up being an Admin control.
GETTING STARTED ON PART 2 OF THIS TUTORIAL
GETTING STARTED
1.) Return to the Page where you started Part 1 of this tutorial, building the Dynamic Form
2.) Place an OWS instance onto this page, beneath the Dynamic Forms module
3.) Click on Administration to begin configuring your module.
A new tab will be opened in your browser. This is the administration area for configuring your OWS instance.
Step 1
We will need to click the new icon, to start from scratch with a new OWS instance.
Now go to the “General Settings” menu tab and add all of the relevant information. Here’s an example of what I have provided:
Save your general savings.
Now we’re going to setup our OWS template to use the SQL Flat table that we have built:
a.) Click on the Item “Region – OnLoad”(Just to highlight)
b.) Click on the “Actions” Menu tab.
c.) Click on the “Query” action.
Take a breath, now here comes the more complicated configuration settings:
Configuring your Query Action:
1.) Double Click on the Query Action that you just added
1.) Provide a name for this Query
2.) Provide the SQL for this Query Action(Select * from DynamicForms_LibraryBooks)
3.) Click “Execute Query”
4.) Click “(Quick Builder)”
5.) Provide the Table Name(DynamicForms_LibraryBooks)
OPTIONAL: Check the checkbox “Include Sorting”. This is a neat feature.
6.) Check the checkbox “Grid”
7.) Check the IsKey checkbox on the far right for BookID(since this column is the Primary Key identifier)
8.) Set BookID as the IsKey for the View and Edit sections.
9.) Click the button “Generate” then click OK
10.) Now Save
Now you should have a beautiful Quick Builder region. Expand the region so you can see the content and details that is being used for your OWS grid.
Now we will save and Publish our OWS instance. Go up and click the two icons in this order:
1.) Save
2.) Publish
We can close our OWS tab for now.
MAPPING OUR OWS INSTANCE TO THE TEMPLATE WE CREATED:
1.) Visit “Settings” from your OWS instance.
2.) GO to the OWS Settings tab.
This concludes part 2 of this tutorial. Now you have a page for Managing your books.