Skip to main content
Hi guys,

 

What I want to achieve: 

 

I created a custom picklist field "topic" on the activities object.

 

Now I want to restrict the shown values when creating a "call" based on the record type of the contact.

 

So on a contact of a specific record type you can only choose "topic1" or "topic3", while from a contact with a different record type you should only be able to choose "topic2" or "topic4" for your call/task.

 

What I did so far:

 

I have a custom record and lightning page for both contact-record-types and created a custom global action "log a call_custom" to show on the page layout of the 2nd contact-record-type.

 

But I have no idea how to restrict the shown picklist-values depending on the global action/or record type of the contact.

 

Is there a way? Any ideas appriciated.

 

Thx in advance

 

Alex
2 件の回答
  1. 2019年6月6日 15:30
    To restrict the picklist values, you will have to create record types on Task object. For one of the record type, remove the picklist values for the desired picklist.  After that, edit the log a call_custom action and select that record type. 

     

    That should do it for ya! :)