on 2023 Aug 16 2:58 AM
Hi,
I am developing a custom app in Fiori.
There will be a table or a popover that show certain number of purchase requisition.
I have a requirement to have a hyperlink of Purchase Requisition Number and when click, it will open a new tab to view the details of the PR (something like ME53N).
Looking the solution in the internet and there is no any similar requirement. Maybe someone out there has ever done this before in Fiori ?
Thanks
Request clarification before answering.
Hello Jacky,
You can use an attribute target="_blank" in XML view to open any link in a new tab
Example :
XML View : <Link text="OPEN LINK" href="<URL>" target="_blank" />
Controller :
sap.m.URLHelper.redirect("<URL>", true)
second attribute in above snippet 'true' will open the provided link in new tab.
FYR :
Link: https://sapui5.hana.ondemand.com/#/api/sap.m.Link%23controlProperties
URLHelper: https://sapui5.hana.ondemand.com/#/api/sap.m.URLHelper%23methods/Summary
Hope this helps
Regards,
Farooq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.