You will receive the warning message Retrieving Print Forms Failed, An Exception Was Raised or the forms that you have created are missing in the further usage screen while trying to Enhance Form from SDK.
Reproducing the Issue
- Open the solution in SDK.
- Select the form you want to enhance.
- Right click and select the option Enhance Form.
- The system will ask you to select the extension field that you want to add.
- Select and click on OK.
- System will take you to the further usage screen of the UI.
You will receive the warning message or you will not be able to find the forms that you want to enhance.
The reason of this issue is that you have already logged in to the frontend using a different user.
Use Case: When you log into SDK with the PDI development user e.g. PDI_DEV. In parallel you had opened already a browser session where you have logged in with another user e.g. KEY_USER in the same system/client that you have logged to SDK.
And now you try to open the Enhance Form screen from the SDK the browser opens but the cookie used is the cookie from the KEY_USER login and not from the SDK Login (PDI_DEV) user. And the KEY_USER login does not have the authorization to maintain PDI extensions.
You should ensure that you log-in to SDK and UI with same credentials when you try to enhance form from SDK to the frontend.
Note: This is the same procedure with the other Enhance scenarios for eg. Enhance Report.
KBA , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , Product Enhancement