+ Start a Discussion
Pasan   EeriyagamaPasan Eeriyagama 

How to update Layout input field label text if exists, and add if it doesn't exist under a section?

I'm looking for update a Layout input field label (customized) and add the input to Layout under a particular section if it does not exist.

I could write the code for adding a input field + section, if they don't exist. But if they exist, whole adding fails.Can anyone please help with Apex code utilizing Apex metadata API (summer 17). Thanks.