Contents
- 1 What is schema DescribeSObjectResult?
- 2 What is Schema DescribeFieldResult?
- 3 How can a developer determine from the DescribeSObjectResult if the current user will be able to create an object in Apex?
- 4 What does describesobjectresult do in Salesforce.com?
- 5 What does describesobjectresult do in SOAP API?
- 6 How does the describesobjectresult function work in apex?
What is schema DescribeSObjectResult?
Schema. DescribeSObjectResult is the data type for an sObject describe result. To access the describe result for an sObject, use one of the following methods: 1. Call the getDescribe method on an sObject token.
What is Schema DescribeFieldResult?
Schema. DescribeFieldResult is the data type for a field describe result. To access the describe result for a field, use one of the following methods: 1. Call the getDescribe method on a field token.
How can a developer determine from the DescribeSObjectResult if the current user will be able to create an object in Apex?
Q5 How can a developer determine from the DescribeSObjectResult if the current user will be able to create record an object in apex? A By using the hasAccess() Method.
How do I get sObject on Apex?
Obtaining sObject Describe Results Using Tokens
- Call the getDescribe method on an sObject token.
- Use the Schema sObjectType static variable with the name of the sObject. For example, Schema. sObjectType. Lead .
Why do we use schema in salesforce?
See Your Data Model in Action Schema Builder is a tool that lets you visualize and edit your data model. It’s useful for designing and understanding complex data models like the one D’Angelo is building. Let’s take a look.
What does describesobjectresult do in Salesforce.com?
The DescribeSobjectResult object returns a value for objects that have a stable prefix. For object types that do not have a stable or predictable prefix, this field is blank. Client applications that rely on these codes can use this way of
What does describesobjectresult do in SOAP API?
The describeSObjects () call returns an array of DescribeSObjectResult objects. Each object has the following properties: Reserved for future use. An array of action overrides. Action overrides replace the URLs specified in the urlDetail, urlEdit and urlNew fields.
How does the describesobjectresult function work in apex?
The DescribeSobjectResult object returns a value for objects that have a stable prefix. For object types that do not have a stable or predictable prefix, this field is blank. Client applications that rely on these codes can use this way of determining object type to ensure forward compatibility.
What does the foreign key mean in describesobjectresult?
An array of child relationships, which is the name of the sObject that has a foreign key to the sObject being described. Indicates that the object can be used in describeCompactLayouts (). Indicates whether the object can be created via the create () call (true) or not (false).