-
I am writing a web admin function for my data sync operations, and found that for the remoteOrchestrator.GetScopeInfoClientAsync(), if I just pass the cliend id (GUID) to the function, it will return me the null result, even if I pass the id and the scope name, it still returned me the null result.
the GetScopeInfoClientAsync() only works if I provide the syncParameters along with the client id, scope name, like this:
Would like to know if the only way to get the specific ScopeInfoClient is to get all the clients with GetAllScopeInfoClientsAsync() and then use the id to filter the list and get the fist matched result? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
remoteOrchestrator.GetAllScopeInfoClientsAsync()
is the best way to get all scopes and then you can filter them depending on your needs