Hello everyone!
Anyone, is it possible for a quick edit button to disappear after a change has been made? For example, I have this Approval template. But I want the approver to make only 1 change because it is possible that they change the status or mistakenly click it again when the first action should have been final already. Thanks in advance!
Solved! Go to Solution.
The title of your post is "Email template". However the screenshot appears to be of a detail view.
Assuming you are looking for a solution in app's detail view, if you wish the button to disappear, you may try the following expression in Show_if of the [Approval Status] column.
OR(AND(CONTEXT("ViewType")="Detail", [_THIS]<>"Approved") , CONTEXT("ViewType")<>"Detail")
If you wish the status to show but be non editable after approval, you could try the same expression in the editable_if of the [Approval Status] column.
Personally, I would dynamically change a list-returning valid_if in this kind of case.
Valid_if = IF( OR( [status]="Approved",[status]="Rejected") , LIST( [_THIS] ) , LIST( "Pending","Approved","Rejected") )
Of course that could be in addition to show_if and/or editable_if, depending on the exact desired look and feel and functionality.
The title of your post is "Email template". However the screenshot appears to be of a detail view.
Assuming you are looking for a solution in app's detail view, if you wish the button to disappear, you may try the following expression in Show_if of the [Approval Status] column.
OR(AND(CONTEXT("ViewType")="Detail", [_THIS]<>"Approved") , CONTEXT("ViewType")<>"Detail")
If you wish the status to show but be non editable after approval, you could try the same expression in the editable_if of the [Approval Status] column.
Personally, I would dynamically change a list-returning valid_if in this kind of case.
Valid_if = IF( OR( [status]="Approved",[status]="Rejected") , LIST( [_THIS] ) , LIST( "Pending","Approved","Rejected") )
Of course that could be in addition to show_if and/or editable_if, depending on the exact desired look and feel and functionality.
Thank you so much. This also worked!
Thank you very much, this works! But I have another problem. I don't know where else or what else to configure. Here's what happened. The email was successfully sent to the approver. The first picture is the approval made (but in the app). So yeah, after "approved", it was changed to "uneditable". But the email template shows an error and the quick edit was actually made inside the app which I don't want to happen. Any help again please. Thank you!
Ask @MultiTech, he has a whole universe of "Form" views based on the idea of quickedits
LOTs of ways to go about this, as you've already seen. (^_^)
Personally - I find quick-edits more hassle than they're worth
I actually prefer to make an action system to accomplish these changes; this way, if you need, you can change the visible action from the technical data-change to a stack (and add in other things to the button press if you need).
- This also means that you can include a confirmation message (to help reduce accidental taps)
---------------------------------------------------------------------------------------------
Another thing you might take into consideration, is the use of a ChangeTimestamp column; these things are great for controlling things in a dynamic way
ChangeTimestamp columns give you the ability to set them to watch a column, and even for specific values, and when triggered they grab a timestamp. From this you can then do all sorts of things, because you know the timestamp represents the time when the event happened.
Basic Use Case: I could set up a watcher to keep an eye on the [Status] column, and only for the "Completed" status; when the watcher see's that combo, it grabs a timestamp.
- Boom: instant "Completed Time" column
But I could also do something where:
------------------------------------------------------------------------------------------------------------------------
All sorts of fun clever things you can do with these change columns
Please share the email template bot setup configuration.
You mean this? I'm sorry I don't know how to share this so I just captured it
Please share the event pane details of the bot.
I found my way to it. Thanks a lot for all the help!
User | Count |
---|---|
18 | |
10 | |
8 | |
6 | |
5 |