snc_external user logging into CSM Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2019 07:58 AM
Hi
Trying to configure.setup the login rules and criteria for our new Customer Service Portal (csm).
Internal users with roles log on fine and are directed to the UI but when a customer with snc_external logs on the first land on the welcome.do page and only when this is cleared from the URL do they end up at the /csm page
SPEntry has the portal set to /CSM/ but no other changes have been made.
Any ideas, I have read a mountain of info on logins but all point to SPEntry and that looks fine.
Thanks in advance.
Richard
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2019 02:27 PM
Curious what your modification was to SPEntry.
Have you revised the getFirstPageURL function to redirect the 'snc_external' Customer Contact to first land on /csm?
getFirstPageURL: function() {
var session = gs.getSession();
this.logProperties('before', session);
// has roles and is not a Service Portal page - go to UI16
var nt = session.getProperty("nav_to");
var isServicePortalURL = new GlideSPScriptable().isServicePortalURL(nt);
var redirectURL = session.getProperty("login_redirect");
if (user.hasRoles() && !redirectURL && !isServicePortalURL)
return;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2019 01:37 AM
Hi
The only changes here were to amend "this.portal="/csm/".
I did try using snc_external but that made no difference and SericeNow Hi told me this was because snc_external and snc_internal were considered defaults and not roles.
Hi suggested using the following:
var isinternal = user.hasRole("snc_internal");
if (isinternal && !redirectURL && !isServicePortalURL)
return;
I put this in and commented out the original code but it made no difference, the external users all end up at the Welcome.do page whilst inernal users go to the UI.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2021 06:35 AM
Hi,
Have you managed to resolve this?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-06-2021 07:45 AM
Hi, yes all sorted now.