• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Logging into different Secure Zones according to ID number

Mentor ,
Mar 26, 2012 Mar 26, 2012

Copy link to clipboard

Copied

This document will show you how you can create a dropdown menu on sites with multiple secure zone which will allow visitors to choose the secure zone they wish to log into, y manipulating the form's action URL acording to their selection.

You can add a menu with options that enable you to select the corresponding ID number, using some basic HTML code:

<select id="selectZone">

     <option value="154">Customer</option>

     <option value="150">Staff Intranet</option>

     <option value="152">Kanfa Aragon</option>

     <option value="168">Technip</option>

     <option value="347">Heron</option>

</select>

The IDs for the above dropdown will need to be obtained from the admin. To do this you hover the mouse over the list of secure zones in Admin and look at the status bar in your browser:

secure-zone-id-admin.jpg

You then need to alter the validation JavaScript within the form tags and add the code that will grab the selection from the dropdown and alter the form action:

<script language="javascript">

function checkWholeForm43650(theForm){

    var why = "";

    if (theForm.Username) why += isEmpty(theForm.Username.value, "Username");

    if (theForm.Password) why += isEmpty(theForm.Password.value, "Password");

    if (why != ""){

               alert(why);

               return false;

    }

    var sel = document.getElementById("selectZone");

    theForm.action = '/ZoneProcess.aspx?ZoneID='+sel.options[sel.selectedIndex].value+'&OID={module_oid}&OTYPE={module_otype}';

    theForm.submit();

    return false;

}

</script>

TOPICS
Documentation

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 03, 2012 Sep 03, 2012

Copy link to clipboard

Copied

Mario,

I have a question regarding secure zone,

"When user upgrades his account from free secure zone to paid one then he should be able to login & access the paid secure zone only, and his trial ID should be deleted automatically."

Can we achieve this?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Sep 03, 2012 Sep 03, 2012

Copy link to clipboard

Copied

This can not be automated. You will need to manipulate the subscriptions manually as the site admin.

-m

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 11, 2013 Mar 11, 2013

Copy link to clipboard

Copied

Is there a way to set up a secure zone in with the Adobe Cloud / Business Catalyst set up? I need a secure page and secure download option.

Thank you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 21, 2013 Nov 21, 2013

Copy link to clipboard

Copied

Does anyone have a workaround for having to use a dropdown of the names of each secure zone?


We use multiple secure zones, one for each specific customer, and use one page for them to login to from the site.

We have now run into an issue with competitors using this drop down list as a way to try and go after these customers / business. Is it possible to set this up differently so that the Customers' names are not listed?

Could they enter a department code instead of selecting it, and their user name and password?

Any thoughts on creating a work around for a master login page would be great.  Unfortunately, I think I'm going to have to create a login page for each customer that they will have to use to login which isn't the best option.

Thanks in advance!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 24, 2013 Nov 24, 2013

Copy link to clipboard

Copied

Hi carmedia_design,

I need the exact same solution your after... did you figure anything out?

I'm at desperation stage now!!

Surely there must be a way of redirecting users to their own personal secure zone without the need for them to choose the secure zone... how do all the other websites out there do it?? (ie - give users their own personal portal area)

It's very limiting to only be able to tag in CRM stuff dynamically for specific user.

It would be really easy if there was another tag to use on a customer to simply display a custom HTML page of content after they sign in via a generic secure login form.

As far as I can see the only way to get them to their personal secure zone is to make them choose it from a drop down menu which shows ALL the secure zones (in our case a personal customer list could be 100's or even 1,000's of options)

what about a search field for their name instead of the dropdown menu.. would that be possible? would it select their ID??

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 14, 2015 Apr 14, 2015

Copy link to clipboard

Copied

LATEST

We are looking for the exact same solution. We do not want our reps to have access to other reps or distributors.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines