cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Component Api Method

Former Member
0 Kudos

Hi ,

I getting a error in component Api method.

Error : The method WDGetContext() is undefined for the type IPrivateDCFAppView

SO, any body help me out in this regard why this one is happening.

Thanks,

William

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

You will not get the refrecen to wdContext throug IPrivateView. You need to use -

IPrivateView.IContextNode.

Regards,

Raju Bonagiri

Former Member
0 Kudos

Hi,

If you have tried the approach provided by Poojith and still getting the error, then try rebuild project, then close and open project.

Regards,

Manoj

former_member214651
Active Contributor
0 Kudos

Hi,

Are you trying to access the component controller's context from your view? check if you have added the component controller reference in the "properties" tab of the view.

Regards,

Poojith MV