cancel
Showing results for 
Search instead for 
Did you mean: 

Interface method and node is not working in specific custom component

Former Member
0 Kudos

We have a component called ZPOS_SALES and its copy of standard component LORD_MAINTAIN_COMP. If we create any interface node or method in other component and try to access those from ZPOS_SALES component syntax error is appearing like method is not defined. Specifically for this component only interface is not working. I tried with other Z components its working fine. Any idea how to solve this?.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Singaravel

After adding the interface component to you WDC ,

And Before you make a call to the interface method, you will have to declare  it in view controller .

Go to create controller in you View->Properties

    Select/ add methods which you want to use from that interface to your component .

And also do not forget to add/copy your interface nodes to context - binding for custom view , you can do this using wizard - Read context

Hope this is understandable and helpful to you..

Regards,

Bharathi

Former Member
0 Kudos

Have you created application for this component?

While creating the application you need to give the name of main component as the interface view in the application of copy component and plug name as default.

try this.

Regards,

Puneet


Szczerbowski
Active Participant
0 Kudos

I think you need to be a bit more specific, and provide some examples.