public String getForm(String parentCategory)
        {
            String  category       = _hardwareCategoryTable.GetRow(parentCategory);
            JObject categoryObject = JsonConvert.DeserializeObject <JObject>(category);
            String  body           = CustomForm.getFormView(categoryObject["customFields"].ToString(), "HardwareFields");
            String  headers        = CustomForm.getFormTitlesView(categoryObject["customFields"].ToString());
            JObject Result         = new JObject();

            Result.Add("body", body);
            Result.Add("headers", headers);
            return(JsonConvert.SerializeObject(Result));
        }
 /// <summary>
 ///     This method creates the form's headers names for the specified profile, these headers are used by bootstrap to create the tabs
 /// </summary>
 /// <param name="profile">
 ///     The profile's id which we want to print
 /// </param>
 /// <author>
 ///     Luis Gonzalo Quijada Romero
 /// </author>
 /// <returns>
 ///     Returns the form's tabs headers html structure
 /// </returns>
 public String getFormTitlesView(String profile)
 {
     if (this.Request.IsAjaxRequest()) //only available with AJAX
     {
         try
         {
             BsonDocument document   = employeeprofileTable.getRow(profile);
             String       formString = document.GetElement("customFields").Value.ToString();
             String       response   = CustomForm.getFormTitlesView(formString); //it use the CustomForm class to create the headers
             return(response);
         }
         catch (Exception e)
         {
             return(null);
         }
     }
     return(null);
 }