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
Shivam Tripathi 38Shivam Tripathi 38 

Unlock package related question.

I have installed an uplocked packege is UAT env. there is a class where custom object and fields are referenced without namespace. It is working fine for admin user. But as I login with deferent profile user, It is not working. 

Could some can help, Do we need to use namespace is unlocked packages or not and if yes, then why it is working for admin users.
InzamamulInzamamul (Salesforce Developers) 
Hello Shivam,

I would request you to please check with the admin as while installing the package do they selected "Install for admin only" as that can be one of the reason that when you try to login with the different profile user it is not working.

I would also suggest you to please find the below article which can help you as well:

https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_reg_namespace.htm

Please mark this as a best answer if this helps.

Thank You!