| | |
| | | fieldAPIToLabelMap = new Map<String, String>(); |
| | | layoutSections = new List<LayoutSection>(); |
| | | String theRespBody = getLayoutSchema(recordTypeId, objectType, userMode); |
| | | System.debug('theRespBody = ' + theRespBody); |
| | | Map<String, Object> layoutSection = (Map<String, Object>) JSON.deserializeUntyped( |
| | | theRespBody |
| | | ); |
| | |
| | | req.setHeader('Authorization', 'Bearer ' + UserInfo.getsessionid()); |
| | | } |
| | | Http client = new Http(); |
| | | System.debug('req = ' + req); |
| | | resp = client.send(req); |
| | | system.debug('Schema Body:' + JSON.serialize(resp.getBody())); |
| | | return resp.getBody(); |
| | |
| | | } |
| | | public static Integer ControllerUtil() { |
| | | Integer i = 0; |
| | | |
| | | return i; |
| | | } |
| | | } |