• Login

Place the following code at the top of your form:

<register tagprefix="rmg" namespace="reflect.xile" assembly="reflect.xile" />
Your form
<rmg:xile
  Id="Files"
  DataField="Files"
  UploadMode="Multiple|Single"
  FileUploadPath='[[Join("~/Portals/{0}/RMG_FileUploadTest/{1}", [[Portal:ID]], [[User:ID]])]]'
  AutoUpload="True|False"
  AcceptFileTypes="jpg,png"
  AllowedRoles="Registered Users"
  ResizeVersions="width=800;height=800;format=jpg;mode=max, sm_:width=400;height=400;format=jpg;mode=max">
</rmg:xile>  
Your form