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
ekarthikekarthik 

how to avoid this error Missing Organization Feature: Content in salesforce app

Hi
In my comapny we publish an app . when trying to install users get error like

Missing Organization Feature: Content

for this problem solution is

Enable salesforce content

through 

Setup -> App Setup -> Customize ->Salesforce CRM Content -> Settings -> Edit .

But i need to avoid this error when install .

what the error actually says i.e reason for this error ?
What things i need to do?
whthere enable any option during package?
else
write any code in development time ?



I am looking for this .
Thnaks in advance

MJ Kahn / OpFocusMJ Kahn / OpFocus

Does your package include any Content components?

 

When you upload a new version of your package, there's a list of "Additional Feature Requirements:" is Content selected?

 

If either of these is true, you've built your package with a depdency on Content. You'll have to remove that dependency (if possible) in order to eliminate that error at install-time.