function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vishwadeep agrawalVishwadeep agrawal 

Error says, A predefined value is not defined for the 'Type' field or the 'Type' field was not added to the compact layout. I am not able to set predefined value for type field and getting following error. Please help.

User-added image
Best Answer chosen by Vishwadeep agrawal
Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same issue
1) https://developer.salesforce.com/forums/?id=906F0000000BPm4IAG

Please check below post for step by step screen shot.
1) https://developer.salesforce.com/forums/?id=906F0000000BT2gIAG


Step 1 :- Create a new global publisher action labeled 'New Detailed Account' to create an Account record.
Setup-> Global Action -> Action
tep 2:- "Add the Account Name, Type, Rating and Fax fields to the compact layout."
After same page layout will open. You need to add all below 4 field on page and save
Step 3:- Add the new publisher action to the global publisher layout.
Setup -> Global Action -> Publisher layout and then add new action on page layout

Step 1 :- Create a new global publisher action labeled 'New Detailed Account' to create an Account record.
Setup-> Global Action -> Action

Step 2:- "Add the Account Name, Type, Rating and Fax fields to the compact layout."
After same page layout will open. You need to add all below 4 field on page and save

Step 3:- Add the new publisher action to the global publisher layout.
Setup -> Global Action -> Publisher layout and then add new action on page layout

Step 4 Set the predefined value of the 'Type' field to 'Prospect'.
You can under "Predefined Field Values" or set the field type field as defualt Prospect on object
User-added image

 

All Answers

Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same issue
1) https://developer.salesforce.com/forums/?id=906F0000000BPm4IAG

Please check below post for step by step screen shot.
1) https://developer.salesforce.com/forums/?id=906F0000000BT2gIAG


Step 1 :- Create a new global publisher action labeled 'New Detailed Account' to create an Account record.
Setup-> Global Action -> Action
tep 2:- "Add the Account Name, Type, Rating and Fax fields to the compact layout."
After same page layout will open. You need to add all below 4 field on page and save
Step 3:- Add the new publisher action to the global publisher layout.
Setup -> Global Action -> Publisher layout and then add new action on page layout

Step 1 :- Create a new global publisher action labeled 'New Detailed Account' to create an Account record.
Setup-> Global Action -> Action

Step 2:- "Add the Account Name, Type, Rating and Fax fields to the compact layout."
After same page layout will open. You need to add all below 4 field on page and save

Step 3:- Add the new publisher action to the global publisher layout.
Setup -> Global Action -> Publisher layout and then add new action on page layout

Step 4 Set the predefined value of the 'Type' field to 'Prospect'.
You can under "Predefined Field Values" or set the field type field as defualt Prospect on object
User-added image

 
This was selected as the best answer
Vishwadeep agrawalVishwadeep agrawal
Thank you Amit, I am able to set predefined value.
Vishwadeep agrawalVishwadeep agrawal
Amit,
How to close the thread?