Linking out via Custom Code Module in Resource Center
Im working on a RC refresh using Custom Code. I have a module that contains a series of links (see screenshot). However, no link opens. At all. When clicked, the RC just closes.
However the same code works in both a regular guide and in w3school's TryIt.
Am I missing something completely obvious?
0
Comments
Hi Devin Hartnett
Looks like you are missing unique id's for each button and target="_blank" to load the URL in a new tab in your code.
Check out this example code I took from the from pendo RC support module which you can load on your end as well but I am adding it here for other users for future use.
I found this code from another Pendo employee in the forums, and tried it copy+paste. The links dont open at all.
Hi Devin Hartnett the code looks correct but if you are trying to test it in the designer mode it wont work, you will have to save to code then push the resource center into staging and then in production and the launch this module in your prod environment only then you can test it out.
Hi Rohit Pandey Unfortunately Im in our Production environment testing this. Ive got the module segmented to just my email address so it wont appear for our consumers. Our test and stage enviros end with .dev and .us
Make sure you add
inside your <a> tags so they open in a new tab. Not sure if that will fix it all though?
Please sign in to leave a comment.