Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...New H2O 3.5 and Advanced Forms GuideNew H2O 3.5 and Advanced Forms Guide
Previous
 
Next
New Post
8/5/2006 5:35 PM
 

H2O is an application builder for DNN.  There is no need to program anything in DNN again.  Easily put together custom forms, configure security, attach to existing tables in SQL Server, accept payments via PayPal, complete custom views and more.  The possibilities are endless.

New Features:

  • More Controls: New control types Radio Button and Radio Button SQL have been added to the form editor.
  • Parameter based dynamic email notifications.  Great for automatically sending out email notifications based on entered data. 
  • New Commands have been added.  These new commands also be executed when the form loads or when the form is saved.
    • Redirect to a specified URL based on the current users Role, Affiliate ID or Region.
    • Grant the user to a new Role
    • Change the displayed name of button controls on H2O forms
  • Data Filtering has been improved to allow the use of H2O Tags.  This allows you to automatically filter contents based on the users profile information or portal values.
  • New visual options added to hide part or all of the H2O Interface.  By hiding the H2O interface, only your form will be rendered.  This is useful when your form only contains Java scripting or H2O commands.  Such as a form that specifically redirects a user based on their region.
  • New Improved Searching
  • New Options for Java Script Registration.


Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
New Post
8/6/2006 4:11 PM
 
A new document called "Advanced H2O Form Development" is available for download from www.OnyakTech.com. This document contains the following and will continue to expand in the future...
  • H2O Basics:  A general overview of the H2O Design
  • Getting Started Fast Tips
  • Step By Step instructions on creating forms and adding controls
  • Securing Form Fields by DNN Role
  • Validating User Input
  • Control Type Specifics
  • H2O Scripting

Some samples of information in the document...

H2O Basics

Basically put, H2O allows you to create custom forms in DotNetNuke.   But it does much more than that.  It gives you the ability to turn a form into much more then just a way to collect data.

Forms in H2O are like modules in DotNetNuke. You must have DotNetNuke before you can have the module.  Forms in H2O define an interface; however it's data (unless connected to an external table) is stored locally within a project.  Any changes to that data are also stored against the project.  All security, teams, sub-forms, etc....all tied to the project. 

This design allows you to quickly build applications within DNN and maintain the forms independence from the project (so that you can re-use the form in other projects or even as sub-forms in a project).  By using “Quick Entry” and other related options in the configurations of H2O, you can setup H2O to display a single form very easily and have it presented to the user as if it's not attached to any projects.

The primary original purpose of H2O was to provide a custom forms module that was not limited to XML, which suffers from database searching and a performance loss.   We also didn’t want to make it mandatory to know database programming.  This resulted in H2O storing it’s data in its own tables while also giving you the option to automatically synchronize with tables in your database.  Simply put…

·         You can create H2O forms from scratch that have no connections to existing tables in your database.

·         You can create H2O forms that are connected to an existing table.  Any changes in that table will update your H2O project.  Any changes in your H2O project will update the existing table.

·         You can create H2O forms that are connected to an existing table and also have controls that pull data from other tables.  For example, you may have a User Profile form that displays data on the current user and then also have a data grid that shows the user their recent purchases.

·         You can have H2O automatically create a form for you by specifying an existing table.  This form can then be left as is or connected to that table for automatic synchronization.

·         You can create an H2O form that contains only scripting (Java or H2O).  Useful for redirecting users to a specific page based on the region specified in their profile.  Or displaying a pop-up advertisement with advanced graphics using Java.

There are four areas to understand in H2O:

1.       Forms: Contain the visual appearance, fields, data synchronization configurations, script and logic commands for H2O.  These can be downloaded for use on any H2O installation, assigned to an H2O project or as a sub-form in an H2O project.

2.        Teams:  A collection of DNN Users that are assigned to one or more H2O Projects for the primary purpose of identifying security rights at a group level.  Teams can be quickly populated by specifying a Role to import users from.

3.       Projects:  Projects are a container for your H2O forms that provide meta-data and additional processing.  For example, if you created an article form you would use the project to allow visitors to post comments, create a custom view of your articles, filter your articles, assign security, etc.  Your forms must be assigned to a project for them to function.

