Hello Team,
I have a requirement to create a new custom button on Contact record Form. On click, it should open the quick create form of Appointment entity.
I also want to hide certain fields in appointment form on create.
The same Quick Create form opens from other location as well but I don't want these changes there.
These fields should only be hidden from the custom button click.
I am able to open the QC form on button click but the primaryControl is passing the context of the account and so my code doesn't work to set the appointment fields.
If I write the code on load of the form then it will apply on all the forms; Is there any way in UCI to identify whether the form is opened from button click or other places.
Can you suggest the approach how I get this requirement fulfilled?
Any help would be appreciated.
Thanks in advance.