DeepaPrashant1
2 months agoQrew Cadet
Trigger RULE is there is a change in an attachment field
I have RULE that says when "Ready for Approvals" is checked and an attachment has been added, it triggers an email. Now I want that email to be triggered again if the attachment is modified, that i...
- 2 months ago
I suggest the following.
- Form rule that says when the file attachment is not blank, then make read only file attachment.
- Button called Upload New File Attachment which will display if the File Attachment is not blank. This button will delete the file attachment and and land the user in edit mode.
var text DeleteFile = URLRoot() & "db/" & dbid()
& "?act=API_EditRecord&rid=" & [Record ID#]
&_fid_99=&delfile_fid_99=1;
var text DisplayInEditMode = URLRoot() & "db/" & dbid() & "?a=er&rid=" & [Record ID#];
$DeleteFile
& "&rdr=" & URLEncode(DisplayInEditMode)