 
 (defn- commit [state refs config props]
   (let [workspace-id (:workspace-id props)
-        name (get-text refs "confname")
+        [name rootEntityType] (get-text refs "confname" "rootentitytype")
         inputs (into {} (map (juxt identity #(get-text refs (str "in_" %))) (keys (config "inputs"))))
         outputs (into {} (map (juxt identity #(get-text refs (str "out_" %))) (keys (config "outputs"))))
         new-conf (assoc config
                    "name" name
+                   "rootEntityType" rootEntityType
                    "inputs" inputs
                    "outputs" outputs
                    "workspaceName" workspace-id)]

    [:div {:style {:marginLeft 330}}
     (create-section-header "Method Configuration Name")
     (create-section
       [:div {:style {:display (when editing? "none") :padding "0.5em 0 1em 0"}}
        (config "name")]
       [:div {:style {:display (when-not editing? "none")}}
        (style/create-text-field {:ref "confname" :defaultValue (config "name")})])
     (create-section-header "Inputs")
     (input-output-list config "inputs" invalid-inputs editing?)
     (create-section-header "Outputs")

(defn- validation-status [invalid?]
  (if invalid?
    (icons/font-icon {:style {:paddingLeft "0.5em" :padding "1em 0.7em"
                              :color (:exception-red style/colors)}}
      :x)
    (icons/font-icon {:style {:paddingLeft "0.5em" :padding "1em 0.7em"
                              :color (:success-green style/colors)}}
      :status-done)))

(defn- input-output-list [config value-type invalid-values editing?]
