function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kieden crewkieden crew 

Custom object with no GUI...is it possible?

Hello,

We are attempting to build a custom object without a GUI. This object would be for reporting purposes only, and we would feed the object with data via the API. It appears that:

a) every custom object MUST have 1 page layout with 1 required field
b) there is no way no turn off the hyperlinks within a report that link to the object instance

Anyone know of a way to solve this problem? Again, the dewsired effect is to have a custom object with full reporting, but no GUI (tabs, forms, fields, etc) to that object.

Thanks!
EBezEBez
You can't completely hide a custom object from the GUI, but you can come pretty close if you remove all the primary navigation paths to it.

1) Do not create a custom tab for the object
2) Do not add the custom object as a related list on another tab
3) On any reports that you create, do not include the object's "name" field (the hyperlinked field)
4) Do not expose any child objects of the custom object in the GUI; otherwise, users can follow lookup hyperlinks from child to parent.
5) Similarly, do not enable activities on the custom object; otherwise, users can follow lookup hyperlinks from task or event to related object.

The bottom line is that the object's ID can always be used to display the associated page layout in the GUI, as long as the user has at least read access to the object. The trick is to remove as many of the built-in links as possible.

Cheers,
Eric
kieden crewkieden crew
Eric,

Great reply, you validated the conclusion we had come to, and even gave us some added tips! Many thanks!
EricBEricB
No problem.

Hey, one last trick that occurs to me:
If you want to display a non-hyperlinked version of the object's record name field in a report, you can create a text formula field that is equal to the name field, and then display the formula field in the report.

Good luck,
Eric