AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 24.08.2018, 04:01   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
powerobjects: Key Learnings from Building a Password Reset PowerApp
Источник: https://www.powerobjects.com/2018/08...eset-powerapp/
==============


Some of our previous blogs have detailed the basic functionality of PowerApps and Microsoft Flow. In this blog, we will highlight a couple of significant challenges that we experienced with a password reset PowerApp for the PowerObjects workforce.

Our Operations department requested a self-serve app that employees could use to change their Active Directory domain passwords. A micro-app to perform this discrete functionality would provide a high degree of convenience for our mobile workforce.

The basic requirements were: 
  1. Password validation matching current requirements (lower case, upper case, number, special character, at least 15 characters in length, and no consecutive characters of 3 or more).
  2. Commit password and user information to Azure.
  3. Provide onscreen instructions, including a momentary wait for the change to take place.
The first significant challenge was to find a way to validate the input text strings. Note that the PowerApps development environment does not does not offer looping functionality to parse text inputs. Therefore, we had to rely on regular expressions for text searching, like those supported by JavaScript. We formulated a regular expression literal that used a substring to check for the three consecutive repeating characters.

The second significant challenge concerned the end-user experience. We used Microsoft Flow to send the password and user information to an Azure Service Bus message queue. While this worked great for the app owner, it was a poor experience for the end-user. PowerApps requires each user to run embedded Flows using their unique credentials. While the Flow owner has a seamless experience, other users receive system prompts for user credentials and the Service Bus connection string.


This Microsoft Flow limitation required a redesign to improve usability critical to user adoption. We removed the Service Bus Flow, added a connection to an Azure SQL database, and used the Patch() function to save the data directly to the target table.

Here is the finished PowerApp:



Congratulations! You can now tackle two significant challenges with designing and building a Password PowerApp!


Other micro apps that we created for our mobile workforce include:

  • A BitLocker recovery key app to allow our users to quickly get back into their computers after a BitLocker lockout.
  • A vacation request and approval app for quickly requesting and getting approvals for days off.
  • A soon to be released, fully functional time entry system interfacing with our Dynamics CRM and SAP environments.
Want to learn more about the Dynamics 365 Spring 2018 Update for PowerApp? Check it out!


Happy Dynamics 365’ing!



Источник: https://www.powerobjects.com/2018/08...eset-powerapp/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
powerobjects: 3 Key Takeaways from Field Service USA 2018 Blog bot Dynamics CRM: Blogs 0 26.04.2018 03:31
emeadaxsupport: Calling AX 2012 Business Logic from SSIS Using a Script Task and Custom Web Service Blog bot DAX Blogs 0 12.11.2015 03:48
ax-erp: Choosing a Primary Key: Natural or Surrogate? Blog bot DAX Blogs 0 18.12.2012 02:11
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23
при построении перекрёстных ссылок выдаётся сообщение об ошибках mmmax DAX: Программирование 10 21.01.2005 12:42
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 08:33.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.