SOLVED

Re: Marketo Custom Object Default Order

Go to solution
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Marketo Custom Object Default Order

What is the default order in which custom object records are stored? So if I have multiple records in the CO what will be the 0th record by default ? Will it be the record which has been CREATED latest? Or does it follow some other order?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo Custom Object Default Order

"Stored" isn't the operative word here, what you actually mean is "exported to the Velocity context."  (The storage order in the database is irrelevant and certainly the entire db isn't resorted all the time, that would be madness!)

 

Informally, the objects in the list are ordered descending by createdAt. But there's no reason to rely on that, since you can resort the list any way you want.

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Marketo Custom Object Default Order

"Stored" isn't the operative word here, what you actually mean is "exported to the Velocity context."  (The storage order in the database is irrelevant and certainly the entire db isn't resorted all the time, that would be madness!)

 

Informally, the objects in the list are ordered descending by createdAt. But there's no reason to rely on that, since you can resort the list any way you want.

Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Marketo Custom Object Default Order

Thank you Sanford, this is exactly what I was looking for  🙂