Document Attachments Add a URL (link) field

Jason Chandler asked on May 19, 2014 04:16

Hi all,

I am developing a site in Kentico and the client wants to have rotating banners on the homepage that will link to other documents or possibly external sites. I am using Revolution slider. I want to use document attachments as this would stop the need for me creating a custom "slider Doc Type" just to have an extra field called link.

In document attachments when you edit an image you can go to the page on the popup window that lets you edit Image title etc. and I would like to add a field there that is for a URL link.

Is this possible and How would I go about it?

Many thanks


Correct Answer

Brenden Kehren answered on May 19, 2014 06:57

I'd highly suggest using a new document type vs. attempting to add a new field to Document Attachments simply because this modification wouldn't be supported (and would probably upset the client if you modified base code) and would most likely take you 3-4 if not 10 times as long (if you make all changes across the code base) as if you were to just create a new doc type with the needed fields.

1 votesVote for this answer Unmark Correct answer

Recent Answers

Jason Chandler answered on May 19, 2014 06:59

Thats what I thought Brenden. To be honest I did that before for the same thing, but i was thinking is that right way to do it, and you just confirmed it for me.


0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on May 19, 2014 07:20

Some things just make sense to make "your own" or modify base but in this case it didn't seem like it was worth the return.

I look at all my projects from my clients perspective. If I were to pay all this money (licenses, development, project management, design, etc.) to have something done and then have to call the developer back for each little piece that needed to be tweaked (in a system that is supposed to be robust and simple to use) because the developer wanted to do something their own way, I, as the client, most likely won't use that developer again and will pass that same message on to other potential clients.

But if I can build them a robust website using best practices and only making customizations where absolutely needed, this will allow the client to perform the needed simple changes and call me for larger projects and refer me to other clients. Get it done right, the first time.

Good luck Jason!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.