Don't change the parameter p_path, but propertie self.site.UploadsPath before Parent Call
So, try:
p_web.RenameFile PROCEDURE(STRING p_name,STRING p_filename,<String p_path>)
ReturnValue ANY
! Start of "NetTalk Method Data Section"
! [Priority 5000]
! End of "NetTalk Method Data Section"
CODE
IF SELF.GSV('glo:agreement') = 0
self.site.UploadsPath = clip(self.site.WebFolderPath) & '\uploads\' &self.GSV('KLIF:Phone')
ELSE
self.site.UploadsPath = clip(self.site.WebFolderPath) & '\uploads\agreements'
SELF.SSV('glo:agreement',0)
END
! Parent Call
ReturnValue = PARENT.RenameFile(p_name,p_filename,p_path)
! [Priority 7500]
SELF._Trace(ReturnValue)
self.site.UploadsPath = clip(self.site.WebFolderPath) & '\uploads'
RETURN ReturnValue
Regards,
Matthew