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...Building ExtensionsBuilding ExtensionsModulesModulesStore/display hyperlinks alongside/as filesStore/display hyperlinks alongside/as files
Previous
 
Next
New Post
12/10/2015 5:15 AM
 

Good day everyone.

I am trying to store hyperlinks in such a way so that they can be displayed alongside files resources in say DAM.

Storing hyperlinks themselves is not difficult. Using Files table as reference one can come up with simple enough table that can keep track of URI, who created the link, user folder reference and all sorts of other goodness.

The difficult part (more involved) is when it comes to mechanics of displaying and storing references in content items as metadata.

I understand that DAM isn't just magically going to know that there is this new table that keeps track of hyperlinks. Same story with File Picker it is not going to display hyperlinks until it has been trained to do so.

This brought me to a realisation that in order to satisfy few simple use cases:

  • storing/displaying hyperlinks alongside files in DAM/Journal/File picker
  • having the ability attach hyperlink as external resources

would require quite a bit of coding and extension of existing DNN library classes.

That begs the question. Is there really nothing in DNN 7.3.3/7.4.2 that already facilitates what I am trying to achieve?

Just to save myself the hassle of chopping and changing modules, content items, classes, controllers, etc., etc. Can Files table be used to store hyperlinks? I mean on top of all user, folder, portal tracking bits and bobs all I am adding on top is FriendlyName and URI fields.

 
New Post
1/6/2016 7:14 AM
 
Isa Iminov wrote:

A lot of stupid things apparently...

After spending two days modding the core with new LinkInfo class (consistency) everything came to a halt when I reached reference to System.IO.File.

I don't know why it didn't hit me sooner but at that point I remembered something that is used a lot in Windows - shortcut(s). Which is essentially a "file" that links to internal or external resource. In other words a hyperlink file. Duh! With this in mind no additional work is required to get existing modules, extensions, file pickers, etc. to display .lnk files.

Not to mention that it would be easier to programmatically generate .lnk file then it is to integrate a brand new class into DNN's core.


PS:
I'd like to know why people who have read my initial question haven't suggested anything either.
Or at least pointed out that what I was about to do is just stupid :p

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesStore/display hyperlinks alongside/as filesStore/display hyperlinks alongside/as files


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out