+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Adding custom column to back end view with action

Adding custom column to back end view with action

2 posts, 0 answered
  1. Anthony
    Anthony avatar
    11 posts
    Registered:
    05 Mar 2015
    14 Apr 2015
    Link to this post

    So I've successfully added a column ("Clone Document") to the back end view of the document listings (see attached screenshot) by adding a CommandColumnElement in the back end -> Libraries -> Controls ->Document Backend -> Views -> Documents BackEndList -> ViewModes -> Grids -> Columns.

     I need to know how I can perform some action on the click event of that added linked though. For example, when the link is clicked I need to send the user to a specific URL that passes the document ID as a query string. Is this possible? If so, how can it be done?

    I can't find any documentation that helps tell me how to do this. I have looked at the following, but none seem to highlight what I want to do: 

    http://www.sitefinity.com/blogs/team-blog/2012/01/22/extending_the_built-in_content_modules

    http://www.sitefinity.com/blogs/sabrie-nedzhip's-blog/2014/10/10/extend-the-sitefinity-back-end-forms-grid-and-include-an-action-to-display-subscribers

  2. Anthony
    Anthony avatar
    11 posts
    Registered:
    05 Mar 2015
    14 Apr 2015
    Link to this post
    It turns out that the bottom portion of this blog page worked as you can use Javascript to catch the command click in the same way. http://www.sitefinity.com/blogs/teamblog/posts/team-blog/2012/01/22/extending_the_built-in_content_modules
2 posts, 0 answered