Skip to main content
Solved

Injecting client side Javascript

  • October 14, 2024
  • 4 replies
  • 63 views

Hello,

Looking for a little guidance on how to get client side JavaScript to work. We are evaluating a platform called UserFlow the automates onboarding by guiding you through the product with prompts and such.

The installation require injecting JavaScript into the body of the page then calling a couple of functions to initialize and start user flows.

I placed the main JavaScript into a columns container in the header of the Customers page, then attempted to initialize in the Init property of the data source. I even put a couple of buttons on the screen to call the initialize and start functions. 

Does it look like this should work?

 

 

 

Thanks,

Mark

Best answer by Zoltan Febert

@mpierson @darylbowman  Based on the screenshots, I’d say something like this should work.

View original
Did this topic help you find an answer to your question?

4 replies

darylbowman
Captain II
Forum|alt.badge.img+13

Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+3
  • Jr Varsity I
  • 176 replies
  • Answer
  • October 15, 2024

@mpierson @darylbowman  Based on the screenshots, I’d say something like this should work.


hdussa
Jr Varsity I
Forum|alt.badge.img
  • Jr Varsity I
  • 99 replies
  • October 16, 2024

Hello @mpierson ,

Try checking the “CommandPerformed” rather initialize.

Here is a sample might help.

https://stackoverflow.com/questions/56006748/dynamically-change-button-color/56008485#56008485


  • Author
  • Freshman I
  • 1 reply
  • October 16, 2024

I was able to get the script to run just from the JavaScript control.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings