You are viewing limited content. For full access, please sign in.

Question

Question

LFDSSTS-Login Page Modification

asked on February 7, 2024

Hello,

We have a customer who would like to modify the LFDSSTS login page their users are redirected to when logging into the Web Client, to make the page look more like their standard municipality webpage.

Can the LFDSSTS login page be modified similarly like a customer's Weblink Page or Form(s)?

Appreciate the feedback,

Jeff Curtis

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on February 7, 2024 Show version history

The LFDSSTS Login page is modifiable in that you have access to the web file and can modify the HTML sections, which are not particularly complicated. There is currently no GUI designer as for WebLink and Forms.

That file's default location is: C:\Program Files\Laserfiche\Directory Server\Web\WebSTS\Views\Home\Login.cshtml

You may also want to modify the similar "Embedded.cshtml" file in the same directory. This is the version of the LFDSSTS login page loaded in embedded windows with the Laserfiche Windows Client, Office Integration, etc.

Make sure to make a backup copy of the original Login.cshtml/Embedded.cshtml file before making any modifications. Note that installing LFDS(STS) updates will usually replace this file with a clean updated one, so you'll need to re-implement any modifications after LFDS upgrades.

Do not just add the whole modified file from the prior version back, as other parts of the file may have had important code changes with the update. 

Don't modify any of the C# function bits in the <script> section unless implementing the simple SAML IDP auto-selection customization described in this post: LFDSSTS auto login with AD FS

From a support perspective, we generally don't care if you modify the "look and feel" of the LFDSSTS login page and do it fairly often during implementations.

2 0
replied on February 8, 2024

Thanks for the information Sam!

Jeff

0 0
replied on February 4

Hi,

I am looking to edit the login page, to make the organizational field locked/non-editable. Any suggestion on what is safe to edit to make this possible?

0 0
replied on February 4

I found the section waaaaaayyyyy down in the mentioned .cshtml file. A screen shot is attached, in case it can help anyone looking to do the same.

ReadOnlyForField.jpg
0 0
replied on February 10

Hi @████████, if you're going to lock the Organization field, why not pre-select the default organization and then hide it in LFDSSTS configuration? Reference the "Sign-in Page Customizations" section of Configuring Laserfiche Directory Server When Enabling Single Sign-on for Laserfiche 10 and Laserfiche 11 Web Products.

  • Select the Show organization drop-down list option to display a drop-down list of available organizations on the sign-in page. The drop-down list will contain organizations only if the Directory Server site is configured to display the available organizations.
    • If you don't select Show organization drop-down list, or if the Directory Server licensing site is not configured to display the available organizations, the user will have to enter the name of their organization on the sign-in page.

....

  • Select the organization that you want pre-selected (if you enable the organization drop-down list) or pre-entered (if you disable the drop-down list) on the sign-in page.
    • Users will be able to select or enter an alternative organization if they don't want to use the default selection.
0 0
replied on February 10 Show version history

Hi @Samuel Carson this change was done on a STS page on a server different than the LFDS server (in this case, a DMZ server), but the settings/configuration page looks the same. Checking/unchecking the dropdown field only changes it to show as a dropdown menu or text field, it does not hide it.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.