Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Creating Context Node for Binding from Used Component

$
0
0

Hi Experts,

 

I am trying to be as clear as I can in this question. So, please excuse the length of the question, and request patient perusal.

 

   I am creating a custom UI Component which displays list of jobs running in the system. To do this, I have defined usage for component : :GS_JOBMONITOR, and successfully embedded the MainView from GS_JOBMONITOR component into the custom component window, and I was able to display the assignment block.

 

The list of jobs running in the system is stored in JOBS Context node in GS_JOBMONITOR component, as shown in the following screen shot:

JOBS_Context Node.jpg

My goal is to create a Model Context Node in my custom component, and in the component controller method : WD_USAGE_INITIALIZE, perform context node binding between GS_JOBMONITOR.JOBS context node, and my custom controller context node.  When reviewing the BASE_ENTITY_NAME of JOBS context node, we see that the underlying BOL Entity name is : "JMJob", as seen in following screen shot:

base_entity.jpg

 

To perform context node binding, we will need the source and target context nodes to be of similar nature. Hence, I tried to create a context node in my custom component controller with the same underlying BOL Entity type, "JMJob". This promptly gives me the following error:

 

error.jpg

 

So, the question is, how do I identity the right BOL Entity to use for creating Model Context node in my custom component, so that I can perform context node binding from a used component?

 

Best Regards,

Gopal Nair.


Viewing all articles
Browse latest Browse all 4552

Trending Articles



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