How many custom attributes are allowed on an Edge developer or app?

There is a question asking "Why is there a limit of 18 for custom attributes in CPS enabled orgs?", which seems to be saying that for CPS orgs there is a limit of 18 custom attributes.

  1. Is this true for apps and developers, or some other entities?
  2. Is the limit different for non-CPS enabled orgs?
  3. How can you tell if your org is CPS enabled?
Solved Solved
0 3 481
1 ACCEPTED SOLUTION

Hi @Chris Novak

  1. Is this true for apps and developers, or some other entities? Yes its true for apps (both Company and Developer), developers, products, company.
  2. Is the limit different for non-CPS enabled orgs? no limit for non-CPS enabled orgs
  3. How can you tell if your org is CPS enabled? You can query the organization using the Get Organization Mgmt API call and in the response you should find a property features.isCpsEnabled set to true if the Org is CPS enabled
"properties": {
        "property": [
            {
                "name": "features.isCpsEnabled",
                "value": "true"
            }
        ]
    }

Hope this helps !

View solution in original post

3 REPLIES 3

Hi @Chris Novak

  1. Is this true for apps and developers, or some other entities? Yes its true for apps (both Company and Developer), developers, products, company.
  2. Is the limit different for non-CPS enabled orgs? no limit for non-CPS enabled orgs
  3. How can you tell if your org is CPS enabled? You can query the organization using the Get Organization Mgmt API call and in the response you should find a property features.isCpsEnabled set to true if the Org is CPS enabled
"properties": {
        "property": [
            {
                "name": "features.isCpsEnabled",
                "value": "true"
            }
        ]
    }

Hope this helps !

Not applicable

What happens if someone tries to add more than 18 attributes to any of these entities by using the MGMT API? Is there an exception thrown by age or the data gets automatically truncated?

Is there a way to retrieve the exact attributes limit by using an API call or this 18 attributes is a hard-coded limit which does not change?

HI @Dezső BICZÓ

You should get an error.

{
  "code": "common.filter.AttributeSizeExceeded",
  "message": "Exceeds max number of attributes limit.",
  "contexts": []
}

I dont think there is an API to retrieve that limit. If you have further questions, please post them as a separate post in the community