Forum Discussion
I'm familiar with the app and have used it before. Unfortunately PIpelines still can't run the button. Pipelines can however make those same api calls and load to your app but it would all be rebuilt. I have used Pipelines for example to grab users and roles and load them as schema data internally as a comparable. The API calls that page makes though are all doable in Pipelines fetching the JSON response or QB will convert it's own XML to JSON for use in Pipelines so it's a lot of processing and work in Pipelines but can be done.
You could use a headless browser to click the button but that type of coding is much more difficult.
------------------------------
Chayce Duncan
------------------------------
Okay, that makes sense.
That's a cool idea! Are you able to showcase your pipeline grabbing users and roles so that I can view the structure and try to understand how it works?
------------------------------
QuickBase Administrator2
------------------------------
- ChayceDuncan4 months agoQrew Captain
So this is just an example of doing UserRoles to get individual access for each application. I have an app synced to the realm data to sync applications and the process in question loops through each app and processes the JSON response.
The UserRoles is part of the XML based API but Pipelines converts it over to a JSON format that is more readily accessible via Pipelines. The actual processing pipeline tries to put each user into a bulk upsert but in the event that a user has more than 1 role in a single app then I handle it differently with a jinja loop.
Again just one example but for the most part anything with the REST API will work well with Pipelines and then the HTTP API still works just requires a little more fanangling given the XML to JSON conversion that occurs.
I will add that the REST API for most schema related items is more than sufficient - the HTTP one is still just the only way I know to get the list of users and their role(s) specific to each app.
------------------------------
Chayce Duncan
------------------------------- QuickBaseAdmi104 months agoQrew Member
Thank you!
------------------------------
QuickBase Administrator2
------------------------------