Hello All,
I have created an App. As of now, I need a restriction on editing and deleting the entries in App by the users beyond 20th of every month. Both the Delete and Edit button should be disabled after 20th of every month and it should work between 1st to 20th of every month for the users to enter the data in App.
Below is the snapshot of the App gallery. Let me know if any further info is required for this query.
Thanks,
S
Solved! Go to Solution.
Set the DisplayMode property of each icon to:
If(Day(Today())>20, DisplayMode.Disabled, DisplayMode.Edit)
Then is the day is greater than 20, the icon will be disabled. If less than 20, it will be available for use.
Hi @Sumeesh ,
Do you want to disable the Delete and Edit button after the 20th of every month?
If you want to disable the Delete and Edit button after the 20th of every month, I agree with @LRVinNC 's thought. Set the DisplayMode property of the Delete Icon and Edit Icon to following:
If(
Day(Today()) > 20,
DisplayMode.Disabled,
DisplayMode.Edit
)
If you want to disable the Edit and Delete Icon based on the Date type column value of the record, please try the following formula:
If(
Day(BrowseGallery1.Selected.DateColumn) > 20,
DisplayMode.Disabled,
DisplayMode.Edit
)
Best regards,
Hi @Sumeesh,
On DisplayMode property of both edit and delete icon, please add the below formula:
If(
Day(Today()) > 20,
DisplayMode.Disabled,
DisplayMode.Edit
)
I hope this resolved your issue if you see any challenge let me know I am always happy to help.
Regards,
Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.
Proud to be a Super User!
Regards,Set the DisplayMode property of each icon to:
If(Day(Today())>20, DisplayMode.Disabled, DisplayMode.Edit)
Then is the day is greater than 20, the icon will be disabled. If less than 20, it will be available for use.
Hi @Sumeesh ,
Do you want to disable the Delete and Edit button after the 20th of every month?
If you want to disable the Delete and Edit button after the 20th of every month, I agree with @LRVinNC 's thought. Set the DisplayMode property of the Delete Icon and Edit Icon to following:
If(
Day(Today()) > 20,
DisplayMode.Disabled,
DisplayMode.Edit
)
If you want to disable the Edit and Delete Icon based on the Date type column value of the record, please try the following formula:
If(
Day(BrowseGallery1.Selected.DateColumn) > 20,
DisplayMode.Disabled,
DisplayMode.Edit
)
Best regards,
Hi @Sumeesh,
On DisplayMode property of both edit and delete icon, please add the below formula:
If(
Day(Today()) > 20,
DisplayMode.Disabled,
DisplayMode.Edit
)
I hope this resolved your issue if you see any challenge let me know I am always happy to help.
Regards,
Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.
Proud to be a Super User!
Regards,Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
184 | |
71 | |
43 | |
33 |
User | Count |
---|---|
336 | |
265 | |
116 | |
66 | |
66 |