Reusing new person and roles dialog's


You can reuse create new user and roles dialog's in your applications. 

To integrate system-user-roles into your article insert into your HTML code:

@Render("ArticleBody", ID: "system-user-roles")

 Don't have same data source names, otherwise application will not work as expected: dsUsers, dsRoles, dsLkpRoles.

 To integrate new user form:

@Render("ArticleBody", ID: "system-user-newuser")

To use dialog, in Javascript you will be able to access afNewUserDlg object:


    //Show dialog
    afNewUserDlg.show(pCallback)
    //pCallback - function(pError, pData)

    //Hide dilaog
    afNewUserDlg.hide()
    

    

Placeholder "LocalizeWeb2016" failed