Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

"Waiting" ANd Unattended Post
Last Post 12-16-2010 02:23 PM by Ryan Bakerink. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Jeff SullivanUser is Offline
going with the flow
going with the flow
Posts:39
Avatar

--
12-14-2010 07:24 AM
    Hello,

    I think we've sorted out our other issues, but there's one piece we need help with.

    We have a long-running process that is kicked off by a DynamicForms submission, and will ultimately lead to a DynamicViuews report, but in the middle, we need to keep waiting until the processing is complete.

    The workflow we want is as follows:

    1. Enter some data (and upload a file) on Page 1. When the form is valid, then redirect to Page 2 , passing along the UniqueCompletionID.

    2. Poll the database until the processing is complete for this UniqueCompletionID, then redirect to the Dynamiv view page, passing on the UniqueCompletionId.

    3. Load a dynamic view on page 3 based on a view of custom data filtered by the UniqueCompletionID.

    We think we have #1 ad #3 working, but #2 is stumping us.

    We can setup a page with a refresh rate of, say 15-30 seconds. We'd like the page to poll the database once when it loads, and then either a) redirect to Page 3 if the polling/validation done by the DB returns a "TRUE" value, or b) do nothing until the refresh hits, at which time, poll the DB again.

    It's not clear if/how we can setup a Dynamic Form to call a SQL query and then either complete the form (and redirect) or not, based on its value without any user interaction.
    ChuckUser is Offline
    river guide
    river guide
    Posts:157
    Avatar

    --
    12-16-2010 06:12 AM


    2. Poll the database until the processing is complete for this UniqueCompletionID, then redirect to the Dynamiv view page, passing on the UniqueCompletionId.



    I am not 100% but,
    You might want to look at the option in the Module Configuration | Validation Configuration

    1. You enable custom Validation script
    2. Enter a store procedure that handles your processing of the record, if it returns a ISVALID parameter, your Completion Event will continue.

    Maybe someone in the DS staff can concur in my line of thinking or I could be wrong in my understanding of your question.
    Ryan BakerinkUser is Offline
    river guide
    river guide
    Posts:1900
    Avatar

    --
    12-16-2010 02:23 PM
    Hello,

    With SQL validation the stored procedure will work perfectly fine, but the misconception is how to return the variable ISVALID.

    Here is a simple example of how to return the ISVALID variable:

    --------------------------------------

    DECLARE @ISValid NVARCHAR(200)

    DECLARE @var int

    set @var = Select Count(*) from Users
    IF @var > 10
    BEGIN
    SET @ISValid = 'True'
    --This condition makes the validation pass
    SELECT @ISValid
    END

    ELSE
    BEGIN
    SET @ISValid = 'False'
    --This condition will make the validation fail
    SELECT @ISValid

    END

    -------------------------------------

    Again this is only an example of a SQL validation query.

    If you have any questions please let me know.

    Thanks,

    Ryan
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi