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
Sridhar BonagiriSridhar Bonagiri 

Access field from a managed package.

Hi,

 

How can I access a field from a managed package which exists in client org?

 

I need to access this filed from development org. How can I achieve this?

 

Regards,

Sridhar Bonagiri

Vinita_SFDCVinita_SFDC

Hello,

 

You can only access the field if you have access on that org. I would suggest you to create similar field in developer Org.

Sridhar BonagiriSridhar Bonagiri

Hi,

 

Thanks for the reply, Your idea of creating this field in the developer org is good, but I need to include these class in to the existing managed package, when I install our package then there will be duplicate fields.

 

Regards,

Sridhar Bonagiri

Vinita_SFDCVinita_SFDC

In your code you can make a check if field with some name is already there, then do not create it again.

Sridhar BonagiriSridhar Bonagiri

Hi,

 

The field that I am accessing is belongs to another managed package, I need to built new functionalities around this managed package.

 

Regards,

Sridhar Bonagiri