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
dafunkdafunk 

Using a managed package in an existing enterprise org

My company has a very extensive app (call it app1) being built in an enterprise org. Another department wants its own app (call it app2)  and also this app2 would need read only access to objects in app1. Would it be possible to build app2 as a managed package (we don't need to share code just data). If app2 somehow has to be merged with app1 then builds and release management becomes quite complex and I would like to avoid that. Any help here would be appreciated. 
PandeiswariPandeiswari
Hi..If you dont want to share code to App1, then only option is to create managed package of app2. Make apex class and variables as "global" so that some of the classes can be utilized in app1 without seeing app2 code. 
dafunkdafunk
Thanks for the reply.
How easy is it to access custom objects in app1 ?