Add Custom Search Options to Admin - Recorded Data View

Matt Bridges asked on July 28, 2016 23:11

I was wondering how I would add in custom search options to the Recorded data lists in the Admin section. More specifically, I would like to be able to search submitted forms data from the admin side.

Currently, you only appear to have the ability to "Select displayed fields" or to export.

Recent Answers


Development Support answered on July 29, 2016 04:34

You have a couple options:

  1. That page i believe resolves to an actual aspx page within kentico (just view the frame's source to see the URL). You can modify that (make a copy first though) and in the UniGrid, add in a filter (see here)
  2. Likewise, you can create your own Module and UI Page and create your own UniGrid page and add the filter logic.

Hope that helps! Takes a bit of learning, but the UniGrid is pretty simple and powerful.

1 votesVote for this answer Mark as a Correct answer

Matt Bridges answered on July 29, 2016 17:54

So, this would work with a list of data with a static column set. However, the BizForm UniGrid determines the columns on page load and then dynamically adds them through code behind. So, unfortunately, this solution, although valid in most cases, does not work for mine.

0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on August 2, 2016 22:48

Matt, are you looking for more of Smart Search look and feel of the data instead of the UniGrid filtering?

If so, you could could select the field in the form for indexing (Search fields tab of the Form), then go to Smart Search app to create a index as "Online form" type.

Then you can create template or add the user control to the existing Recorded Data page (/CMSModules/BizForms/Tools/BizForm_Edit_Data.aspx) using a customized version of "Smart search dialog with result" web part (/CMSModules/SmartSearch/Controls/SearchDialog.ascx)with these two lines commented out because there is no CurrentDocument for a UI page

    // Log "internal search" activity
    //Activity internalSearch = new ActivityInternalSearch(txtSearchFor.Text, DocumentContext.CurrentDocument, AnalyticsContext.ActivityEnvironmentVariables);
    //internalSearch.Log();

The hard part would be depending how many forms as you either have to create index for each separately or combine into a single index. And dynamically filter result depending on the form you are on and apply the correct transformation.

Example of a form search result transformation: <li><%# GetSearchValue("UserFirstName") %> <%# GetSearchValue("UserLastName") %> - <%# GetSearchValue("UserEmail") %></li>

0 votesVote for this answer Mark as a Correct answer

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