Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom metadata limit exceeded. Your organization has reached its custom metadata maximum limit. #188

Closed
RiRiSi opened this issue May 28, 2022 · 7 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@RiRiSi
Copy link

RiRiSi commented May 28, 2022

Time Warp version
Setup->Apps->Packaging->Installed Packages. What is the value in the Version Number column for the package Time Warp.
🚀 NEW RELEASE - Luyten v1.10 - Jan 2022

Describe the bug
Your request to install package "Time Warp Luyten" was unsuccessful....
Problem:

  1. (Timeline_Configuration.WorkOrder_ChildWorkOrders) Custom metadata limit exceeded.
    Your organization has reached its custom metadata maximum limit.
    ...
  2. (Timeline_Configuration.WorkOrder_WorkOrderLineItems) Custom metadata limit exceeded.
    Your organization has reached its custom metadata maximum limit.

I am installing in an org that has a very large managed package - Rootstock ERP. Wanted to use this component on some lightning pages. I had it installed in the past, and know that you provide many Custom metadata records to make the Salesforce objects immediately operational. Very nice! Linking accounts with contacts, opps, etc. And now it seems that you are configuring field service work orders. I don't know how many relationships you provide out of the box, but could you make some of them optional, so that it does not take so many metadata records?

To reproduce
Steps to reproduce the behavior:

  1. Install the package from the app exchange.
  2. Select all users.
  3. Wait for the nasty email to come.

Email message:
Your request to install package "Time Warp Luyten" was unsuccessful. None of the data or setup information in your salesforce.com organization was affected.

If your install continues to fail, contact Salesforce CRM Support through your normal channels and provide the following information.

Organization: Rootstock RSF-DEMO (00D46000000qc5P)
User: Rilene Simpson (00546000000MLad)
Package: Time Warp (04t2w000009Bbjo)

Problem:

  1. (Timeline_Configuration.WorkOrder_ChildWorkOrders) Custom metadata limit exceeded.
    Your organization has reached its custom metadata maximum limit.

  2. (Timeline_Configuration.WorkOrder_Events) Custom metadata limit exceeded.
    Your organization has reached its custom metadata maximum limit.

  3. (Timeline_Configuration.WorkOrder_Files) Custom metadata limit exceeded.
    Your organization has reached its custom metadata maximum limit.

  4. (Timeline_Configuration.WorkOrder_ServiceAppointments) Custom metadata limit exceeded.
    Your organization has reached its custom metadata maximum limit.

  5. (Timeline_Configuration.WorkOrder_Tasks) Custom metadata limit exceeded.
    Your organization has reached its custom metadata maximum limit.

  6. (Timeline_Configuration.WorkOrder_WorkOrderLineItems) Custom metadata limit exceeded.
    Your organization has reached its custom metadata maximum limit.

Expected behaviour
A seamless and successful install.

Screenshots
NA

Desktop (please complete the following information) NA:

  • OS: Windows
  • Browser Chrome
  • Version [e.g. 22]

Additional context
None

@github-actions
Copy link

Hello @RiRiSi , thank you for submitting an issue we appreciate your time. We will take a look and give you an update as soon as we can. We aim for a 72 hour response time.

@deejay-hub
Copy link
Owner

deejay-hub commented May 28, 2022

Hi @RiRiSi. We appreciate your frustration here. The limit of 10,000,000 characters and # of types is a hard limit that Salesforce imposes. We have tried to limit our impact.

Time Warp uses 1 of 200 custom metadata types allowed and uses around 2% of an Orgs allowance on the number of characters allowed
image

It's hard to get leaner than that!

So in short it's not really a defect with Time Warp but more a reflection on the fact that you are already using 98% of your Orgs limit. As we see it your options would be

  1. Fork the repo and remove metadata type records you don't need then package your own version - this is a temporary workaround since the next package you install that uses metadata types will encounter the same issue affecting your ability to meet future requirements
  2. Remove some existing metadata types that aren't needed that make up 98% of your limit currently - a better, longer term solution to make sure you have capacity to meet future requirements
  3. Wait for Salesforce to increase the limit - which might never happen - you can upvote the idea to double the number of chars here -> https://ideas.salesforce.com/s/idea/a0B8W00000GdaVPUAZ/custom-metadata-size-needs-to-increase-to-20-mb

How many characters are you using currently?

@deejay-hub deejay-hub self-assigned this May 28, 2022
@deejay-hub deejay-hub added the triage Investigate and triage issue label May 28, 2022
@RiRiSi
Copy link
Author

RiRiSi commented Jun 1, 2022 via email

@deejay-hub
Copy link
Owner

deejay-hub commented Jun 1, 2022

Hi @RiRiSi , custom objects and custom objects in packages should be fine. Everything you need should be in the config guide linked on the AppExchange listing. See Plot Objects in Managed Packages for examples. https://quip.com/ahFCA9VBEKtr

@deejay-hub
Copy link
Owner

Also take a look here for a similar discussion #166

@deejay-hub
Copy link
Owner

Closing since not a defect. Any follow ups can be taken to 'Discussions'

@deejay-hub deejay-hub added invalid This doesn't seem right and removed triage Investigate and triage issue labels Jun 1, 2022
@RiRiSi
Copy link
Author

RiRiSi commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants