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
Jayesh Babu A VJayesh Babu A V 

cannot install custom metadata types to another org

I am performing a few REST calls in my lightning app. And the urls and tokens for REST calls are stored as custom metadata types and I query the values before making the REST call. I created a managed package and added these custom metadata types to the package. And installed the package to a new org. But, i think the metadata types are not installed to the new org because i cannot see those when I go to Setup -> Custom Metadata Types in the new org and also the REST calls are not working in the new org.
According to the Custom Metadata Types docs, the data is also packaged. What might have gone wrong?
ShirishaShirisha (Salesforce Developers) 
Hi Jayesh,

Greetings!

Do you get any errors while installing the package with the metadata types.

I would suggest you to check,if you are trying to install in the Professional edition org where you can't make callouts as the "API enabled" is not enabled.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
Jayesh Babu A VJayesh Babu A V
Thanks for ur answer.
How can i check whether the API call is enabled or not?