# # add_standard_reports snapon # # This internal snapon is used to create reports in a standard profile. # add_standard_reports = { label = "Final step" comment = "Final Step creates all standard reports" config_snapon_category = "hidden" parameters = { add_geo_location_reports = { parameter_value = "true" validation_type = "bool" # form_element_label = "$lang_admin.snapons.web_server_package.parameters.user_agent_field.form_element_label" # form_element_type = "select" # select_options_source = "log_fields" # description = "" } # add_geo_location_reports } # parameters attach_operations = { add_standard_reports = { type = "execute_expression" expression = ` #echo("add_standard_reports_without_snapons()"); #include "templates.admin.profiles.setup_reports_util"; node profile = "profiles." . volatile.new_profile_name; # Start with the standard reports based on remaining DB fields add_standard_reports_without_snapons(profile, {= @parameters{'add_geo_location_reports'}{'parameter_value'} =}); ` } # add_standard_reports } # attach_operations } # add_standard_reports