Hi. I’m trying to invoke a custom method following documentation in https://www.radzen.com/documentation/custom-controller/ and I confused about where include the route to custom method. May be the example is not updated to actual version of Radzen?
We are using the data source url as root url in this article with /odata/ part removed. You can use your own pattern just make sure that the url is matching what is specified in the Root attribute of the custom controller.
// Import HttpClient and HttpParams which are needed to make HTTP calls.
import {HttpClient, HttpParams} from ‘@angular/common/http’;
// Import the environment to get the server URL
import {environment} from ‘…/…/environments/environment’;