cancel
Showing results for 
Search instead for 
Did you mean: 

Guided Development and Page Map Will Not Load - a.Label.replace is not a function

Silva_Marcos
Explorer
0 Kudos
82

Hello.

I'm facing an issue in a Fiori Elements app that seems to be related with labels assigned through a path.

I defined some sections (UI.ReferenceFacet) in the annotations.xml file and assigned the label from a field that was available, for example:

<Record Type="UI.ReferenceFacet">
    <PropertyValue Property="Label" Path="SubTab01_Name" />
    <PropertyValue Property="Target" AnnotationPath="TabToTable01/@UI.LineItem"/>
    <Annotation Term="UI.Hidden" Path="Hide_SubTab01"/>
</Record>

Some facts:

  1. The assignment does work and I see the correct title for the section. (1)
  2. If the Label property is there, none of those tools will work. I will get a "TypeError: a.Label.replace is not a function" in the output tab. (2)
  3. The moment I remove that Label line, the error is gone and the tools are back on.
  4. The number of sections don't seem to influence anything.

(1)

mosilva_1-1743013339905.png

(2)

mosilva_0-1743013239704.png

What could it be?

Thanks, Marcos.

 

Accepted Solutions (0)

Answers (0)