Hi,
I wanted to restrict an action in a list, based on a specific condition(it's a specific date). Any idea on how this can be achieved?
Thanks!
In the Configuration Console Reference Guide: LPL (latest version - January 2023), the bottom of page 72 outlines the following syntax:
[restrict | enable) action [<StateName>.]<ActionName>…] // not valid on AuditList<br /> [when <Condition>]
Here is an example where if today's corporate date is equal to the date contained in the DateFieldName field, then the Create action is not available to the list user:
restrict action Create<br /> when current corporate date = DateFieldName
Should work but I think maybe (current corporate date = DateFieldName) might need to be defined as a UserField Condition and then referenced in the restrict action .... stmt.