-
Notifications
You must be signed in to change notification settings - Fork 2
Feature: Liberty create integration essentials #60
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
Conversation
New tokens and pseudo-tokens: - [webform_submission:values:FORM-FIELD-ID:extracted_firstname] - [webform_submission:values:FORM-FIELD-ID:extracted_lastname] - [webform_submission:values:FORM-FIELD-ID:file_details_for_liberty_create_api] - [webform_submission:purge_date]
Submodule containing Liberty Create API integrated Webform.
These tokens are necessary for Liberty Create API integration.
@andybroomfield From Merge Tuesday - Will try and take a look at the tokens and README when he gets a chance |
@stephen-cox Will have a look at the failing tests this week |
…-integration-example
@andybroomfield could you take a closer look? Lots of details in the README.md |
@@ -0,0 +1,155 @@ | |||
<?php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this file be in the module root instead of localgov_forms_examples?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure Andy. The token from this file is not needed anywhere other than Liberty Create API integration. So I thought it better to just leave it in the demo submodule.
I'm seeing this on the example form once I first install, assume its because of the default settings from localgov_forms install (see #34). Once I've got these installed, changing the example endpoint gives me this error
Its also not possible to save the handler as I get this error when trying to save it.
I've tried to set these up as envrionment options but still not getting a value. |
Heres what the debug output
|
Apart from the missing "Disposal date" sourced from the new |
Sorry Andy, I can't reproduce the error about the |
Ok, I'm no longer getting that error, though still seeing |
Thanks a lot Andy. Merging... |
New tokens and pseudo-tokens necessary for Liberty Create API integration:
[webform_submission:values:FORM-FIELD-ID:extracted_firstname]
[webform_submission:values:FORM-FIELD-ID:extracted_lastname]
[webform_submission:values:FORM-FIELD-ID:file_details_for_liberty_create_api]
[webform_submission:purge_date]
Also, a submodule with example form configuration demonstrating Liberty Create REST API integration. This is accompanied by a README that explains the integration.
Test failure under Drupal 10 appears unrelated to this pull request.Closes #50