@staticmethod
    def generate_sender():
        """
            Generate a sender for a new form
        """
        try:
            user_id = current.auth.user.id
        except __HOLE__:
            return ""

        return "%s/%d" % (current.xml.domain, user_id)

    # -------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/modules/s3db/cap.py/S3CAPModel.generate_sender