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

Page Parameter in Obisidian Registration Block #5979

Open
2 tasks done
markewampler opened this issue Aug 5, 2024 · 0 comments
Open
2 tasks done

Page Parameter in Obisidian Registration Block #5979

markewampler opened this issue Aug 5, 2024 · 0 comments
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.

Comments

@markewampler
Copy link

Description

We use Page Parameters for one of our more complex registration processes.

Long story short the user go through a workflow and ends up at a registration with two query string parameters passed in to help us update some data on the backend when the user has successfully paid in the registration.

The user will end up at our registraiton obisidian block with something like this /Registraiton?RegistrationInstanceId=XYZ&ScheduleId=88&BookingId=977

Previously we were able to access those two query string parameters in the non-obsidian registration block and use them in the "terms and text" value on the registration template. Now no page parameters are availabe as far as we can tell trying both ways to access those values.

Actual Behavior

We have added these two different attempts to access the data to the Terms and Text Registraiton Confirmation Field and receive no value.

{% assign queryParms = 'Global' | Page:'QueryString' %}
{% for item in queryParms %}
{% assign kvItem = item | PropertyToKeyValue %}
{{ kvItem.Key }}: {{ kvItem.Value }}
{% endfor %}

{% assign testingparameter = 'Global' | PageParameter:'testing' %}
parameter: {{ testingparameter }}

Expected Behavior

I should see printed or be able to interact with Page Parameter/Query String Values in the Terms and Text, Registration Confirmation or Registraiton Instructions fields.

Steps to Reproduce

go to: https://rock.rocksolidchurchdemo.com/web/event-registrations?RegistrationTemplateId=2&ExpandedIds=C174%2CC173

and edit the template.

Insert in the "Terms and Text" section under the "Registration Confirmation" field area at line 50:

{% assign queryParms = 'Global' | Page:'QueryString' %}
{% for item in queryParms %}
{% assign kvItem = item | PropertyToKeyValue %}
{{ kvItem.Key }}: {{ kvItem.Value }}
{% endfor %}

{% assign testingparameter = 'Global' | PageParameter:'testing' %}
parameter: {{ testingparameter }}

Screenshot 2024-08-05 at 11 01 18 AM

Save the template.

Create a new registraiton instance for that template and grab the instance id for it and use in the next step.

Go to: https://rock.rocksolidchurchdemo.com/registration?registrationinstanceid=2&testing=1234
Change the instance id to whatever is correct ( it maybe 2 as this gets wiped daily)

proceed through the steps of registering and hit the "Final" page and see that all you see is this:

Screenshot 2024-08-05 at 11 04 07 AM

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug or enhancement is already reported.
  • Reproduced the problem on a fresh install or on the demo site.

Rock Version

v16.2, v16.4

Client Culture Setting

en-us

@sparkdevnetwork-service sparkdevnetwork-service added Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs. labels Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

No branches or pull requests

2 participants