Hey guyz @Khan Anas Rehmani @Vishwa Vikas Dagala
can anyone help me out . i am stuck at trailmix-6 (Apex Metadata Api - Challenge 2 )
i am getting the following errors , i am not able to figure it out why it showing this error when i have given correct naming convention .
2 comentários
You need to use the layoutColumns property on contactLayoutSection to assign columns to contactColumns.
Please change line 16 and 17 to:
List<Metadata.LayoutColumn> contactColumns = contactLayoutSection.layoutColumns ;
List<Metadata.LayoutItem> contactLayoutItems = contactColumns.get(0).layoutItems ;