Skip to main content
Niccolo Antinucci (On) 님이 #Salesforce Developer에 질문했습니다

Hi everyone,  

 

I have been facing issues with the deployment of picklist value assignment with record types. We do this through VS Code - we raise pull requests in Github. I will try to explain the issue as clearly as possible.  

 

Context 

Whenever a new picklist value needs to be created and made it selectable for a record type, I always retrieve in VS Code both the picklist field and the record type. Then, I go inside the record type XML field and I manually modify it to ensure that the change is reflected at my branch level. For example, here I am adding 'Onward/Trove' in the record type XML file (and nothing else). Again, this is because my scenario is: 

 

--> Create a single picklist value called 'Onward/Trove' and made is selectable ONLY for a record type. 

Picklist Values Record Type Assignment via VS Code (e.g. package deployment failure)

 

This is the screenshot from Github:

Screenshot 2025-05-13 at 17.50.02.png

 

However, once Pull Request is merged, this is what happens:  

Screenshot 2025-05-13 at 17.52.57.png

 

I cannot understand why ALL of the picklist values have been made selected and NOT only Onward/Trove.   

Screenshot 2025-05-13 at 17.52.57.png

Thanks so much for your help and support! 

 

Best,  

Niccolo 

 

 

 

#Salesforce Developer

답변 7개
0/9000