Symptom
You are trying to click on Preview button which you have configured for a custom form in a custom screen created via SDK.
Environment
SAP Cloud Application Studio
SAP Business ByDesign
SAP Hybris Cloud for Customer
Reproducing the Issue
-
Navigate to the custom work center created.
- Open a record.
- Click on the Preview button in the Thing Inspector screen.
- Form is not appeared.
Cause
This issues occurs in HTML5 and RUI, if you check in Silverlight the preview will be working.
This case occurs if the Lazy Load property is set as true in the TI screen.
Resolution
You need to set the Lazy Load property to false to get the Preview button work. You can follow the below mentioned steps:
-
Login to SDK and open the respective solution.
-
Navigate and open the TI.uicomponent where you have configured the Preview button.
-
Go to Controller tab.
-
Expand Model Dialogs and double click on the Preview button you have configured for the Preview.
-
Go to Properties tab.
-
Under Behavior section you can see the property Lazy Load which is set as true.
-
Change it to False.
- Save and Activate.
If this does not work in first attempt. Please try to activate metadata from UI designer then activate and Deploy Business Configuration of BAC.
Keywords
Preview not Working Preview button in HTML5 Preview in Custom Screen SDK, PDI, UI Designer , KBA , custom form not working , preview but not working in custom screen , AP-RC-BDS-OM , ByDesign Studio Output Management(Forms) , Problem