Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obsolete with Managed entities? #3

Open
jensschuppe opened this issue Mar 4, 2022 · 2 comments
Open

Obsolete with Managed entities? #3

jensschuppe opened this issue Mar 4, 2022 · 2 comments
Labels

Comments

@jensschuppe
Copy link
Contributor

It seems to me that this might become obsolete when you use CiviCRM's managed entities for synchronising custom data (or any other CiviCRM entities).

There even seems to be a very easy way of generating managed entities via the APIv4 explorer, as @colemanw pointed out in systopia/de.systopia.eck#32.

Also, APIv4 comes with much better accessibility for code that needs to translate custom field names into IDs and vice versa, so that part of Custom-Date-Helper doesn't seem to provide that much benefit anymore either.

@bjendres
Copy link
Member

bjendres commented Mar 4, 2022

ManagedEntities have been around for longer than the CustomDataHelper, but have (had?) a couple of drawbacks and instabilities. I wouldn't want to switch unless we're sure they're gone.

Also, the CustomDataHelper offers additional functions, such as the APIv3 access to those custom fields. I have no idea whether this will be obsolete with APIv4.

@colemanw
Copy link

colemanw commented Mar 4, 2022

My recommendation would be to use APIv4 and ManagedEntities for all new projects. I'm not sure what drawbacks you mean specifically @bjendres but the APIv4 flavor of managed entities is pretty good IMO. A lot of the issues with the v3 managed entities have been solved.
Obviously you'll need to keep this extension around for a while for legacy support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants