<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Self registered Guests using Phone or Sponsored employee email in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4720541#M578209</link>
    <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/268844"&gt;@abrimawi9&lt;/a&gt;&amp;nbsp; Yes, I agreed with you that 2 portals a better track. If you can't figure it out yourself, see &lt;A href="https://community.cisco.com/t5/network-access-control/linking-one-guest-portal-to-another-guest-portal/m-p/3467555/highlight/true#M531750" target="_blank"&gt;Solved: Re: Linking one guest portal to another guest portal - Cisco Community&lt;/A&gt;&amp;nbsp;but the support is only at best-effort basis.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Nov 2022 20:26:43 GMT</pubDate>
    <dc:creator>hslai</dc:creator>
    <dc:date>2022-11-13T20:26:43Z</dc:date>
    <item>
      <title>Self registered Guests using Phone or Sponsored employee email</title>
      <link>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4719763#M578178</link>
      <description>&lt;DIV&gt;I need support in ISE (2.6) guest portal customization&lt;/DIV&gt;&lt;DIV&gt;1- One SSID for both sponsored and self registered users&lt;/DIV&gt;&lt;DIV&gt;2- Guests will select from drop down list, register by phone or through a sponsor employee email.&lt;/DIV&gt;&lt;DIV&gt;3- If phone number is selected, then only phone box is presented and after success registration credentials SMS to be sent to the guest phone&lt;/DIV&gt;&lt;DIV&gt;4- if sponsor employee email is selected. Then only email box is presented, " I am doing validation to allow only @company.domain to be added as email thanks to &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/199790"&gt;@Jason Kunst&lt;/a&gt;&amp;nbsp;" and after success registration an email to be sent to the employee where he will share it with his guest&lt;/DIV&gt;&lt;DIV&gt;Problems:&lt;/DIV&gt;&lt;DIV&gt;since guest can register with phone or email. both email and phone are selected in self registration form under "Send credential notification automatically using". However, the issue is one of them will have value at a time. I tried adding default value from script, but it is not convenient. Is there a way to override and uncheck one of the email or phone for "Send credential notification automatically using" from the script based on the user selection from the drop-down?&lt;/DIV&gt;&lt;DIV&gt;other option I thought about is to create two self registered portals, one with phone, other with email and redirect/use based on the drop-down selection. But I am not sure how to make this work&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Note: We don't want the guest to see the&amp;nbsp;credential on the UI. only they will get it from SMS or passed to them from sponsored employee email&lt;/DIV&gt;&lt;DIV&gt;Please support&lt;/DIV&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:10:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4719763#M578178</guid>
      <dc:creator>abrimawi9</dc:creator>
      <dc:date>2022-11-11T11:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Self registered Guests using Phone or Sponsored employee email</title>
      <link>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4719999#M578196</link>
      <description>&lt;P&gt;This sounds very custom, starting with: &lt;EM&gt;select from drop down list, register by phone or through a sponsor employee email&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;You are trying to combine both Sponsored Guest and Self-Registered Guest flows into one. There is a reason why we keep them separate. You appear to want to combine them. Pick one.&lt;/P&gt;
