You need to sign in to do that
Don't have an account?
Sagar Hinsu 11
how to find "Required Field" through describe Field API
Hii,
I want required field through API
"https:\\<instance-url.salesforce.com/services/data/v26.0/sobjects/<object_name/describe/"
The json response is.
by which jsonObject we can know that this field is required?
Thank You.
I want required field through API
"https:\\<instance-url.salesforce.com/services/data/v26.0/sobjects/<object_name/describe/"
The json response is.
{ "autoNumber": false, "byteLength": 0, "calculated": false, "calculatedFormula": null, "cascadeDelete": false, "caseSensitive": false, "controllerName": null, "createable": false, "custom": false, "defaultValue": null, "defaultValueFormula": null, "defaultedOnCreate": true, "dependentPicklist": false, "deprecatedAndHidden": false, "digits": 0, "displayLocationInDecimal": false, "externalId": false, "filterable": true, "groupable": false, "htmlFormatted": false, "idLookup": false, "inlineHelpText": null, "label": "Created Date", "length": 0, "name": "CreatedDate", "nameField": false, "namePointing": false, "nillable": false, "permissionable": false, "picklistValues": [], "precision": 0, "referenceTo": [], "relationshipName": null, "relationshipOrder": null, "restrictedDelete": false, "restrictedPicklist": false, "scale": 0, "soapType": "xsd:dateTime", "sortable": true, "type": "datetime", "unique": false, "updateable": false, "writeRequiresMasterRead": false },
by which jsonObject we can know that this field is required?
Thank You.
for reference https://developer.salesforce.com/forums/?id=906F00000008qYdIAI
I have made a vf page for entering the data and some field we have made requried on Visual Force page only.
Can I get to know that which fields are required at VF page through API.
I know its not possible but for certain requirement I cannot make those fields required but I have to make it required at VF page only.
Thank You.