Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListEnhancement to support new documents module functionalityEnhancement to support new documents module functionality
Previous
 
Next
New Post
12/9/2005 1:37 AM
 

Hi Guys,

In the documents module sub-project team, we've been discussing some user controls/tables that are (almost) an exact match for the UDT data structures, so I thought I'd post here and see if we can use each other's work (actually, more just us using your work!).

We're trying to build the ability for users to add user-defined fields to each document entry, and for these to be able to be displayed in the documents list (again, user-defined).  Our design was intended to allow this functionality to be rolled out into other DNN modules as well.  Our table designs are almost the same as the UserDefinedFields table (even down to the table name!), but we've got a couple of extra fields (listed below).  The really important fields are marked in blue, the others are "nice to have":

UserDefinedFields

DesktopModuleID:  Link to the DNN DesktopModules table - defines that this field is "for" that module.

FormatString:  VB-style formatting string, used to format the value for output

ValidationExpression:  Regular expression for data input validation

UserDefinedData

ItemID: Item ID (within a specific module) that the data is stored for (or zero, for modules that don't support multiple data items).  In the case of the documents module, this would be a link to Documents.ItemID.

UserID:  User ID that the data is stored for (allows for per-user data storage), or zero.

UserDefinedRows

We don't have one of these in the design, because we had ModuleID in the UserDefinedData table... but that's ok, the existing design will work for us.

What's the chances of us collaborating to get these fields added to the UserDefinedFields/UserDefinedRows tables so we can use your work (and tables) in the documents module?


 
New Post
12/9/2005 6:29 AM
 

Anthony,

thank you for your message. I definately see relevance and advantages in co-operation between the project teams.

Concerning your proposal I currently don't have a clear view, how you plan the integration. Just sharing data structures and data provider does not really make sense, as it would limit both projects unnecessarily together (copying and making your modifications would be easier for this scenario). So we need some strategy of modularization to provide data services for other modules as yours. We will discuss this within our team and I will contact you.

Sebastian


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/4/2006 6:17 AM
 

Thanks Sebastian,

Have you had a chance to discuss this as yet?


 
New Post
1/4/2006 9:37 AM
 
I like this idea. Personally, I've been wanting columns like your FormatString and ValidationExpression, too. ItemId would probably be a better fit in the UserDefinedRows table, tho; and I'm not sure about your UserId column. Can you provide an example of how you'd use this?

I think what Sebastian was asking about is how you plan on using the UDT features from other modules. Theoretically, you could add UDT controls as controls on the Documents module; but there are some things that UDT tracks that might not make sense for external modules (i.e. sorting and paging). These could either be ignored or there'd have to be some sort of "mode" option to select (i.e. extension or instance mode). Then, would external modules be  responsible for displaying the data? I'm assuming you'd want to have external modules request the data using the UDT controller. The easiest way is to probably  merge the DataSet objects of both modules and create a  view that merges the extra data.

Honestly, in the context of the Documents module, this makes me wonder if it'd be best to simply add an option to upload documents to the UDT. With that, the only other thing you'd need is a way to specify auto-update and/or calculated columns, which is something else I'm interested in. That would cover the owner and size columns. The title is yet another situation that needs to be handled in UDT with respect to email, URL, and even image fields; category would be a regular string field, and last updated could be the date the row was updated, which will be in an upcoming release. Actually, there will be an "updated by" field, too, which might cover the existing owner field, which leaves the size as the only real question.

Of course... that's just my opinion

Michael Flanakin | Microsoft Consulting Services
www.michaelflanakin.com
 
New Post
1/4/2006 9:51 PM
 

Anthony,

we discussed co-operation with your team within our team and for sure this contains many interesting aspects for further developement of both modules and DNN as a whole. We see many routines and controls, where we should avoid double efforts and should rely on tested components of each others module - not to get modules with congruent functionality, but to get modules with specific benefits and be able, to concentrate on these specific features - in order to get the most benefit to DNN users. 

Please note, that we have recently started to enhance UDT module and as a result, we are currently discussing re-design of various parts of the existing approach. We try to take into account needs of other modules, that might profit from utilizing UDT. From the current developement status, I suggest using individual adoptions of our data structure and data provider.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListEnhancement to support new documents module functionalityEnhancement to support new documents module functionality


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