Forget Password Issue
Hello,
I am trying to call an activity from web-Login HTML. I did what Pega natively already does for generatingCaptcha but I think I missed a step so:
1. I created a new activity on Code-Security: "ForgetPassword" and on the security tab I checked the "Allow direct invocation from the client or a service". (Like pyGenerateCaptcha).
2. On the web-login HTML: I added at the begining the String of the URL:
String captchaURL = baseURL + "?pyActivity=Code-Security.pyGenerateCaptcha";
String ForgetPasswordURL= baseURL + "?pyActivity=Code-Security.ForgetPassword";
3. I created a new button "ForgetPassword":
<button id='sub' class="ForgetButton" name="pyActivity=Code-Security.ForgetPassword" type="submit" onClick="removeErrorMessage();">
<span class="forgetButtonText" ><pega:lookup property="pxRequestor.pyButtonLabel" value="Forget Password" /></span>
</button>
I need upon clicking on "ForgetPassword" button to be guided to "Code-Security.ForgetPassword".
Many Thanks,
Regards;
***Updated by moderator: Lochan to add Categories; edit title***