Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
isabelleica
Contributor
Contributor

Change user name display in Access Point

We currently have our Access Point configured to accept user authentications from Windows (DSC Local Directory). But, unfortunately, the display name on the main page of the Access Point is being shown as:

"Welcome MACHINENAME\username"


Is there a way for us to display only the user name on the welcome message of the main page? I know that with LDAP Connector I can change this setting, but how can I do it with Local Directory.


Qlikview Configuration:

  • QlikView Enterprise Edition Enterprise Server + Qlikview Development & Test Server
  • Build Number 11.20.12904.0
  • DSC: Local Directory
  • Authentication: Allow anonymous
  • Authorization: DMS

Any help would be appreciated. Thanks for your time.

4 Replies
miguelbraga
Partner - Specialist III
Partner - Specialist III

Hi Isabelle,

You cand do that by using this expression:

='Welcome ' & Subfield(OSUser(), '\', 2)

Regards,

MB

isabelleica
Contributor
Contributor
Author

Sorry, but change where exactly?

The Access Point main page code is mainly a bunch of HTML file and JS scripts. The only file that seems to refers the welcomeName is the accessPoint.js.

Bill_Britt
Former Employee
Former Employee

Hi,

In the Accesspoint.JS look for the line

 

$("#nav_utility").append('Welcome <span class="welcomeName">' + ap.encodeHTML($(d).find("value[name='User']").attr("value")) + "</span> ");

Change the attr 

You have two options value and text. Change whatever the current value to the other and see what is displayed.

Bill

 

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
Not applicable

Bill,

I made the change above and nothing happened. Should I restart the QV webserver for this to take effect?

I'm trying to change the use name from machine name\user name to just user name in access point.

Thanks!