New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DCC Field TypesDCC Field Types
New Post
9/18/2015 12:10 PM


I was curious about two field types for DCC... 

First, it would be awesome if there is a "user" field type. What I've got in mind is that, in "read" mode, it would show some templated value like [DisplayName] ([Title]) or something (where we could change the template, of course). Then, in "edit" mode, it would be a type-to-search thing, like how messages works, allowing me to select a user. This would be huge for all sorts of things... 

The next one I was wondering about is file uploads. In read mode, it could show a download link or icon or something... and in edit mode, let you upload a file of some type(s). 

As a last thought, it would be very cool if we could do templated default values on fields. For example... say I wanted to use DCC to take applications for a program. It would be cool if I could make a field "Applicant" that is a user type, but that defaults to the user ID of the current user. Then, have a field like "Resume" that's a file upload.

Anyway - I know this is all still in development... but I'm really excited about the potential of DCC to really change a lot with DNN's core functionality... and I think including those things would be great.


New Post
9/21/2015 2:28 PM

While we may not support these out of the box, ultimately a DCC Data Type is just a "formatting" layer above a few underlying data types - Integer, Decimal, String, Boolean.

Both User and Filecan be supported using the underlying Integer data types (so we would "store" the UserID and FileID respectively).  The work to support User and File is all about providing an Editor Template for editing Users and Files.  While Users is not planned at this time for the first release, we do intend to support File types and Image types (a subset of file).  Image and File would use the same Editor but the "display" template would be different.

As templates can be added at any time as files in the Host or Admin File area, anyone with the appropriate permissions can create a template and upload it (or using FTP), so if you can coerce your custom datatype into one of the Underlying types then you can do whatever you want.

Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
ASPInsiders Member
View my profile on LinkedIn
New Post
9/21/2015 4:34 PM
Great - thanks Charles... I'll look forward to it! Good to hear about the file type field being planned. Hopefully somebody can figure out how to make a user one as well.
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DCC Field TypesDCC Field Types

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out