I have created few custom fields via metadata api, but the field security by default is invisible. My request is to help provide apex code to update the field level security for all profiles at the same time.Please help me create an apex code not any link to some metadata api document or xml code. I have already done a lot of r&d but no success. Please dont provide solutions to do it via admin, i can do that, all i want is an apex code or any reference to solve the above problem
Thanks