Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
This has somewhat previously been discussed here: https://our.umbraco.com/projects/collaboration/merchello/merchello/77579-dynamic-collection. But since that thread is from 2016, I'm creating a new one.
I'm trying to create a dynamic collection provider for the backend. Should be no problem, right? After all, they are right there in the config file. As usual, documentation is non-existant, but that doesn't bother me, as I can just read the source code.
So using the source code I found DynamicUnpaidInvoiceCollectionProvider. That looks promising. I can copy that over and modify for my needs (as I have done with pretty much every extension to Merchello, since nothing is documented).
But, surprise! It looks like no-one actually has ever tried to create a custom dynamic provider, because all the GetKeys* methods on InvoiceService are internal. And the API requires you to return just the keys (for performance reasons, I presume).
So I'm kind of stuck. I can cheat and use the query methods that return full objects and then return only the keys. But why should I have to do that.
Unfortunately, I run into these kinds of issues every time I try an extensibility point in Merchello. It looks like Merchello is extensible in all kinds of ways, but actually there is usually some hardcoded or internal code that makes it more or less impossible to actually use the extensibility points. I'm currently running a custom build due to this bug https://github.com/Merchello/Merchello/issues/2163, which is kind of the same.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted