Skip to content

Fiori Element - Intent-Based Navigation adds unwanted query parameters and navigates to input screen instead of target display screen #48

Description

@pallavjadav

Intent-Based Navigation appends unwanted parameters and navigates to input screen instead of target display screen

Description

Hello Team,

We are facing an issue with Intent-Based Navigation (IBN) for a custom semantic object/action used to open a standard display screen.

We are using an annotation structured as follows (generic form):

{
  "$Type": "UI.DataFieldWithIntentBasedNavigation",
  "SemanticObject": "SomeSemanticObject",
  "Action": "displayDocuments",
  "Value": "SomePrimaryProperty",
  "RequiresContext": true,
  "Inline": true,
  "Label": "{i18n>SomeLabel}",
  "Mapping": [
    { "LocalProperty": "PropertyA", "SemanticObjectProperty": "FieldA" },
    { "LocalProperty": "PropertyB", "SemanticObjectProperty": "FieldB" },
    { "LocalProperty": "PropertyC", "SemanticObjectProperty": "FieldC" },
    { "LocalProperty": "PropertyD", "SemanticObjectProperty": "FieldD" }
  ]
}

This configuration works correctly when only one mapping is provided. However, when multiple mappings are used, the IBN behavior changes unexpectedly.


Issue Observed

  1. When the IBN link is triggered, the navigation does not directly open the target display screen. Instead, it opens the initial input screen, requiring manual entry.
  2. The generated URL becomes excessively long because it includes many unrelated Object Page fields, not just the mapped ones.
  3. This issue occurs only when multiple entries exist in the Mapping array.

Example of the actual URL generated (redacted and simplified):

https://<launchpad-url>#SomeSemanticObject-displayDocuments?FieldA=...&FieldB=...&FieldC=...&FieldD=...&[hundreds of automatically-added parameters]

Expected Behavior

The URL should include only the explicitly mapped properties, such as:

https://<launchpad-url>#SomeSemanticObject-displayDocuments?FieldA=...&FieldB=...&FieldC=...&FieldD=...

No additional Object Page fields should be appended.


Impact

  • Navigation lands on the wrong screen (input instead of display).
  • Extremely long URLs due to appended parameters.
  • Behavior suggests a framework-level issue, not annotation misuse.

Request for Support

We kindly request confirmation on the following:

  • Is this a known issue or limitation in the Fiori IBN framework when multiple mappings are used?
  • Is there a workaround to ensure only mapped parameters are included in the URL?
  • Can the framework behavior be corrected so that navigation proceeds directly to the target display screen?

Any guidance or assistance in resolving this issue would be greatly appreciated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions