Hi @rajkumar88 ,
Do you want to set "edit" button to not visible within the Detail screen after July 20?
Could you please share a bit more about the Manager column in your data source? Could you please share more details about your data source? Is it a SP List?
Based on the needs that you mentioned, I have made a test on my side, please take a try with the following workaround:
1. If your data source is a SP List, and the Manager column is a Person column:
Set the Visible property of the "Edit" button within your Detail screen to following:
If(
Today() <= Date(2019, 7,20) || User().Email in ForAll('YourDataSource'.Manager, Manager.Email),
true,
false
)
2. If the Manager column is a text column, and the Manager column is populated with manager's email:
If(
Today() <= Date(2019, 7,20) || User().Email in 'YourDataSource'.Manager,
true,
false
)
3. If the Manager column is a text column, and the Manager column is populated with manager's displayname:
If(
Today() <= Date(2019, 7,20) || User().FullName in 'YourDataSource'.Manager,
true,
false
)
If you just consider the Employee, please set the Visible property of the "Edit" button within your Detail screen to following:
If( /* <-- If the current date is more than 07/20/2019, the "Edit" button would not be visible */
Today() <= Date(2019, 7,20),
true,
false
)
Please take a try with above solution, then check if the issue is solved.
Best regards,