Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8635

How to read Entity Set value of ODATA Service, in the "onInit()" method of an XML View Controller

$
0
0

Hello Friends,

 

I am developing a SAPUI5 App for Creating prospect and opportunity in a single go.

 

Kindly refer the below problems that we are facing while developing our App.

 

(1). Initially loading the country on “EditProspect View” in order to fetch the respective Region

  • In this problem, we want to read the Prospect Set from Backend in order to get the “Country Code” and based on this “Country Code” we want to populate the Region Drop down box on Edit Screen
  • I want to do it in  “onInit()” method of “EditProspect” view

 

(2). Username is required on “Create Prospect View”

  • In this problem, we want to read “Username” from backend through ODATA Service and display it on the Create Prospect View in td he “Input” control of XML view
  • I want to do it in“onInit()” method of “CreateProspect” view

 

(3).Log out Facility required for the user

  • We want a “Logout” button on our “Master View”, whenever User presses a “Logout” button , the cookies of a respective browser should get cleared so that every time while accessing the App user have to give “Userid” and “Password” for Login

 

Thanks in advance


Viewing all articles
Browse latest Browse all 8635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>