Skip to Content

Design Studio - Navigation Link That Opens in the Same Window

I am looking for a way to create a navigation link in Design Studio that opens a BOBJ reporting element (e.g. Web Intelligence report, another DS application, Xcelsius/SAP-Dashboard) in the same windows as the source, Design Studio application.

There are two out-of-the-box methods for navigation, both of whom open the destination web-page/reporting-element in a new window:
  1. Using a 'Link' component and specifying the 'Url' property.
  2. Specifying the APPLICATION.openNewWindow() function inside of an 'onClick' event of a link, button, icon, etc.

The SDK offers a 'Fiori Link 2.0' component, which allows the user to specify the 'target' attribute to '_self' so that the destination page/element can load in the same window; however, this component does not behave well with OpenDocument syntax. As an example, when specifying a simple URL, e.g. "/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ATW1_JXnUuZEipZvOsfVJIE", the application throws a warning message that the '?' symbol is invalid:

"ADV0HZVPB45OGCQS7VYMU.S/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=ATW1_JXnUuZEipZvOsfVJIE" contains the invalid character string "?" in the path


Any assistance or guidance would be greatly appreciated.

Regards,

- Knoa Support

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 30, 2016 at 08:03 PM

    I found that I can open a link in the same window using the OpenUrlInplace.

    I found that, first the component must be initialized using the setUrl() method, and then, inside of the onClick() method of a link, icon, etc. the triggerExecution() method can be called to execute the navigation.

    Add comment
    10|10000 characters needed characters exceeded