#ams.lt_Here_is_the_code_nece#
set attribute_id [attribute::new \ -object_type "@attributes.object_type@" \ -attribute_name "@attributes.attribute_name@" \ -datatype "@attributes.datatype@" \ -pretty_name "@attributes.pretty_name@" \ -pretty_plural "@attributes.pretty_plural@" \ -help_text "@attributes.help_text@" \ -table_name "@attributes.table_name@" \ -column_name "@attributes.column_name@" \ -default_value "@attributes.default_value@" \ -min_n_values "@attributes.min_n_values@" \ -max_n_values "@attributes.max_n_values@" \ -sort_order "@attributes.sort_order@" \ -storage "@attributes.storage@" \ -static_p "@attributes.static_p@" \ -if_does_not_exist] ams::attribute::new \ -attribute_id $attribute_id \ -widget "@attributes.widget@" \ -dynamic_p "@attributes.dynamic_p@" ################################# ### ### End Of Attribute definition ### ################################# set list_id [ams::list::new \ -package_key "@list_info.package_key@" \ -object_type "@list_info.object_type@" \ -list_name "@list_info.list_name@" \ -pretty_name "@list_info.pretty_name@" \ -description "@list_info.description@" \ -description_mime_type "@list_info.description_mime_type@"]set option_id [ams::option::new \ -attribute_id $attribute_id \ -option "@attributes.option@"] set attribute_id [attribute::id -object_type "@attributes2.object_type@" -attribute_name "@attributes2.attribute_name@"] ams::list::attribute::map \ -list_id $list_id \ -attribute_id $attribute_id \ -sort_order "@attributes2.list_sort_order@0" \ -required_p "@attributes2.required_p@" \ -section_heading "@attributes2.section_heading@"