You are here Members OnyakTech Forums
Friday, May 24, 2013

Download All DotNetNuke Modules and Skins for Only $99
All OnyakTech DotNetNuke Modules are supported on DNN 4.5.3 and newer (Including 5.x and 6.x).

HomeHomeOnyakTech DotNe...OnyakTech DotNe...Modules & Relat...Modules & Relat...Axon custom contacts and dynamic insertsAxon custom contacts and dynamic inserts
Previous
 
Next
New Post
5/11/2012 11:28 AM
 

 We are using a custom contacts database created using Data Viwer. We need to insert personalized dynamic data but I'm not sure how to do this using our custom database. I've created dynamic inserts but I'm not sure how I can specify the contact in the SQL query. 

Select ArrivalDate from dbo.crmExecuTech where ?

I am stumped at ?. What can I compare that will return the current contact's information. The recipients SQL query executes fine so is there a way to compare against information returned in that query?

 
New Post
5/16/2012 9:52 AM
 

You can use parameters in your SQL.  Details are on...

http://www.dotnetnukeemail.com/Gettin...

 
New Post
5/16/2012 9:53 AM
 

Here is a sample of a SQL Statement using these tokens:
SELECT dbo.Roles.RoleName, dbo.UserRoles.ExpiryDate, dbo.UserRoles.UserID
FROM dbo.UserRoles INNER JOIN
dbo.Roles ON dbo.UserRoles.RoleID = dbo.Roles.RoleID
WHERE (dbo.UserRoles.UserID = [USR-USERID])

The token [USR-USERID] is used in the sample SQL Statement above. This statement returns the recipients current DotNetNuke Roles they belong to and displays the expiration date.

Valid Personalized Tokens are:
• [USR-LASTNAME] - This token will be replaced with the users last name.
• [USR-FIRSTNAME] - This token will be replaced with the users first name.
• [USR-FULLNAME] - This token will be replaced with the users full name.
• [USR-EMAIL] - This token will be replaced with the users email address.
• [USR-AFFILIATEID] - This token will be replaced with the users Affiliate ID.
• [USR-USERID] - This token will be replaced with the users User ID in DNN.
• [USR-USERNAME] - This token will be replaced with the users user name.

 
New Post
5/16/2012 10:37 AM
 

 We aren't using the DNN users, we have our own custom contact database. We don't have a UserID to compare against.

The Recipients Custom To List SQL: Select Email from dbo.crmExecuTech Where Email <> ''

This works great in generating the To List but I need to add personalized content for each recipient. Our Unique Key is a field called ReservationID. Is there any way to compare against this when generating dynamic content?

 
New Post
5/16/2012 3:00 PM
 

In your "Inserts" you can use [USR-EMAIL] token in your SQL to get information based on that recipient.  That token will give you the email address of the current recipient going out, if the user is registered then the other User tokens will also be popuplated but the email token will always be populated.

 
Previous
 
Next
HomeHomeOnyakTech DotNe...OnyakTech DotNe...Modules & Relat...Modules & Relat...Axon custom contacts and dynamic insertsAxon custom contacts and dynamic inserts


DNN Forms 4.2 DotNetNuke Module Released!
5/12/2013 12:00:00 AM
PDF Reports 4.0 Released
5/6/2013 12:00:00 AM
File Search 2.7 Released with Advanced Searching
5/6/2013 12:00:00 AM
Customer Tracking for DotNetNuke
4/26/2013 12:00:00 AM
New DNN Module: Scrolling Text 3.3
4/13/2013 12:00:00 AM
Charts 2.2.9 for DotNetNuke Released
4/6/2013 12:00:00 AM
NEW MODULE: Fast Image 1.5 DotNetNuke Module
3/31/2013 12:00:00 AM
ReZults 5.2 Survey, Vote & Quiz Module for DotNetNuke Available Now
3/17/2013 12:00:00 AM
DotNetNuke Scrolling Content Module Released
2/24/2013 12:00:00 AM
Novus News Module 4.0 for DotNetNuke Released
2/17/2013 12:00:00 AM
Data Viewer 5.2 released for DNN 7 with Seven New Skins
2/2/2013 12:00:00 AM
Simple Free Help Desk for DotNetNuke
1/27/2013 12:00:00 AM
Novus 3.6 DotNetNuke Module for News Articles
1/14/2013 12:00:00 AM
Soma Elite Rich Content Processing for DotNetNuke
1/12/2013 12:00:00 AM
New DotNetNuke Module: Page Tools
1/7/2013 12:00:00 AM
Forms 4.0 for DotNetNuke Released
12/30/2012 12:00:00 AM
Four New DotNetNuke Modules
12/9/2012 12:00:00 AM
NEW DNN MODULE: Microsoft Word Converter for DotNetNuke
11/29/2012 12:00:00 AM
Download Now: CRM Customer Tracking Module for DotNetNuke
11/26/2012 12:00:00 AM
New Module: Customer Tracker (ALPHA)
11/18/2012 12:00:00 AM
The "Ticker" above is the Novus News Ticker.  Novus is a news publishing module for DotNetNuke that was created to fill a need no other module provides. With Novus you can publish RSS Feeds in and out of your site, display messages across multiple portals, organize your articles into multi-level categories with images, automatic email notifications of new articles and so much more. You could even use Novus as a repository providing file downloads to specific roles while also allowing people to rate, comment and subscribe to your postings.

Where did all the old forum posts go? The OnyakTech Forums have been replaced with the latest DNN Forums module.  All posts from 2003 have been archived. 

Copyright 2003-2013 by OnyakTech LLC Privacy StatementTerms Of Use