4.       Module Configurations:  This is where you configure how H2O will be presented to the user and how the projects and forms will be used.  For example, you could configure H2O to simply display just a single H2O form and nothing else, or display a menu of all projects in your system with icons, or display a list of posted forms in a project and allowing the user to drill down into the form details, etc.

 ...


Getting Started Fast

To get started quickly, log-on to www.OnyakTech.com and download H2O Forms from the Repository.  These are simple forms but should get you going and give you an idea of can be done.

Another great way to get started (especially if you need to build a form with a lot of fields) is to first create a table in SQL Server that contains all the fields you will want your form to contain.  Then, create a new form in H2O by entering the name of the table you just created as the Form Name and click the Generate From Table link.  H2O will then create your form with all fields and labels as well as having it properly formatted.

...


Control Type Specifics

·         Data Grid:  Enter your SQL Statement into the H2O Script field.  All fields returned will be displayed.   This control does not contain any formatting by default, so you may also want to specify CSS in the CSS Class field to improve the visual appearance of your data grid.

...


H2O Scripting

The H2O Scripting field is used for several purposes.  In this field you will enter SQL Statements, Java/VB Script and H2O Commands.

Note that H2O Commands and H2O Tags are completely different.  

An H2O Command is used by itself with parameters following it. For example, if you entered the following into the H2O Script field for any control “COM_SETNAME=Register”, when your form is rendered the Save button will have it’s displayed text changed to Register.

An H2O Tag is used in SQL Statements and Java/VB Scripts in the H2O Script field to inform H2O that it should replace that H2O Tag with a dynamic value.  For example, the following SQL Statement “Select * From Users Where UserID = [USR_USERID]” will be changed to match the current users User ID and then executed.  Resulting in “Select * From Users Where UserID = 584”

The following H2O Commands are not control specific.  They are used for additional form functionality.  You can use these commands on a control that is not using the H2O Script field or assign it to a hidden Label control.

·         COM_SETNAME: Changes the text displayed on the Save button in H2O.  Ex:”COM_SETNAME=Register”

·         COM_GRANTROLE: Will assign the user completing the form to a specific DNN Role once they complete the form.  Ex: “COM_GRANTROLE=SigmaPlusSource”

·         COM_REDIRECTBYROLE: Will redirect the user to a specified URL if they belong to a specific Role.   The first parameter after the command is the name of the role followed by a “>” character and then the URL to redirect them to.  Ex:”COM_REDIRECTBYROLE=Administrators>http://www.OnyakTech.com”

·         COM_REDIRECTBYAFFILIATEID: Will redirect the user to a specified URL based on their affiliate id in their DNN User Profile.   The first parameter after the command is the affiliate ID followed by a “>” character and then the URL to redirect them to.  Ex:”COM_REDIRECTBYAFFILIATEID=1525>http://www.OnyakTech.com”

COM_REDIRECTBYREGION: Will redirect the user to a specified URL based on their region in their DNN User Profile.   The first parameter after the command is ......


Download the complete document from www.OnyakTech.com



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
New Post
8/6/2006 10:56 PM
 

Hi,

i checked your site and emailed you, is there a demo version of H20

Thanks

 
New Post
8/8/2006 1:07 PM
 

Yes there is, to get a copy... email Sales@OnyakTech.com

 



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
New Post
8/10/2006 12:56 PM
 
 

New Features just added to H2O (v3.5.3)

Session and Query String Parameters

You can run forms dynamically based on Session and/or Query String Parameters.  The syntax is the same as the Parameter Keys.  You can define these parameters in any control that accepts SQL.

For Session values, use the syntax [SSN-YOURSESSIONVARIABLEHERE].  For example, if a module creates a session variable called UserID then you can use the following SQL:

SELECT    * FROM dbo.Users  Where  (UserID= '[SSN-UserID]')

If it was a querystring parameter, then you would use the following...

SELECT    * FROM dbo.Users  Where  (UserID= '[QRY-UserID]')

 



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityCommunity Membe...Community Membe...New H2O 3.5 and Advanced Forms GuideNew H2O 3.5 and Advanced Forms Guide


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out