Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8038923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:24:07+00:00 2026-06-05T03:24:07+00:00

I have couple of objects, In which i have defined a few custom field

  • 0

I have couple of objects, In which i have defined a few custom field and one field as a standard field.

First, i will try to explain the reason why i have defined one field as a standard field.

The couple of object which i have defined represents the record and in my app if the record is already in the system i have to update its values. For every object i have been given a key like for eg for ‘Contact’ object i have been given ‘Contact Email ‘ as a key. So, i have made the contact email as the standard field while the contact name as the custome field.

So, my question is,

1 : that does it even matters that if the key is custom or standard field ?

2 : Why there is no API name for standard field. how can one access standard field from apex code without it having the API name?

Also last but not the least

3 : what is the significance of having a key, i mean if a field is key then in what way is it seperate from other field .

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:24:10+00:00Added an answer on June 5, 2026 at 3:24 am

    1) Assuming you want your key to be unique, have you considered how you will handle this using a standard field? There is no out-of-the-box way to enforce uniqueness with a standard field. There is an Idea Exchange request for such a feature.

    That said, you can create a custom field that accepts the value from a standard field (via a workflow or trigger), and force the custom field to be unique.

    You can also just use a custom field and not use the equivelant standard field: per your example. you could easily create a custom field with the label “Email” and simply hide the standard Email field from the page layouts and/or profiles.

    2) Standard fields definitely have API names.

    3) Are you asking for the definition of a key field?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have couple of objects(1 custom object called appointment and event object) which i
I have a couple of domain objects which I am trying to save using
Say I have a couple of basic objects like so: [Serializable] public class Base
I have a couple of images in Mat objects all with same dimensions I'd
I have a couple of simple objects that have a many-to-many relationship. Django has
I have an array which has 200 objects in it on page load i
I have a WCF REST service that exposes a couple dozen objects and based
As an example, just a couple of dummy objects that will be used together.
I have a client/server app in which the client sends objects in the form
I have a list of 'request' objects, each of which has fairly normal activerecord

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.