Pega4you
1. In Developer Studio , Create a Ruleset named "Unauthenticated:01-01-01"(click on Records -> Sysadmin -> Ruleset).
2. Click Create and open.
3. Check if the Unauthenticated Ruleset is added to the Application Rulesets, if not click on add ruleset and add it.
4. Create an Access group named Unauthenticated ( Records -> Security -> Access Group )
5. Enter the Application name, Version, Available portals and Available role and the following as shown.
6. Save the Access group.
7.
Search Web-Login in search bar and save into
Unauthenticated ruleset and click on Create and Open.
8. After line 257 in web-login, add the code:
<button
style="width:237.5px;background:#5D617E"><a href="http://localhost:9080/prweb?UserIdentifier=developer@p4u&Password=cnVsZXM=&Action=&pyActivity=Data-Admin-Operator-ID.RegistrationForm"
style="color:white;">Registration</a>
9. Change operator(which is highlighted) according to the
requirement.
( Note: Check whether the operator is using same
application Access Group)
10. Create an activity named RegistrationForm by clicking on Records -> Technical -> Activity.
Name : RegistrationForm
Apply To: Data-Admin-Operator-ID
11. In steps tab , add the following:
12.
Go to Steps tab again , Next
to NewOperatorForm click on the Cross Hair Icon and click on Create and Open.
(Note: Apply To : Data-Admin-Operator-ID)
13. In the opening window ,select generate for as HTML.
14. Copy and paste the HTML code from the downloaded file.
15. In pages and classes tab, add the following:
pxRequestor(pagename) : Code-Pega-Requestor(classname)
OperatorID (pagename): Data-Admin-Operator-ID(classname)
16. Search for CreateOperator activity in the serach box.
17. Open the activity, Click on Save As and name it as CreateNewOperator.
18. Click Create and Open.
19. Expand the second step and change the following
20. Delete step 8 and add a new step with method Call to call an activity named SuccessRegistration.
21. To create the activity SuccessRegistration, click on the crosshair next to step.
22. In SuccessRegistration activity, add the following.
23. Go to steps tab and click on the crosshair next to SuccessRegistration , and add the dowloaded code.
Download here24. Add the following in security and pages and classes tab
25. Finally: Go to Records -> SysAdmin->Requestor Type.
26. Click pega BROWSER Add:
Access Group Name: Unauthenticated