Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Loan Payment Success Modal Button Text & Action

I want to change the action for the 'Review My Payment' button on the loan payment success modal so that it routes to the home page instead. I was thinking of creating a Tecton success modal to do this since I can customize the button text, but I'm wondering if there's a way to just change the one button without having to create a new modal?

Thank you!

Loan payment success modal.png

Posted 3 years ago
Votes Newest

Answers 3


Hello Vivian,

Thank you for the question!

Just to be clear - is the loan payment success modal one generated by your extension or by something else? I'm writing this answer under the assumption that you were wanting to repurpose an existing modal, generated by a codebase outside your extension, which isn't possible.

You would do this via the showModal tecton action. It is documented here:

https://cdn4.onlineaccess1.com/cdn/base/tecton/v1.21/Documentation/capabilities/showModal

When the showModal promise resolves, it returns the actionName of the button - which you can then use to route wherever you wish via the navigateTo source documented here:

https://cdn4.onlineaccess1.com/cdn/base/tecton/v1.21/Documentation/capabilities/navigateTo

Thanks,

Kelsey G.

Posted 3 years ago

Kelsey-

Thanks for your response! I'm not sure if my comment posted, so I'm writing it here instead. Two more questions for you:

  1. How do I listen to the 'Confirm' button click event from the previous modal (image attached) that is generated outside of my extension to display the success modal?

  2. How do I retrieve the payment data to populate the new modal? Are there specific HQ APIs/DB objects I must use to retrieve the data?

Please let me know if it would be better to create a support ticket. I am new to my position and I'm trying to understand if I have access to any code for these modals.

I appreciate your help!

Vivian


Hello again Vivian,

A support ticket would be best, as we need to understand a little more to help. We'll likely want to arrange a short call with you over zoom to get you squared away and happy to do it!

Please include a link to this community post and link to relevant code in git.

Thanks!

Kelsey

Posted 3 years ago
0

Thanks for the input Kelsey, I will do that!

— Vivian Gomez   3 years ago
114 Views
3 Answers
3 years ago
2 years ago