FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
12-13-2023 07:58 AM
Hello experts, I am tring to subscribe to Datalayer nodes with angular. I have see the how-to article https://developer.community.boschrexroth.com/t5/Store-and-How-to/How-to-subscribe-to-nodes-of-the-ct..., is there anyone knows how to subscribe and get the data from datalayer with in angular? thanks
Solved! Go to Solution.
12-13-2023 11:25 AM
Hi @Davidchen
We don't have an angular example which shows you how to do that. But what you would do is, you would use a httpClient in Angular (see Angular - HttpClient) and interact with this client with the REST API of the Data Layer (see: REST API Description of the Data Layer). How you can create a Subscription to a Data Layer node via the REST API you can see in the How-To you mentioned.
Best regards,
Nick
12-20-2023 01:51 PM - edited 09-12-2024 01:07 PM