cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4924
Views
16
Helpful
15
Replies

ISE Sponsor - how to un-check End of business day during account creation

Arne Bier
VIP
VIP

Hi

anyone know how I can change the Sponsor creation portal to NOT put a tick box to show End of Business day.  We end up having to un-check it all the time.

thanks

1 Accepted Solution

Accepted Solutions

Hi Arne,

Also here is a script for it, if you still need to set a start time and end time for account.

You should to follow by these steps :

1. Open "Portal page customization" of your portal.

2. Choose "Sponsor portal settings'" and find "Instructional text"

3. Click on "Toggle to HTML" and insert script.

4. Click on "Toggle to HTML" to close the field and click "Save"

5. Use "Portal test URL" to check how it works.

Here is a script:

<script>

setTimeout(function() {

$('#endofday').trigger('click');

$('#endofday').attr('disabled', true);

}, 2000);

</script>

<script>

  $("#availableGuestTypes").on('click', function(evt) {

    setTimeout(function(){

        $('#endofday').trigger('click');

        $('#endofday').attr('disabled', true);

    }, 5000);

  });

</script>

Thanks.

View solution in original post

15 Replies 15

ognyan.totev
Level 5
Level 5

Its default setting ,if you create new account u can uncheck and set the time u want this account be active . By default guest accounts are temp accounts they start(with time creatation) and  end of business day .You can only change

Account duration starts
   From first login  
   From sponsor-specified date (or date of self-registration, if applicable

paul
Level 10
Level 10

Gave my answer in the other post similar to this:

Sponsor Portal - "Access Information" uncheck "End of business day" script?

Keep sponsor options simple and set account start from first login.

Hi Paul

thanks mate!  That worked a treat.

@Jason - it's probably worth pursuing this as a bug since it would be nice to have this feature optional, in case customers want account validity to range from creation date, and not first usage date.

This forum rocks!

Hi Arne,

Also here is a script for it, if you still need to set a start time and end time for account.

You should to follow by these steps :

1. Open "Portal page customization" of your portal.

2. Choose "Sponsor portal settings'" and find "Instructional text"

3. Click on "Toggle to HTML" and insert script.

4. Click on "Toggle to HTML" to close the field and click "Save"

5. Use "Portal test URL" to check how it works.

Here is a script:

<script>

setTimeout(function() {

$('#endofday').trigger('click');

$('#endofday').attr('disabled', true);

}, 2000);

</script>

<script>

  $("#availableGuestTypes").on('click', function(evt) {

    setTimeout(function(){

        $('#endofday').trigger('click');

        $('#endofday').attr('disabled', true);

    }, 5000);

  });

</script>

Thanks.

Hi Serhii,

your script works quite well, however when switching between manage accounts and create accounts it doesn't work and the Checkbox is set again and does not cange.

Is it possible to have it triggered in this case as well?

Thanks and best regards

Philipp

Hi Philipp,

Could you please try to use one more script for that case?

<script>

  $('.cisco-navbar .ui-grid-c .ui-block-a').on('click', function(evt) {

    setTimeout(function(){

        $('#endofday').trigger('click');

        $('#endofday').attr('disabled', true);

    }, 5000);

  });

</script>

Also you can increase/decrease timeout 5000.

Thanks.

Thank you very much!

".cisco-navbar .ui-grid-c .ui-block-a" didn't work for me so I just used "a.ui_create_accounts_button"

I also tweaked the timers.

Here is my full script again:

<script>

setTimeout(function() {

  $('#endofday').trigger('click');

  $('#endofday').attr('disabled', true);

}, 2000);

</script>

<script>

$("#availableGuestTypes").on('click', function(evt) {

  setTimeout(function(){

   $('#endofday').trigger('click');

   $('#endofday').attr('disabled', true);

  }, 3000);

});

</script>

<script>

$("a.ui_create_accounts_button").on('click', function(evt) {

  setTimeout(function(){

   $('#endofday').trigger('click');

   $('#endofday').attr('disabled', true);

  }, 3000);

});

</script>

Serhii,

I would like to hide this part and unfortunately dont know how to reference it in the jquery.

Can you help me with this? (ISEv2.3)

Untitled.png

Thanks,

Laszlo

You can try to use this:

     $('#accessTimeContent .form-horizontal div:first').hide();

instead of:

        $('#endofday').trigger('click');

        $('#endofday').attr('disabled', true);

from previous script.

Hi Serhii,

By chance do you know how to hide the End of Business Day option, all of it?

This part:

Capture6.JPG

Thanks,

laszlo

I would also like to hide complety the part of the "End of business day section". if you find how, thank you for sharing.

Please open a new question this one is old

I would also like to hide complety the part of the "End of business day section". if you find how, thank you for sharing.

dazza_johnson
Level 5
Level 5

Hello spustovi - With your script applied should the "End of business day" checkbox be automatically disabled? I just tried this script using the directions you gave, but my checkbox is still checked :-(

Can you help?

DJ