on 2019 Feb 18 8:11 PM
Hi Community,
there is question I have related to cross app navigation.
Is it possible to navigate to another fiori app and the user is automatically in the edit mode ?
Context: The app we navigate to is a generated app via ABAP CDS with metadata annotations.
In the App via coming from, we are using sapui5 to navigate to the app, where we want to be in the EDIT mode, like this:
var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
var empHash = (oCrossAppNavigator && oCrossAppNavigator.hrefForExternal({
target: {
semanticObject: "%semanticObject%",
action: "%fioriAppAction%"
},
params: {
"%additionalParameter%": %contextParameter%
}
})) || "";
oCrossAppNavigator.toExternal({
target: {
shellHash: empHash
}
});
As per definition the actual navigation takes place via the %semanticObject% and the %fioriAppAction%
We can change the app actions, but this will not automatically trigger the edit mode, when we use the action change.
The app we are navigating to is a generated Fiori List Report app controlled via CDS Metadata.
Are there options to control the app mode ?
Or can we always turn the edit mode on ?
Thanks a lot for any help or hint 🙂
P.s.:
In addition:
All the Best,
Thomas
Request clarification before answering.
Hi Thomas
Up to now it has not been possible - object pages open in edit mode when you are editing an entry that is locked against your user id in draft mode.
With the introduction of SAPUI5 1.60 there may be a way around it if you are using the Web IDE Adaptation project.
I'd suggest raising an incident to component CA-UI5-ST to confirm if this is still a restriction of List Report
rgds
Jocelyn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
9 | |
9 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.