Hi, I want to upload a file and set some Propertys on this file. But when I created the file I cannot acces it to add a property with manage_addProperty I use this scheme: ## DTML-Method uploadForm ############################ <dtml-var standard_html_header> <form action="uploadAction" method="POST" enctype="multipart/form-data"> <p>Title: <input type="text" name="file_title" size=50> </p> <p>File: <input type="file" name="file_data" size=30> </p> <p>PropertyXY: <input type="text" name="file_xy" size=30> </p> </form> <dtml-var standard_html_footer> And now my Problem in the uploadAction method: ## DTML-Method uploadAction ############################ <dtml-var standard_html_header> insert one of 2 Possibilities <dtml-var standard_html_footer> Possible Insert 1: <dtml-call "manage_addFile( id='', file=file_data, title=file_title)"> <!-- Now I want to set the propertyxy but I dont know the id of the file = My problem --> Possible Insert 2: <dtml-let file_id="_.string.split(REQUEST.form['file_data'].filename,'\\')[-1]"> <dtml-call "manage_addFile( file_id, file=file_data, title=file_title)"> <!-- No I have the id of the file in the variable file_id but --> <dtml-call expr="file_id.manage_addProperty('propertyxy', file_xy, 'string')"> <!-- doesn´t work becaus there is no file 'file_id'. I tried different things like getattr(_, file_id) etc. but all this things didn't work. --> </dtml-let> I get the following Zope Error: Error Type: NameError Error Value: global name 'file_id' is not defined Thanks in advance Tilo