You need to sign in to do that
Don't have an account?
Bushra Zainuddin
Quick action on Events object not working when start and end date are predefined
I have a use case to auto populate start and end date on an object specific action on Events. I also need to remove these two fields from the layout. If I remove the fields from ththe layout, it does not let me create a new event by throwing an error which states that required fields are missing I.e. start and end date.
Am am I missing something here? What else should I do to make sure that the form works successfully without displaying the fields on the layout and having them auto populate using predefined valued.
Am am I missing something here? What else should I do to make sure that the form works successfully without displaying the fields on the layout and having them auto populate using predefined valued.
You can develop a before insert trigger on the object to autopopulate these two fields.
Lets suppose, you have a custom object named Contract__c and on this object you have two fields Start_Date__c and End_Date__c
So the trigger will work as below
Let me know If it works.