Recent searches
No recent searches
Getting started with custom objects
Posted Mar 26, 2021
This is a continuing discussion about the article Getting started with custom objects in the developer documentation.
0
19
Recent searches
No recent searches
Posted Mar 26, 2021
This is a continuing discussion about the article Getting started with custom objects in the developer documentation.
0
19 comments
Itay Banner
1263082103969 Just did, thanks.
0
Christopher Kennedy
Lookup fields are available as part of the new Custom Objects EAP. Have you signed up for the EAP?
0
Itay Banner
1263082168309 I'm having the same issue as 4908112888602 and I feel trapped in a vicous circle.
My use case: I run a website agency. I have clients (organizations) for whom I manage websites (one or more). Each site is either hosted on my server or externally.
My objective: I want to be able to see, under each organzation, which websites I manage for them and where they're hosted.
What I did:
What I tried to do then:
In the Admin Center, under People > Configuration > Organization fields, I tried to create a lookup field to manage the custom object records for the organization. I expected to be able to see my custom object available to select in that same dropbox marked in red in 4908112888602's post.
What are we missing, then?
What's the right way to manage relationships with custom object records in the interface? or is it just an API feature? If there is a way, please can you provide a detailed documentation, as the current articles you linked to are not helpful.
0
Jacquelyn Brewer
4908112888602 I think the issue is that you're trying to use lookup relationship fields with custom objects, but instead you need to be defining relationships between the objects either via the Relationships page in Admin Center or the API (https://developer.zendesk.com/documentation/custom-data/custom-objects/getting-started-with-custom-objects/#modeling-your-data).
0
Levente Nagy
1
Eric Nelson
Hey Prashanth,

The object size is determined by the actual byte size of the object being stored. An easy way to tell how large your object is to use postman and a search query for one object. Then you can see the object size by looking at the response body's size. For an example I've included the size of a response with 12 nested attributes (all strings) and an external id. As you can see, you'd need an absolutely massive custom object to come anywhere near this limit.
Hope this helps!
Eric
0
prashanth m
How is custom object size determined..? it says 32kb in the documentation, how to find out if my custom object has reached this 32kb limit..?
0
Andrew Schreiner
366874536108, I don't think that's possible. You could write a custom app to insert text into the body of the editor but that would be the only way I know of to get it in there at this time. Sounds like a good idea though so you may want to put in a feature request.
0
Adam Grohs
Is there any way to access sunshine custom object data from within a ticket body - either via macro or preferably a placeholder?
0
Christopher Cooper
Hi Matt,
Do you have a question about using our List Related Object Records API? You'll want to use the relationship type in the url to return related records. For example, my test account has a user_has_many_devices relationship type. The url I used to get a user's device objects was the following:
https://z3nt.zendesk.com/api/sunshine/objects/records/zen:user:1274575738/related/user_has_many_devices
Best,
Chris
0
Sign in to leave a comment.