Working with File Action in OWS

By Paul Deschenes
February 2010

In this tutorial we demonstrate working with File Action in your Open Web Studio configurations.

The File Action is a very flexible action which provides many possibilities for working with files on your website. In this tutorial we walk you through three examples, these cover: How to edit a file on your website, how to upload a file to your website and also how to import an Excel or CSV file into a table within your SQL database.

You can download the latest version of OWS from here: www.openwebstudio.com

If you are new to OWS we recommend you first of all view the six part series on How to Build a Knowledge Base Article Module.

The videos cover:

Video 1 - Introduction, How to Edit a File on Your Website

  • Introduction
  • How to add an OWS module to the page
  • How to create a new configuration and set the general properties
  • How to set the module to the new configuration
  • No Query Template
  • HTML code for adding text into a file on your website
  • Viewing the Compression.Config XML file
  • Adding the Actions
  • How to 'listen' for the query string
  • How to load a file from a directory into an Action variable
  • How to create a Query to add the text into the text file
  • How to save the edited text file
  • Testing adding text into a file
Time Length: 7min 52secs

Video 2 - How to Upload a File to Your Website, Creating a Contacts SQL table and CSV file

  • HTML to create an input form element for uploading a file
  • The OWS ACTION tag for uploading files
  • How to configure a Message listener
  • How to create a file action to upload a file
  • Testing uploading a file to the website
  • How to import data into a Contacts table
  • How to create the Contacts SQL table
  • Viewing the Excel file which contains the data to import
  • Creating a CSV format file
  • HTML to import a CSV file
  • Configuring a Message listener for the import file
  • How to create a file action to import the CSV file
Time Length: 7min 21secs

Video 3 - Configuring file action to run a SQL Query and import the data from the CSV file into the Contacts SQL table

  • Mapping the columns from the CSV file to the Contacts SQL table
  • Run As Process
  • Name Action Variables: Percentage, Status, Complete
  • HTML to query the SQL table Contacts and display the data after import
  • Testing the import CSV file
  • Checking the debugging information
  • Viewing the execution and import of all data from the CSV file into the SQL table
Time Length: 6min 31secs

Total Time Length: 21min 44secs

Comments

comments or questionsIf you have any comments or questions for this tutorial, please ask them in this Working with File Action in OWS forum thread.

You need to Subscribe as a member of DNN Creative Magazine and Login to download this video tutorial.


Recommended Tutorials:

R2i Open Web Studio (OWS) Module:
'How to Build a Public Knowledge Base with OWS'
How to Import the Configuration Source Code into Open Web Studio
An Introduction to R2i Open Web Studio – Part 1
How to Build Module Interfaces in Open Web Studio – Part 2
The User Search Interface in Open Web Studio - Part 3
Personalization, Text Editor, Logging and Reporting in Open Web Studio - Part 4
Debugging, Enhanced Reporting, Importing Records and Scheduling - Part 5
Making it Cool - Creating a Mashup - Part 6 of 6
How to Create an Email Form with OWS
How to Create an iPhone App with OWS
How to Create a Portal Signup Module with OWS
How to Create a Custom Login and Register Module with OWS
Working with File Action in Open Web Studio
Enhancing the OWS Login Module and Building a Twitter Module
Form Validation, Dependant Drop Downs and Data Level Security in OWS
How to Create an Installable DotNetNuke PA Module Using OWS
How to Create a Skin Object from an OWS Configuration
OWS Advanced Techniques: User Access and Security
Getting Started With jQuery UI in OWS

DotNetMushroom (DNM) Rapid Application Developer (RAD)
How to Build a News Application with DotNetMushroom RAD
How to Style a News Application Built with DotNetMushroom RAD
How to Implement Multi-Language Localization With DotNetMushroom RAD
Language Resource Files in DotNetMushroom RAD Applications
How to Implement Paging with DotNetMushroom RAD
How to Implement a News Carousel Using DotNetMushroom RAD and JQuery
New Features in DNM 01.20.00
How to Implement a DotNetNuke User Registration Module Using DNM RAD
Creating Charts Using DNM RAD 1.3 for DotNetNuke
Creating an Events Calendar for DotNetNuke using DotNetMushroom RAD
Working with Lists in DotNetMushroom RAD
Making use of the jsTree Control in DotNetMushroom RAD

Ifinity:
URL Master Module

OnyakTech:
SigmaLive Module
OnyakTech Host Commander Module

DNN Stuff:
Aggregator Module
Module Rotator

Markit Modules:
Slideshow Module
PageEar Module

Codeplex:
Monitter4DNN Twitter Module

Oliver Hine:
Advanced Optimized Control Panel

Maps:
GeoSprawl DotNetNuke Locator Module
ZLDNN Advanced Biz Map For DotNetNuke

Evotiva:
DNNBackup Module

Smith Consulting:
DotNetNuke Smith Shopping Cart

InteractiveWebs:
InteractiveWebs Advanced Login Module
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds