Question

Delete incorrect field from the object?

Hello,

 

what is your experience or recommendation about deleting custom field from the object? 

If some fields were added by mistake and the package was already installed to another evirnoment. Is it ok to delete such field and install the package again? Or should we keep this 'garbage' in the object forever?

 

Thank you!

Like 0

Like

3 comments
Best reply

Hello,

 

You need to remove it from the development website, install the package on the production website, and the package installation mechanism on the production site will detect the differences in objects between what exists in production and what is in the package, and drop them.



Best regards, 

Orkhan

Hello,

 

You need to remove it from the development website, install the package on the production website, and the package installation mechanism on the production site will detect the differences in objects between what exists in production and what is in the package, and drop them.



Best regards, 

Orkhan

Orkhan,

 

is this valid also for all references to the deleted fields like forms, lists, dashboards, reports,...?

I guess the system will not check js and cs code, so that will need to be handled manually, right?

 

BR

Robert Pordes,

No, system will not check. But this is not a problem to remove such fields from the code



Kind regards,

Vladimir

Show all comments