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
Vitaly GaiduchokVitaly Gaiduchok 

Problem with objects which are in deleted state.

Hello!
I have problem with objects which have the same api name(one of objects is contained in Recycle Bin another one deployed). I want to get full information(like namespace, id, etc) for objects(not records for this objects) which are deployed. 
Vitaly GaiduchokVitaly Gaiduchok
Maybe we have some methods like 'isDeleted' for objects or some API can do this, or sth like that ?
Timothy Gentet O'BrienTimothy Gentet O'Brien
Why don't you just delete it out of the recycle bin? It would save having to do any workarounds.
Vitaly GaiduchokVitaly Gaiduchok
Thanks for answer. But I want to create package for some other orgs and it really make to many problems if this orgs contain such objects.
Vitaly GaiduchokVitaly Gaiduchok
The easiest way it's make call to page layouts for each object which is copied. But maybe SF give better practice to solve this problem ?