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!

Multiple Email Events in Single Import Definition?
Last Post 06-22-2009 10:47 AM by Steve Aunan. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Steve AunanUser is Offline
Posts:26
Avatar

--
06-19-2009 03:55 PM

    Is this a feature or a bug?  I'm setting up a new import definition. The Excel file has a column named ActiveMember (1=True, 0=False). I'd like to use two Distribute E-Mail events:

    1. Update User message to users who have been updated, which is supposed to be triggered on "Only Import Updates AND ActiveMember=1"
    2. Welcome message to new users, which is supposed to be triggered on "Only Initial Import AND ActiveMember=1"

    Problem: The second message never gets sent. All users (whether new or updated) receive the first message for Updated Users.

    In the same definition, I'm also trying to use two SQL statements to set "Authorised=True"  or "Authorsed=False" depending on whether ActiveMember = 1 or 0. Here's the SQL:

    • UPDATE dbo.UserPortals SET Authorised = 'True' WHERE (PortalId = 0) and (UserId = $(UserID))
    • When: Initial and Import Updates
    • AND ActiveMember = 1

    There's a similar rule setting Authorised='False' When ActiveMember = 0.

    Problem: Users do NOT get Authorised on Initial Import, but they DO get Authorised on Import Updates.

    Any light you can shed would be welcome.

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    06-22-2009 07:07 AM
    HI Steve, there might be a bug with "Initial Import Only" and our developer will be looking at the code to debug what what the problem is. Will keep you posted. -- David
    Steve AunanUser is Offline
    Posts:26
    Avatar

    --
    06-22-2009 10:47 AM
    Posted By Steve Aunan on 06/19/2009 5:55 PM

    I'm also trying to use two SQL statements to set "Authorised=True"  or "Authorsed=False" depending on whether ActiveMember = 1 or 0. Here's the SQL:

    • UPDATE dbo.UserPortals SET Authorised = 'True' WHERE (PortalId = 0) and (UserId = $(UserID))
    • When: Initial and Import Updates
    • AND ActiveMember = 1

    There's a similar rule setting Authorised='False' When ActiveMember = 0.

    Problem: Users do NOT get Authorised on Initial Import, but they DO get Authorised on Import Updates.



    I've been working with this some more today. A new Update Only definition has two emails and two SQL statements, both tied to the ActivMember Token.

     

    If ActiveMember = 1:

    • Send an "account updated" email
    • Use SQL to set Authorised = 'True'

    If ActiveMember = 0:

    • Send an "account deactivated" email
    • Use SQL to set Authorised = 'False'

    The emails are sent to the correct users, but only the Authorised = 'True" statement gets processed. Below is the latest Schedule History report. J.Doe is the Authorised user (ActiveMember=1). R.Roe is the UnAuthorised user (ActiveMember=0).

    DataSprings.DNN.Modules.UserImport.UserImportProcess, DataSprings.DNN.Modules.UserImport
    Interactive User Import Log: importing:'Update Users - Members';
    logging enabled';
    limited records per instance feature is turned off;
    Excel File:'D:\wwwroot\Portals\0\******.xls';
    Static File:'';
    Excel Sheet Name:'Sheet1';
    Sucessfully Loaded File w/ Row Count:'2';

    ---------------New Imported User---------------

    Records:1
    Display Name:Joe Blow
    PortalID:0
    Updated User:J.Blow


    User Status(success):J.Blow: AddUser
    Preparing to Process Email Events
    Process When: 1
    Event to Process for Updated Registration Only - New User? False
    Event to Process for Updated Registration Only - True, continue processing...
    Process (True or False): True
    Checking to see if the users property 1 which is for field ID 49 matches with the filtered value of 1
    Sending message to user: "Joe Blow"
    Message sent sucessfully!
    Preparing to Process Email Events
    Process When: 1
    Event to Process for Updated Registration Only - New User? False
    Event to Process for Updated Registration Only - True, continue processing...
    Process (True or False): True
    Checking to see if the users property 1 which is for field ID 49 matches with the filtered value of 0
    Preparing to Process SQL
    Process When: 1
    Event to Process for Updated Registration Only - True, continue processing...
    Checking to see if the users property 1 which is for field ID 49 matches with the filtered value of ActiveMember
    Preparing to Process SQL
    Process When: 1
    Event to Process for Updated Registration Only - True, continue processing...
    Checking to see if the users property 1 which is for field ID 49 matches with the filtered value of ActiveMember
    ---------------New Imported User---------------

    Records:2
    Display Name:Richard Roe
    PortalID:0
    Updated User:R.Roe


    User Status(success):R.Roe: AddUser
    Preparing to Process Email Events
    Process When: 1
    Event to Process for Updated Registration Only - New User? False
    Event to Process for Updated Registration Only - True, continue processing...
    Process (True or False): True
    Checking to see if the users property 0 which is for field ID 49 matches with the filtered value of 1
    Preparing to Process Email Events
    Process When: 1
    Event to Process for Updated Registration Only - New User? False
    Event to Process for Updated Registration Only - True, continue processing...
    Process (True or False): True
    Checking to see if the users property 0 which is for field ID 49 matches with the filtered value of 0
    Sending message to user: "Richard Roe"
    Message sent sucessfully!
    Preparing to Process SQL
    Process When: 1
    Event to Process for Updated Registration Only - True, continue processing...
    Checking to see if the users property 0 which is for field ID 49 matches with the filtered value of ActiveMember
    Preparing to Process SQL
    Process When: 1
    Event to Process for Updated Registration Only - True, continue processing...
    Checking to see if the users property 0 which is for field ID 49 matches with the filtered value of ActiveMember

    total records imported:2;

    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