Displaying the user name in geocortex after the user sign in
Hello All,
Iam trying to display the user name in the interface of geocortex , after the user sign in !
here is a screen shot that illustrates the issue .
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000Ckkc&feoid=Body&refid=0EM600000001TgY" _/_img_
I appreciate if anyone can help me .
Best,
Arwa
0
-
Hi Arwa,
I do not think this is possible using Out of the Box functionality. Using a start-up workflow you can obtain the current users name but then I'm not sure what you would do with it, you cannot simply display it in the banner area as per your diagram. I would recommend posting this request in the Ideas section of this Support Center so it can be considered for addition to a future release, as a standard feature.
Thanks,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Hi Wayne ,
thanks for your reply .0 -
Hi Wayne ,
I found a solution for displaying user name in geocortex after user sign in by editting User.js file in "C:\inetpub\wwwroot\Html5Viewer\Resources\Compiled\User.js "
Replace the 1st occurance of :
<div class="sign-out">\r\n <button type="button"\r\n data-binding="{@text: @language-user-sign-out}\r\n {title: @language-user-sign-out-desc}\r\n {@visible: signOutVisible}\r\n {@event-onclick: handleSignOutClick}\r\n {@style-color: linkColor}">\r\n </button>\r\n </div>\r\n </div>\r\n
By
<p class="user-name" data-binding="{@text: userName}"></p>\r\n
Best,
Arwa0 -
Hi Arwa,
That's great and thanks for sharing the solution!
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Thanks Arwa. I’m happy that this is doable is Geocortex
I hope that this gets manageable from the manager without the need to touch the user.js file
Best
Jamal0 -
Looks like the structure of the user.js file has changed at HTML5 Viewer 2.1 - I'm not exactly sure what to change in the user.js file now - I've tried a few things to no avail. Has anybody been able to update this?
Thanks,
James0 -
Hi James,
What version did you upgrade from? I see no changes from 2.10 to 2.11.
In your post you mention 2.1, I assume this is meant to be 2.11?
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
7 Kommentare