&lt;P&gt;I am having a hard time understanding the multiple things you are trying to what is being changed from the standard ISE Self-Registered Guest options. You have provided no screenshots for visual context nor any scripts.&lt;/P&gt;
&lt;P&gt;If the standard Self-Registered Guest options will not work for you, consider creating your own custom registration server and use the ISE &lt;A href="https://developer.cisco.com/docs/identity-services-engine/v1/#!guestuser" target="_self"&gt;&lt;FONT face="courier new,courier"&gt;guestuser&lt;/FONT&gt;&lt;/A&gt; API to add/update/delete the guest users in ISE.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 23:19:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4719999#M578196</guid>
      <dc:creator>thomas</dc:creator>
      <dc:date>2022-11-11T23:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Self registered Guests using Phone or Sponsored employee email</title>
      <link>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4720054#M578197</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/26555"&gt;@thomas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom server option + API is indeed valid, however I thought there might be a custom way to achieve what we want through the ISE portal script.&lt;/P&gt;&lt;P&gt;Below you can find the script " added under Option 2 registration form"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abrimawi9_2-1668228624343.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/167727i27751E0341D4B611/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abrimawi9_2-1668228624343.png" alt="abrimawi9_2-1668228624343.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;$("[name='selfRegForm']").focusin(function(){&lt;BR /&gt;$("input[name='guestUser.fieldValues.ui_person_visited']").closest(".ui-field-contain").hide();});&lt;/P&gt;&lt;P&gt;setTimeout(function(){&lt;BR /&gt;&lt;BR /&gt;$.validator.addMethod("customemailvalidator", function(value, element) {&lt;BR /&gt;&lt;BR /&gt;return /^(\w+\.?)+@company\.com$/.test( value );&lt;BR /&gt;&lt;BR /&gt;}, 'Please enter a valid company email.');&lt;BR /&gt;&lt;BR /&gt;jQuery("[name='guestUser.fieldValues.ui_email_address']").rules("add",{customemailvalidator:true});&lt;BR /&gt;&lt;BR /&gt;}, 50);&lt;/P&gt;&lt;P&gt;jQuery(document).ready(function(){&lt;BR /&gt;setTimeout(function (){&lt;BR /&gt;&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_email_address']").parent().parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_person_visited']").parent().parent().hide();&lt;BR /&gt;&lt;BR /&gt;}, 300);&lt;/P&gt;&lt;P&gt;jQuery('select').on('change', function() {&lt;BR /&gt;if(jQuery(this).val() == 'ui_phone_number') {&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_phone_number']").parent().parent().show();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_email_address']").parent().parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_email_address']").val("zzzbbbaaa@company.com");&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_person_visited']").val("zzzbbbaaa@company.com");&lt;BR /&gt;}&lt;BR /&gt;else if(jQuery(this).val() == 'ui_person_visited') {&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_phone_number']").parent().parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_email_address']").parent().parent().show();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_phone_number']").val("33552255");&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$("[name='selfRegForm']").submit(function(){&lt;BR /&gt;$("input[name='guestUser.fieldValues.ui_person_visited']").val($("input[name='guestUser.fieldValues.ui_email_address']").val());&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;select&amp;gt;&lt;BR /&gt;&amp;lt;option value="ui_phone_number"&amp;gt;Register by Phone&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option value="ui_person_visited"&amp;gt;Register through company Email&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;/select&amp;gt;&lt;/P&gt;&lt;P&gt;if you see if guest select register by email. I am adding dummy phone&amp;nbsp;"33552255" and this option works. (I am also using the workaround to replace&amp;nbsp;person_visited with&amp;nbsp;email_address for email to be sent to Employee).&lt;/P&gt;&lt;P&gt;But for register by Phone , I tried to add dummy emails "&amp;nbsp;&lt;A href="mailto:zzzbbbaaa@company.com&amp;quot;" target="_blank" rel="noopener"&gt;zzzbbbaaa@company.com"&lt;/A&gt;&amp;nbsp;i still get the below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abrimawi9_0-1668228117021.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/167725i954824C7E34FEE21/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abrimawi9_0-1668228117021.png" alt="abrimawi9_0-1668228117021.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below both options are selected in registration form setting as guest can select any of them not both:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abrimawi9_1-1668228385094.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/167726i507B2C3E0A75C91F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abrimawi9_1-1668228385094.png" alt="abrimawi9_1-1668228385094.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am thinking to create 2 self registration portals and based on drop down selection reference the relevant one use&amp;nbsp;&lt;A href="https://community.cisco.com/t5/security-knowledge-base/ise-hotspot-portal-with-links-to-employee-or-vendor-portals/ta-p/3643513" target="_blank" rel="noopener"&gt;https://community.cisco.com/t5/security-knowledge-base/ise-hotspot-portal-with-links-to-employee-or-vendor-portals/ta-p/3643513&lt;/A&gt;&amp;nbsp;. so if Phone is selected , the phone only portal will have email unselected and vice versa&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abrimawi9_3-1668228908182.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/167729iB7A386986E06BC2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abrimawi9_3-1668228908182.png" alt="abrimawi9_3-1668228908182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you think this approach will wok?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 05:01:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4720054#M578197</guid>
      <dc:creator>abrimawi9</dc:creator>
      <dc:date>2022-11-12T05:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Self registered Guests using Phone or Sponsored employee email</title>
      <link>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4720064#M578198</link>
      <description>&lt;P&gt;Thanks&amp;nbsp; &lt;A href="https://community.cisco.com/t5/user/viewprofilepage/user-id/26555" target="_blank" rel="noopener"&gt;@thomas&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom server option + API is indeed valid, however I thought there might be a custom way to achieve what we want through the ISE portal script.&lt;/P&gt;&lt;P&gt;Below you can find the script " added under Option 2 registration form"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abrimawi9_8-1668230862796.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/167733i544A4E9BA5A34ED8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abrimawi9_8-1668230862796.png" alt="abrimawi9_8-1668230862796.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;$("[name='selfRegForm']").focusin(function(){&lt;BR /&gt;$("input[name='guestUser.fieldValues.ui_person_visited']").closest(".ui-field-contain").hide();});&lt;/P&gt;&lt;P&gt;setTimeout(function(){&lt;BR /&gt;&lt;BR /&gt;$.validator.addMethod("customemailvalidator", function(value, element) {&lt;BR /&gt;&lt;BR /&gt;return /^(\w+\.?)&lt;A href="mailto:+@company\.com$/.test" target="_blank" rel="noopener"&gt;+@company\.com$/.test&lt;/A&gt;( value );&lt;BR /&gt;&lt;BR /&gt;}, 'Please enter a valid company email.');&lt;BR /&gt;&lt;BR /&gt;jQuery("[name='guestUser.fieldValues.ui_email_address']").rules("add",{customemailvalidator:true});&lt;BR /&gt;&lt;BR /&gt;}, 50);&lt;/P&gt;&lt;P&gt;jQuery(document).ready(function(){&lt;BR /&gt;setTimeout(function (){&lt;BR /&gt;&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_email_address']").parent().parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_person_visited']").parent().parent().hide();&lt;BR /&gt;&lt;BR /&gt;}, 300);&lt;/P&gt;&lt;P&gt;jQuery('select').on('change', function() {&lt;BR /&gt;if(jQuery(this).val() == 'ui_phone_number') {&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_phone_number']").parent().parent().show();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_email_address']").parent().parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_email_address']").val("&lt;A href="mailto:zzzbbbaaa@company.com" target="_blank" rel="noopener"&gt;zzzbbbaaa@company.com&lt;/A&gt;");&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_person_visited']").val("&lt;A href="mailto:zzzbbbaaa@company.com" target="_blank" rel="noopener"&gt;zzzbbbaaa@company.com&lt;/A&gt;");&lt;BR /&gt;}&lt;BR /&gt;else if(jQuery(this).val() == 'ui_person_visited') {&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_phone_number']").parent().parent().hide();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_email_address']").parent().parent().show();&lt;BR /&gt;jQuery("input[name='guestUser.fieldValues.ui_phone_number']").val("33552255");&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$("[name='selfRegForm']").submit(function(){&lt;BR /&gt;$("input[name='guestUser.fieldValues.ui_person_visited']").val($("input[name='guestUser.fieldValues.ui_email_address']").val());&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;select&amp;gt;&lt;BR /&gt;&amp;lt;option value="ui_phone_number"&amp;gt;Register by Phone&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option value="ui_person_visited"&amp;gt;Register through company Email&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;/select&amp;gt;&lt;/P&gt;&lt;P&gt;if you see if guest select register by email. I am adding dummy phone&amp;nbsp;"33552255" and this option works. (I am also using the workaround to replace&amp;nbsp;person_visited with&amp;nbsp;email_address for email to be sent to Employee).&lt;/P&gt;&lt;P&gt;But for register by Phone , I tried to add dummy emails "&amp;nbsp;&lt;A href="mailto:zzzbbbaaa@company.com%22" target="_blank" rel="noopener"&gt;zzzbbbaaa@company.com"&lt;/A&gt;&amp;nbsp;i still get the below&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abrimawi9_9-1668230927343.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/167734iE1C1FCAFFF6F6B17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abrimawi9_9-1668230927343.png" alt="abrimawi9_9-1668230927343.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below both options are selected in registration form setting as guest can select any of them not both:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abrimawi9_10-1668230947573.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/167735iF987F28401ADFEDA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abrimawi9_10-1668230947573.png" alt="abrimawi9_10-1668230947573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am thinking to create 2 self registration portals and based on drop down selection reference the relevant one use&amp;nbsp;&lt;A href="https://community.cisco.com/t5/security-knowledge-base/ise-hotspot-portal-with-links-to-employee-or-vendor-portals/ta-p/3643513" target="_blank" rel="noopener"&gt;https://community.cisco.com/t5/security-knowledge-base/ise-hotspot-portal-with-links-to-employee-or-vendor-portals/ta-p/3643513&lt;/A&gt;&amp;nbsp;. so if Phone is selected , the phone only portal will have email unselected and vice versa&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abrimawi9_11-1668230981565.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/167736i25C99EE7C082EBA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abrimawi9_11-1668230981565.png" alt="abrimawi9_11-1668230981565.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you think this approach will wok? or do you have any other suggestions?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 05:32:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4720064#M578198</guid>
      <dc:creator>abrimawi9</dc:creator>
      <dc:date>2022-11-12T05:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Self registered Guests using Phone or Sponsored employee email</title>
      <link>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4720541#M578209</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/268844"&gt;@abrimawi9&lt;/a&gt;&amp;nbsp; Yes, I agreed with you that 2 portals a better track. If you can't figure it out yourself, see &lt;A href="https://community.cisco.com/t5/network-access-control/linking-one-guest-portal-to-another-guest-portal/m-p/3467555/highlight/true#M531750" target="_blank"&gt;Solved: Re: Linking one guest portal to another guest portal - Cisco Community&lt;/A&gt;&amp;nbsp;but the support is only at best-effort basis.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2022 20:26:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/self-registered-guests-using-phone-or-sponsored-employee-email/m-p/4720541#M578209</guid>
      <dc:creator>hslai</dc:creator>
      <dc:date>2022-11-13T20:26:43Z</dc:date>
    </item>
  </channel>
</rss>

