I've hit a bit of a conundrum. Using a script with Client Automation, I'm experiencing this behavior:
1. If I specify an entry ID or list of entry IDs in a Cloud system, I can generate pages on them with CAT if I set the window to be hidden in LaunchOptions
2. If the window is not hidden and it's an on prem system, it logs in no problem
3. If the window is not hidden and it's a cloud system, it opens the Client, puts in the credentials, but gets stuck at the login screen
4. If I run a search with the window hidden, I get "The remote procedure call failed. (0x800706BE)"
5. If I run a search with the window not hidden, it works fine
In short:
With the window hidden, I can't run a search but can generate pages on Cloud
With the window not hidden, I can run a search but only on-prem, as Cloud won't log in
My goal is to log into Cloud, run a search, and generate pages on the results
For code, you can reference this previous thread I posted
https://answers.laserfiche.com/questions/143253/LaunchSearch-CAT-Method-Results-Empty#repliestomain
The only difference is I'm using Cloud credentials instead of on-prem and toggling HiddenWindow = true on my LaunchOptions
Is there something I'm missing?