cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Elements List Report: Easy way to change the entityset?

former_member306541
Participant
0 Kudos

I wonder, if there is an easy way to change the entityset of the ListReport and ObjectPage or if I always have to create a new project from ListReport template in such a case. I tried to change the entityset from OldSampleSet to NewSampleSet in manifest.json:

...
"sap.ui.generic.app": {
		"_version": "1.3.0",
		"pages": {
			"ListReport|OldSampleSet": {
				"entitySet": "NewSampleSet",
				"component": {
					"name": "sap.suite.ui.generic.template.ListReport",
					"list": true,
					"settings": {
						"multiSelect": true
					}
				},
				"pages": {
					"ObjectPage|OldSampleSet": {
						"entitySet": "NewSamplSet",
						"component": {
							"name": "sap.suite.ui.generic.template.ObjectPage"
						}
					}
				}
			}
		}
	}
...

Sadly, it does not work.

Does anybody know how to achieve this?

Accepted Solutions (1)

Accepted Solutions (1)

pratheek_kv2
Explorer

Hi Christian,

This is the recommended way in Fiori Elements.

The Information you provide here are used by Fiori Elements to create Routes and Targets.

Regards,

Pratheek

Answers (1)

Answers (1)

former_member306541
Participant
0 Kudos

After writing this post, I found a typo and suddenly my ListReport App is running again.

Nevertheless I am still interested in the question, if this is the prefered way to handle this?

Thanks in advance and best regards,

Christian.