cancel
Showing results for 
Search instead for 
Did you mean: 

object page as first page in fiori elements

GowthamRaja
Active Participant
0 Kudos
1,849

Hi Experts,

I need to display an object page as first screen. I am using fiori elements list report template. Here by default list report page loads and then object page. Is it possible to display the object page initially instead of list report page.

Thanks,

Gowtham

View Entire Topic
arunbharathi
Product and Topic Expert
Product and Topic Expert

Hello,

Yes, it is possible to navigate to the Object Page directly. The question is what exactly do you want to see in Object Page ? .

If the technical keys are already known then it can be passed as a URL parameter when the source application triggers navigation.

https://ui5.sap.com/#/topic/c337d8bde8c544598969c8e4edaab262

Or the other flexible option is to use the preferredMode to launch OP in the required mode.

https://ui5.sap.com/#/topic/bfaf3ccf3d6d4735990cc793b21f5529

Thanks,

Arun

GowthamRaja
Active Participant
0 Kudos

Hi Arun,
Followed the link https://ui5.sap.com/#/topic/c337d8bde8c544598969c8e4edaab262

Default code:

the output of the object page displays as second page in below url:

https://-----/webapp/index.html#/IntroSet(empName='Gowtham%2520Raja%2520M',IsActiveEntity=true)

Code after change:

Now we have altered the code to display the object page as first page as above

but i am it does not displays.

Do i need do any modification in url pattern. How this can be achieved. Please help

GowthamRaja
Active Participant
0 Kudos

Hi Arun,

I was playing around by changing routes and targets but its working. I am trying via an alternate approach by creating an adaptation project. While creating i am facing the below issue

Do i need to deploy my app in CF before creating an adaption project?

GowthamRaja
Active Participant
0 Kudos

arunbharathi From the above comment, i came to know that adaptation project was used to extend only SAP/Partner delivered apps.

So i am working on the link provided by you

harianantha
Participant
0 Kudos

Hi @GowthamRaja 
I have a same requirement to navigate to OP first. I've tried a lot using inbound navigation but no luck.
Could you please help with how you've changed routes accordingly to navigate to object page of a specific record first bypassing list report?

Thank you in advance.!!