- Change your schema and templates and so forth to have
package_create
andpackage_update
store your domain field. - In your IDomainObjectNotification, you'll get an object called entity which is a package model from ckan/model/package.py
- You can find the groups for this package using get_groups()
- You can add the package to a group by calling add_package_by_name on the group object.
- If you find the domain property isn't available in package.extras.get('domain') then you may need to use notify_after_commit
Created
September 10, 2015 08:19
-
-
Save rossjones/ee9ad6e72aee88aaaa44 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment