Posts

Showing posts from September, 2017

Dynamics Portals : Add a local login control on the home page

Image
Dynamics portals are a great solution to create portals and expose Dynamics 365 data to people not using our beloved XRM application.   One of our customers asked us to have a login control directly on the home page instead of having to click on “Sign In” link, then show the login page, then log… I think you got it.   The problem is the login page is a hidden page that cannot be customized. So, I found a (dirty) way to handle this request.   First, create your own login control In my home page template, I added two input controls and two buttons (Sign In and Lost password), like below, nothing fancy. The code is the following   < h3 > Identifiez vous </ h3 > < div style = " display : none ; " id = "loginMessage" class = "alert alert-danger" > </ div > < div > < div class = "form-group" > < label for = "txtLogin" > Nom d'utilisateur </ label > &l