def add_self_service_xml(xdoc)
      doc_root = xdoc.root

      # whether or not we're in self service is usually not in the
      # ssvc subset...
      add_in_self_service_xml doc_root

      subset_key = @self_service_data_config[:self_service_subset] ? @self_service_data_config[:self_service_subset] : :self_service

      ssvc = doc_root.add_element subset_key.to_s

      ssvc.add_element('self_service_description').text = @self_service_description if @self_service_description
      ssvc.add_element('feature_on_main_page').text = @self_service_feature_on_main_page

      if @new_icon_id
        icon = ssvc.add_element('self_service_icon')
        icon.add_element('id').text = @new_icon_id
      end

      add_self_service_category_xml ssvc

      add_self_service_profile_xml ssvc, doc_root

      add_self_service_macos_xml ssvc

      add_self_service_notification_xml ssvc
    end
def add_self_service_xml(xdoc)
      doc_root = xdoc.root

      # whether or not we're in self service is usually not in the
      # ssvc subset...
      add_in_self_service_xml doc_root

      subset_key = @self_service_data_config[:self_service_subset] ? @self_service_data_config[:self_service_subset] : :self_service

      ssvc = doc_root.add_element subset_key.to_s

      ssvc.add_element('self_service_description').text = @self_service_description if @self_service_description
      ssvc.add_element('feature_on_main_page').text = @self_service_feature_on_main_page

      if @new_icon_id
        icon = ssvc.add_element('self_service_icon')
        icon.add_element('id').text = @new_icon_id
      end

      add_self_service_category_xml ssvc

      add_self_service_profile_xml ssvc, doc_root

      add_self_service_macos_xml ssvc

      add_self_service_notification_xml ssvc
    end
refresh icon
 Add approriate XML for self service data to the XML document for this
 item.

 @param xdoc[REXML::Document] The XML Document to which we're adding Self
   Service data

 @return [void]