Automation and Integration with Custom DNN Tokens

My Tokens connects data to modules. For example, pull content from DB table or a web service into HTML modules. Imagine the possibilities!

Download 30 Day Trial DEMO

Why My Tokens?
Everybody needs tokens. My Tokens allows including dynamic content from database or Http Requests (could be Web Services) in static places and are also very useful for achieving seamless integration between otherwise isolated components.

Maybe the best way to describe MyTokens is to think of it like an Integration Framework.


  • DotNetNuke 5.5+, DotNetNuke 6, DotNetNuke 7
  • SQL Server 2000/2005/2008/2012/r2 (including msde and express editions)
  • ASP.NET 4.0 (.NET 3.5 version available, but it lacks support for Razor ans Spark)
  • IIS 6.0+
  • For older DNN (<7) MVC3 Framework is also needed when using Razor scripts

DNN Tokens Replacement

My Tokens allows you to use predefined DNN tokens and new ones such as: Session, Cookie, Get or Query String, POST data, Host, User, etc.

Custom Tokens

What's more, you can create custom tokens from Database, File System, HTTP, FTP and Mail Servers.

DNN Integration Tool

My Tokens features API to easily export data for integration with other components such as other websites, Desktop Apps, Mobile Apps.


1 Year of FREE Updates and Support!

Then, renew every year for 50%!

Need Full Tokens Support?

Well, if you want to extend support to all modules that already support standard token replacement, then you can configure My Tokens to patch the DNN core.

If you don't patch the DNN core, My Tokens will still work with a lot of standard and commercial modules.

Supported Commercial Modules

Supported Standard Modules
  •   Text/HTML
  •   Announcements
  •   Links
  •   Reports
  •   User Defined Table
  •   Documents
  •   Form and List
  •   IFrame
  •   MLHTML

Take advantage of our free personal DNN consultation service!

Schedule an appointment today

Application Screenshots

Gadgets Settings

Google Map Gadget


My Tokens Support

News Gadget

New Token Settings


Security Settings

What's new in 5.0.0

  • Increased Minimum DNN version to 8.0.4
  • Increased minimum ASP.NET version to 4.5.2
  • Added the possibility to update Page's title
  • Added the possibility to add comment on razor script
  • Added the possibility to use querystring tokens in the tokenization process
  • Added the possibility to call tokens from razor scripts with named parameters
  • Added the possibility to compile Razor tokens similar to Razor Host module
  • Added a new editor for Razor/Spark scripts
  • Created the Response.AddHeader tokens
  • Automatically Added the System.Web v2.0 dlls on install
  • Automatically deleted the older razorscript .dlls
  • Fixed the issue for the import token
  • Fixed the issue when a short circuit in the process of tokenization for TokenUtil
  • Fixed the issue when language selector is broken after the DNN core is patched
  • Fixed the issue when cookie value set to null if already exists in browser's cookies
  • Fixed the caching issues
  • Fixed the issue when calling a razorscript with parameters from another razorscript doesn't work
  • Fixed the issue when No "Invalid Api Key" message is returned if tring to access website from the External API option
  • Fixed the issue when infinite loop occurs if a token parameters returns itself
  • Fixed the issue when Module core tokens don't work with AF
  • Fixed the issue when "Object reference" error thrown if activating My Tokens on Evoq
Read Full Changelog...


