Hi,
We are currently using CRM Fiori My Opportunities.
We want to enhance the application using the Fiori extension toolkit to default values in the create screen.
In the SAP project, I see that the route is defined as:
"create" : {
"pattern" : "create/{contextPath}/{processType}",
"view" : "S5"
},
This route is defined in the Component.js file, and currently it is not possible to redefine with the toolkit. So I'm stuck with the route as it is.
Given this route, I expect that when the URL contains create/abc/cde then it should indeed load S5 view and S5 controller.
So I tried redefined the S5 controller onInit to retrieve the URL parameters.
Questions:
1) Where should I put the URL parameter? Before the intent or after?
2) How do i retreive this from the onInit method?
Cheers
Michael.