cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements List Report: openDialog and DataFieldWithIntentBasedNavigation Issues

Kishore
Participant
0 Kudos

Hello All,

I have created a Fiori Elements List Report application and added custom column in the List Report. I am having a couple of issues.

1. While opening the settings/personalization button, I am getting the openDialog error. Its working. This is the custom column. The same was working till today morning. (The issue started appearing after clearing the browser cache)

<core:FragmentDefinition id="FragDef1" xmlns:core="sap.ui.core" xmlns="sap.m">
    <Column id="ExtensionWizardA">
        <Text id="textA" text="Custom Column A"/>
        <customData>
         <core:CustomData key="p13nData" id="customA" value='\{"columnKey":"CRisk","columnIndex":"8"}'/>
        </customData>
    </Column>
</core:FragmentDefinition>

2. Table Column with "DataFieldWithIntentBasedNavigation" at Object Page isn't rendering the data. The columns data is appearing once we step into the detail screen and come back. Its working fine with "DataField" annotation.

3. If I mention only the Semantic Object, the system is throwing an error "Cannot read property String of undefined". Further debugging the system is trying to determine the column key by concatenating the SemanticObject and Action in AnnotationHelper.

UI5 Version: 1.71

Sometimes re-creating the application will fix the custom column issue. But I really don't want to do that. Any pointers will be of much helpful.

Thanks,

Kishore.

Kishore
Participant
0 Kudos

Hello,

I figured out the first issue(openDialog error). Issue occurs if one of my columns in the table is having "DataFieldWithIntentBasedNavigation" with only semantic object (without "Action") property.

Works in the below case:

<Record Type="UI.DataFieldWithIntentBasedNavigation">
     <PropertyValue Property="SemanticObject" String="SalesOrder" />
     <PropertyValue Property="Value" Path="SalesOrder" />
     <PropertyValue Property="Action" String="displayFactsheet"/>
</Record>

Fails in the below case:

<Record Type="UI.DataFieldWithIntentBasedNavigation">
     <PropertyValue Property="SemanticObject" String="SalesOrder" />
     <PropertyValue Property="Value" Path="SalesOrder" />
 </Record>

Thanks,

Kishore

Accepted Solutions (0)

Answers (0)