cancel
Showing results for 
Search instead for 
Did you mean: 

UI5 Vscode: Adaptation project for object page (How to preview/edit?)

Chrisnos
Explorer
0 Kudos
684

Hi Community,

 

- The standard Fiori app  (F2229, Manage Purchase Requisitions ) requires adaptation to our needs

- We want to use the VSCODE adaptation project generator

- Setting up the Adaptation Project works fine so far.

- The preview and adaptation editor works fine for entry search pages ( like F1048), but...

- Preview and adaptation editor work not for the detail/object page (F2229) we need

- Within the adaptation editor we get the following message: 

"App could not be opened because the SAP UI5 component of the application could not be loaded.

Failed to load UI5 component for navigation intent "#app-preview""

Chrisnos_0-1716271239296.png

I assume it is because we need to have an concrete purchase ID to open the corresponding Purchase-Page. 

 

Any Idea how to fix that or to setup vscode to preview/adapt the corresponding object page with a given purchase ID?  Is there some parameter we can add to the URL?

 

Somtehing like: http://localhost:8082/test/adaptation-editor.html?PurchaseRequisition=10000000  ?

 

Thanks, Chris

 

Accepted Solutions (0)

Answers (3)

Answers (3)

ThibaultBalay
Discoverer

Hi,

I have the same issue on BP Master Data tile. When creating an adaptation project, I can't open the editor or preview mode, as I have an issue on intent "app-preview".

Did you get an idea to resolve? Would it be required to declare app-preview as a new intent?

Chrisnos
Explorer

Anyone? 

ThibaultBalay
Discoverer
0 Kudos

On my side, I got the issue. on ui5.yaml, i corrected "ignoreCertErrors" by "IgnoreCertError" (without s). I had another configuration file on another project. Now I can run the preview mode correctly.

ThibaultBalay_0-1719475997150.png