Export Type Not Saving on Reload When Using lastExportDateTime & Requires Query Parameter Reentry

Hi Everyone,

This is either a bug or I am trying to do something the platform cannot handle.

There is no “Delta” export type option for the Akeneo source application, so I just selected “All”. It works but every time I go back into the export I have to reselect “All” as the export type if I want to make any changes. When I do reselect the export type, it clears my search query parameter that contains the delta logic.

See Video

Search query parameter:
{"updated": [{"operator": ">", "value": "{{{dateFormat "YYYY-MM-DD[T]HH:mm:ss" lastExportDateTime}}}Z"}]}

Is this intentional? If so, is there a better way to accomplish the same logic?

Thanks.

Looks like a bug, but also an enhancement opportunity for us: we could enhance this connector to support Delta in the Simple view.

For now, can you toggle to HTTP view at the top left, then choose Delta? This won't work otherwise, since lastExportDateTime is only available in Delta mode and isn't available for All mode.

Got it, yes that would be a good enhancement, how come Delta is not available globally in simple view?

Because we need to build out our metadata library more to know how to delta off an endpoint. Every endpoint and application is different, and if we haven't captured the “how” for an endpoint, then Delta doesn't show as an option in the simple view. That being said, we are constantly improving metadata and releasing updates to it every 2–3 weeks. I'll pass this along, and I'm sure we can get it added in no time.

That’s fair, I can see how an inexperienced user might get confused when attempting to use a delta export and having to develop the logic instead of using a prebuilt option. On the other hand, if the requirement of lastExportDateTime being used is satisfied, regardless of view, why not allow it?

We wouldn't want to show "Delta" as an option under simple view if choosing it didn't give you the delta behavior. One option would be to show it, but then redirect the user to the HTTP view, though that could be confusing as well. In your case, maybe if someone references "lastExportDateTime" within a Handlebars expression, we could auto-detect that and move the user to Delta. I'm not generally a fan of auto-detecting logic, though, because you might override what someone manually wants to do.

All that being said, engineering let me know they may have this connector updated tomorrow with delta handling.

1 Like

Hi @jaredfraley ,

Team has updated the connector to support Delta in the simple view. Thanks!

1 Like