Can't find the feature you need?
Place a feature request on our forums.

  • Extends Existing Token Replacement

    MyTokens inherits all token sources available in DNN (Host, Portal, User, Membership, Profile, Tab, Module, DateTime, Ticks).

  • New Predefined Token (Core Tokens)

    Application, ServerVars, Session, Cookie, Get, Post, Params, UserRoles, URL, NavigateURL, Random

  • Razor Support (C# and VB.NET)

    Starting with version 2.0, My Tokens supports Razor scripts so it's now possible to write complex templates with loops and conditions. All custom tokens are available!

  • Spark Support

    Same as Razor, Spark is an engine capable of building complex templates. The main difference between the two is Spark is more HTML friendly, a lot of it syntax happens inside tags.

  • Inline Script Support

    Normally, Razor and Spark templates are built from My Tokens studio the later used in modules (such as HTML module). But it also support writing the templates directly in the content by enclosing them between <razor>...<razor/> respectively <spark>...</spark> tags.

  • Tokens that Persist

    Special Tokens that get their value from page state and save it in cookies or session so after page state is lost the token maintains its value; the token are GetOrSession, GetOrCookie, GetOrProfile, PostOrSession, PostOrCookie, PostOrProfile.

  • Gadgets Interface

    My Tokens provides XML mechanism to define gadgets, that is tokens that result in embedding some 3rd party controls on the page. My Tokens comes with gadgets for embedding YouTube Videos, Facebook Like button, Disqus, News rotator, Currency Exchange Rates, Tweeet button, Google Maps and much more.

  • Custom Tokens

    Create new tokens as constant strings or built against Database, HTTP Server, FTP Servers or Mail Servers. Further processing of result is possible with use of Parsers.

  • Database Tokens

    Will run a query and fetch the results in tokens that can be used in any MyTokens aware module.

  • HTTP Tokens

    MyTokens will make an HTTP Request and put the response in tokens. Using the parsers, the response can be interpreted as text, json, xml or stripped using a regular expression.

  • File System Tokens

    Tokens are built from a file loaded from disk. Paths can be specified absolute or relative to website root. How tokens are extracted depends on parsers and rules used.

  • FTP Tokens

    This behaves sames as File System Token except the file is grabbed from a FTP Server.

  • Mail Server Tokens (Experimental)

    MyTokens can connect to a Mail Server using POP3 or IMAP and fetch email parts (subject, body, to, from, attachment). Currently, it's only possible to retrieve latest email; filters will be added to match emails.

  • Token Parsers

    Once data is returned from the Token Source, further processing is made with use of Parsers. My Tokens comes with folllwoing parsers: No Parser (data is left as it is), Strip Xml/Html tags, XML Parser, Json Parser and RegExp Parser.

  • Patch Standard Modules

    MyTokens will automatically patch some standard modules (even if they're installed after MyTokens). Supported modules are: Text/Html, Links, Announcements, Reports, Documents, User Defined Table, Form and List, IFrame and MLHTML.

  • Token Replacement in DNN Skin

    MyTokens provides a Skin Object that will replace tokens in Skin Files. In general, it can be included in any .ascx or .aspx file.

  • Advanced Caching Strategies

    My Tokens provides several configurable layers for caching tokens. There are: global (per host), per portal, per role and per user.

  • Seamless and Quick Integration

    MyTokens can be integrated with any other module both ways: to replace tokens and to export tokens that will get replaced in other MyTokens aware modules (using the Api or using intermediate storage - database, file system, application collections).

Related Modules

DNN Presentations Easy As 1, 2, 3
DNN Presentations Easy As 1, 2, 3

Use Dynamic Rotator .NET to show off content and pictures with class or to present ideas and products professionally to potential customers.

Struggling to Create Custom DNN Forms?
Struggling to Create Custom DNN Forms?

Action Form is the most powerful yet easy to use custom form builder available for DNN. It's responsive, too!

Ridiculously good-looking Grids for DNN data-rich Applications
Ridiculously good-looking Grids for DNN data-rich Applications

Action Grid enables the integration of powerful tables from multiple sources into DNN projects, providing a simple yet flexible means of displaying data in a tabular format.

Build REST DNN API With No Coding
Build REST DNN API With No Coding

DNN API Endpoint gives you a complete API platform for directly accessing DNN data securely and efficiently from outside your DNN portal.

DNN Containers on the Fly
DNN Containers on the Fly

Easy Container helps build rich DNN containers at a click of a mouse with live preview! Cut the middle man and increase productivity!

Fully Featured DNN FAQ Functionality
Fully Featured DNN FAQ Functionality

Provide your users with a well-designed and informative FAQ section using FAQ Master. It's the easiest and most modern FAQ solution for DNN. It takes minutes!

FREE DNN Module For Slideshows and Galleries
FREE DNN Module For Slideshows and Galleries

Use Fast Shot to bring your DNN portal to life with simple slideshows and galleries!

DNN Interactive Walkthroughs
DNN Interactive Walkthroughs

InfoBox creates digital walkthroughs on your DNN portal improving the user experience and providing personalized guidance.

Highly Customizable DNN Menus
Highly Customizable DNN Menus

NavXp gives you full control over layout, hierarchy and appearance. Build any DNN menu you can think of in minutes!

Segmentation and Workflows for DNN
Segmentation and Workflows for DNN

Redirect Toolkit has got them all: user redirects, roles redirects, mobile redirects, variable redirects, random A/B testing redirects and a dozen more.

Feature-packed DNN Search Engine
Feature-packed DNN Search Engine

Search Boost has often been said to be light years ahead of any other search engine. Make sure you are not losing customers because they can't find what they're looking for.

All Kinds Of Automated Tasks In DNN
All Kinds Of Automated Tasks In DNN

Optimize your DNN portal to save you a lot of time performing mundane time-consuming DNN tasks that would have otherwise been done by you or your team. The more you can set on autopilot the better.

Drastically improve your website loading time.
Drastically improve your website loading time.

Drastically improve your website's loading time with Sharp CDN.

The DNN Game Changer
The DNN Game Changer

Sharp Look is not just a DNN theme, it is a powerful DNN theme framework, a total design suite with infinite customization possibilities.

Really Modern Looking DNN Tabs
Really Modern Looking DNN Tabs

Tabs Pro comes with clean and responsive themes that will also play nicely with CDNs. Fast and simple to configure!

Ultimate DNN SEO URL Rewriter
Ultimate DNN SEO URL Rewriter

URL Adapter takes on some rather complex concepts such as usability, SEO or redirect workflows and builds a new interface that everyone can understand!


After your purchase and download the modules from the store you will receive your license key via email.