3

When the Custom Object doesn't have tab and any relationships then how can i possible to create/view/delete a record in the custom object from salesforce UI... Custom Object contains only Text fields.

Thanks,

  • 2
    Any reason why you can't make a tab for it ? – Samuel De Rycke Sep 30 '14 at 13:46
  • Only reason I can think is if the OP is up against the Tab limit. But if not, just make a tab, life will be so much easier :) – Ricky Hewitt Sep 30 '14 at 16:39
3

If you know the object key prefix then you can view records of that object:

Let's say you have a custom object and its has key-prefix is a00. You can view its record by going to URL:

https://na9.salesforce.com/a00 (https://sfdc_instance.salesforce.com/objectkeyprefix)

Key-prefix is the first three characters of object's any record.

3

Open the Execute Anonymous window in the developer console and execute:

Schema.DescribeSObjectResult r = AdBookUdfMap__c.sObjectType.getDescribe();
System.debug(URL.getSalesforceBaseUrl().toExternalForm() +'/'+ r.getKeyPrefix() );

The corresponding debug log will contain something like:

07:56:09:031 USER_DEBUG [2]|DEBUG|https://cs2.salesforce.com/a16

  • How come SF makes it so hard to access an object's page if there's no tab associated with it? Why not have a button linking to the prefix url on the custom object's view fields page? – Arthlete Mar 8 '18 at 20:43
  • 1
    @Arthlete I'm not sure it would be useful to all users, as admins probably want to control which pages they have access to under certain apps. I did raise the idea: Provide an Admin page that lists all the accessible key prefixes within an Org – Daniel Ballinger Mar 8 '18 at 20:45
  • I did upvote that suggestion. Thank you for linking me. – Arthlete Mar 9 '18 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.