cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
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.

5484
Views
10
Helpful
19
Replies
Cisco Employee

ISE MyDevices Portal customization (remove the column for pending/register state)

This is for ISE 1.3+

do you know if it's possible to remove the Device registration status from the MyDevices portal (ISE 1.4)? By default the status is displayed (Registered/Pending). My Customer wants to get rid of this column in general:

Everyone's tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: ISE 1.4 MyDevices Portal customization

Check this out, reference my how to on web portal customization to get used to JavaScript requirements

http://www.cisco.com/c/dam/en/us/td/docs/security/ise/how_to/HowTo-43_ISE_Web_Portal_Customization_Options.pdf

THis this should be put under optional content 2 for manage devices page

<script>

$(document).ready(function() {

setTimeout(function(){

var checkbox = $('.ui-checkbox:nth-child(4) [data-icon="checkbox-off"]');

    if(checkbox.length == 0) {

      $('[for="col-4"]').click()

    }

  }, 1200);

});

</script>

View solution in original post

19 REPLIES 19
Cisco Employee

Re: ISE 1.4 MyDevices Portal customization

Check this out, reference my how to on web portal customization to get used to JavaScript requirements

http://www.cisco.com/c/dam/en/us/td/docs/security/ise/how_to/HowTo-43_ISE_Web_Portal_Customization_Options.pdf

THis this should be put under optional content 2 for manage devices page

<script>

$(document).ready(function() {

setTimeout(function(){

var checkbox = $('.ui-checkbox:nth-child(4) [data-icon="checkbox-off"]');

    if(checkbox.length == 0) {

      $('[for="col-4"]').click()

    }

  }, 1200);

});

</script>

View solution in original post

Cisco Employee

Re: ISE 1.4 MyDevices Portal customization

Jason,

Thanks a lot for the script. I tested it in my lab, for the default MyDevices portal it works perfectly. But unfortunately it didn't work for the portal migrated from 1.2 (and the Customer is using this one).

Do you have any suggestions what might be wrong with it? I have restored the Customer's config in my lab, if you need an access to their ISE I can give you it.

Default:

Migrated from 1.2/Customized by the Customer:

Beginner

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

Does anyone know how to hide the number of registered devices on the "My Devices" page of the Portal?  I know how to remove "Number of registered devices:" , but i am having javascript trouble on hiding the number "0/100".  See below:

Screen Shot 2017-02-14 at 9.28.16 AM.png

Any help would be great.

JB

Cisco Employee

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

did you ever get this working? sorry it was so long ago

Beginner

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

Has this script changed for ISE 2.3; more specifically with ISE 2.3 portals built with ISE PB? The Manage Devices page does not have an Optional Text 2 entry box

All of our non-dot1x devices students enter show up as Pending state and generate tickets.

Cisco Employee

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

did you try the instructional text? It will work under any box

Beginner

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

I've tried this script in all 3 boxes of the My Devices page- the one that was referred to in the original post.

Screen Shot 2018-02-08 at 3.35.30 PM.png

The Pending status is still shown..

Screen Shot 2018-02-08 at 3.34.51 PM.png

Cisco Employee

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

is any other scripting working for you? did you allow javascript under the admin settings? mentioned in this guide

How To: ISE Web Portal Customization Options | Cisco Communities

Cisco Employee

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

i see a problem, please look at the guide i sent, looks like you're trying to insert script on the text page and not under the toggle html/javascript page

Beginner

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

That solved the My Devices page- you were correct the script goes under Optional Content 2 using the toggle HTML feature.

The Manage Device page still shows the Pending Status with the secondary script added to the Manage Device page and the Edit Device page:

Screen Shot 2018-02-08 at 4.23.47 PM.png

And the configuration page:

Screen Shot 2018-02-08 at 4.28.18 PM.png

HTML / Java configuration is enabled under Settings > Portal Customization

Cisco Employee

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

Hi Scott,

Could you please also try this one script, which will hide row with timeout 2 seconds?

<script>

setTimeout(function(){

  $("#page-manage-device .cisco-ise-table-row:first").hide();

}, 2000);

</script>

Cisco Employee

Re: ISE 1.4 MyDevices Portal customization

Sorry for hijacking this post, but I figured my question belongs here.

The script works great for the page that shows all devices listed, but when you click on one of them it shows the device status in another page.

Is it possible to also hide the status when viewing the device details?

my_devices_no_status.JPG

manage_device_status.JPG

Cisco Employee

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

Check this out put it on the Manage Device page under Instructional text:

<script>

jQuery(document).on("pageshow","#page-manage-device",function(){

jQuery("#page-manage-device .cisco-ise-table-row:first").hide(); 

});

</script>


Screen Shot 2016-05-20 at 3.01.20 PM.png

Highlighted
Enthusiast

Re: ISE MyDevices Portal customization (remove the column for pending/register state)

Hi Jason,

 

I have a customer running ISE 2.2 Patch 9 and we are trying to remove the status on the My Device portal. I've tried the scripts posted here for the My Device and Managed Device but the status is still showing up. I did make sure to toggle html/java and we have java enabled globally but still no luck. 

 

The other odd thing is after 10-15 minutes if you go back to the Portal Customization the scripts are no longer showing up. It's as if they were deleted??