cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Choose one of the topics below to view our ISE Resources to help you on your journey with ISE

This community is for technical, feature, configuration and deployment questions.
For production deployment issues, please contact the TAC! We will not comment or assist with your TAC case in these forums.
Please see How to Ask the Community for Help for other best practices.

191
Views
0
Helpful
9
Replies
Highlighted
Beginner

ISE Guest Portal - Terms and Conditions directed to web server

Dear all,

 

Is anyone able to tell/advice me how to change behavior or "built-in" URL link called "Please read the terms and conditions." so it is not redirected to ISE built-in page but to my specific location (dedicated web server running IIS,...)? I'd like to simply have someone clicks on "built-in" URL to be redirected to my own URL "myurl.com" hosting Terms and Conditions.

 

Only what I can do is to add link on built-in page which is one additional click which seems to be not a very user friendly.

 

Thanks a lot for any hint.

 

Martin

 

 

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: ISE Guest Portal - Terms and Conditions directed to web server

Perhaps I need more information on how this would work for you. Can you please ellaborate?

 

 

Please try to add the below script in Login Page of Customization and let us know whether it works as expected.

 

Please use the below script for Login, Self Registration and Self Registration Success pages.

Ex: Page Customization > Login > Optional Content 2

Please replace the google.com with respective URL .

 

<script>
    setTimeout(function() {
        $('a').each(function(){
            if($(this)[0].text.toLowerCase().indexOf("terms and conditions") !== -1){
                $(this).attr('href', 'https://www.google.com').attr('target','_blank');
            }
        })
    }, 1000);
</script>

 

9 REPLIES 9
Cisco Employee

Re: ISE Guest Portal - Terms and Conditions directed to web server

There is a possibility we might be able to have some javascript that could open an external page. Would that work?
Beginner

Re: ISE Guest Portal - Terms and Conditions directed to web server

Hi Jason,

It might be working. Do you have such script and guide to which content field it should be added? 

 

Thanks for an update.

 

Just simple thing but it is not built-in within ISE, so javascript might be only option.

 

Martin 

Cisco Employee

Re: ISE Guest Portal - Terms and Conditions directed to web server

OK investigating
Cisco Employee

Re: ISE Guest Portal - Terms and Conditions directed to web server

Perhaps I need more information on how this would work for you. Can you please ellaborate?

 

 

Please try to add the below script in Login Page of Customization and let us know whether it works as expected.

 

Please use the below script for Login, Self Registration and Self Registration Success pages.

Ex: Page Customization > Login > Optional Content 2

Please replace the google.com with respective URL .

 

<script>
    setTimeout(function() {
        $('a').each(function(){
            if($(this)[0].text.toLowerCase().indexOf("terms and conditions") !== -1){
                $(this).attr('href', 'https://www.google.com').attr('target','_blank');
            }
        })
    }, 1000);
</script>

 

Beginner

Re: ISE Guest Portal - Terms and Conditions directed to web server

Hi Jason,

 

Thanks a lot, it seems to be working, but only in first page called "Login", but Terms and Condition link is also available during self-registration process and therefore on page called "Self-Registration" & "Self-Registration Success" and there code doesn't work if apllied in Optional content 2.

 

Is there a difference which can be adjusted to be applied there as well?

 

Thanks for hint.

 

Martin

 

 

Cisco Employee

Re: ISE Guest Portal - Terms and Conditions directed to web server

researching
Beginner

Re: ISE Guest Portal - Terms and Conditions directed to web server

Hi Jason,

Any luck so far? I've been trying couple of things but none of them worked.

Thank you very much for your advice!
Cisco Employee

Re: ISE Guest Portal - Terms and Conditions directed to web server

i updated the code in my response can you check again
Beginner

Re: ISE Guest Portal - Terms and Conditions directed to web server

Hi Jason,

It's working like a charm! Thanks a lot for your prompt help!

 

Have a nice week.

Martin