Skip to content

Dynamic Dependencies

If your element is based on a dynamic component, you should always mark it as a dependent element on a dynamic component. What are the dynamic elements?

Dynamic Elements in Client

  • Navigator entries

  • Sub-Menus

  • Pages

  • Groups

  • Lists

  • Tabs

  • Pages

  • Commands

  • Fields

  • Lovs

  • Selectors

  • Lov lists

Dynamic Elements in Projection

  • Entity Sets
  • Entities
  • Queries
  • Summaries
  • References
  • Functions
  • Actions

Fragments

Dynamic dependencies should be specified with,

@DynamicComponentDependency <COMPONENT_NAME>

Dynamic component dependency should be specified in 2 places.

\1. Point of Reference

\2. Point of Definition

Defining Dynamic component Dependency in Client

At the point of Definition:

img

At the point of Reference:

img

Defining Dynamic component Dependency in Projection

Here also the same rules apply.

At the point of definition:

img*

At the point of Reference:

img

Using a Dynamic Fragment

If you are using a dynamic fragment, annotate it with @DynamicComponentDependency when you include it in your Projection or Client.

img

When you are referring to items in the dynamic fragment always remember to annotate them as well.