Tip: Open Guide (or Resource Centre) on a desired Step (or RC article).

Featured

Comments

7 comments

  • Avatar
    Howard Lio

    This is awesome Stefano D'Avascio! This going to be so helpful for the Community when building out our guides!

    0
    Comment actions Permalink
  • Avatar
    Carolynn Rodon

    This is great Stefano D'Avascio thanks so much for sharing! 

    0
    Comment actions Permalink
  • Avatar
    Lyndsay Farrar

    Awesome!! This is exactly what we are looking for. I'm not a developer either :) Stefano D'Avascio Can you provide a little more information or screenshots on where to enter this info in the Pendo Designer? We are trying to launch the Resource Center from the last step in a guide. I tried including it in a custom code block but it doesn't seem to work. Any help appreciated. Thanks!

    0
    Comment actions Permalink
  • Avatar
    Stefano D'Avascio

    Hi Lyndsay Farrar! Great to hear this is (hopefully) gonna help you!

    To answer you question, the JS snippet illustrated above (toggleGuide(guide,step)) should be added to your app main JS file or a separate JS file that gets loaded by default, if that makes sense?

    Below a basic HTML structure to explain where to place the JS snippet:

    <html>
    <head>
    [Your meta tags here]
    </head>
    <body>
    [Your app content]

    <script src="your-pendo-guide-snippet.js"></script> <-- place your snippet here
    </body>
    </html>

    NOTE: if instead, you wish to open the last step of a specific guide from different guide, you can embed the JS snippet within the JS tab of a code block.

     

    Looking forward to hear from you.

    Please do let me know if that wasn't clear!

    0
    Comment actions Permalink
  • Avatar
    Stefano D'Avascio

    Hey Lyndsay Farrar, I've just read again your problem (sorry).

    I've been testing the snippet again, and I've got a couple of questions for you:

    A. The Resource Centre has an ID, but the Article you want to open also has an ID, the URL looks like this
    Are you replacing the ID with the entire thing (articleID+@+resourceCentreID)?

    B. Is the Resource Centre Article live?

    0
    Comment actions Permalink
  • Avatar
    Lyndsay Farrar

    Thanks Stefano D'Avascio! Our Resource Center isn't live yet and we wanted to open the Resource Center without going directly to a specific article within it. We were exploring a few options, this being one of them. I think we landed on creating a new separate guide that targets the Resource Center badge. We followed this video https://youtu.be/nwOSWMInd1Y

    1
    Comment actions Permalink
  • Avatar
    Stefano D'Avascio

    Hey Lyndsay Farrar, yeah that's an alternative, but then your users will have to at least click once to open the RC.

    The method described in the post opens the RC on a specific article as well as its main view, you'd only need to use the RC ID instead of the article one.

    0
    Comment actions Permalink

Please sign in to leave a comment.