Forum Discussion
- ArchiveUserQrew CaptainI'm not really sure how much faster you could get than pressing a single button.
- ArshadKhwajaQrew CommanderWe have hundreds of projects and need some tasks created quickly than having to ask users. Hence the question.
- ArchiveUserQrew CaptainYou might be able to do something with a new project triggers a webhook that calls the API_RunImport call to activate a table to table import, but I'd have to know a lot more about what you're trying to do to be any more specific.
- _anomDiebolt_Qrew EliteI am not sure you want a "quicker:" way to add child data or a way that has fewer navigation steps. But in any case it all boils down to where the data is coming from. Consider the variety of ways data could be used create child records:
(1) perhaps the child records are created using default data. Example: create 12 child records one for each month in the next year
(2) perhaps the child records are created using an input solicited from a dialog box. Example: display a dialog asking for the number of child records to create (and perhaps other user inputs)
(3) perhaps the child records are created based on a records in a related table used as a template. Example: create child records by copying records from a related table
(4) perhaps the child records are created by parsing a selected file. Example: invite the user to select a file, parse and transform the file's contents and they add the generated records to the child table.
(5) perhaps the child records are created by scraping a web page identified by URL. Example: grabbing prices, addresses or other data from an external web site.
(6) perhaps the child records are created by accessing and parsing data currently in the clipboard. Example, a user selects a table of data for a web site and pastes the data into a QuickBase form which parses and transforms the data before slotting the data into fields.
All of these scenarios are possible with script. So I would invite you to refine the source of the data and where you want it to land in QuickBasae. - QuickBaseCoachDQrew CaptainArshad,
If you have standard sets of tasks for projects, there are techniques to create a button to import the std Tasks. Or are you asking if the Tasks, like Tribbles, can be born pregnant? Ie born with children when the are first created. - ArshadKhwajaQrew CommanderThanks Dan. It is the item 3 that describes my situation. I have a template project and therein I have created 7 tasks in a related child table and I have established an import button. But from reporting point of view, we would like to set up all tasks in one hit. I hope this answers your query.
Thanks Mark. Pregnant records would be a great idea. But in my case all parent records are already there so retrospectively working on records may be a challenge. - QuickBaseCoachDQrew CaptainWell it is certainly possible to create a button to click to import a set of child task records. It is just a question of how the system will know which set of tasks to copy in, assuming that different project types or some other criteria defines which set of tasks to copy in as child record to the Project.
- DanLadner1Qrew TraineeIt sounds like Arshad already has the button in place (or knows how that works, at least), but doesn't want to click it hundreds of times...once for each Project.
I've come across similar issues--I've successfully set up a webhook to use API_CopyMasterDetail based on a single-record operation, and you can use API_ImportFromCSV to update multiple records, but I haven't figured out a way to combine them (so, updating a batch of records and having the CopyMasterDetail run for each one). - QuickBaseCoachDQrew CaptainI'm not a script writer, but I do have some code which will walk down a report of records and for example copy the value from one field into an other.
If that is Arshad's question, it should be theoretically possible to o have a report of Projects needing children, and run the script. The script would just toggle a checkbox field. My observation is that the script runs at only about 3 records per second, which is slow, but convenient in this case.
Then fire off a webhook to import the children triggered off that toggle field changing. The Webhooks are limited to 10 per second, but the script seems to only run at 3 per second so that should work.
. - ArshadKhwajaQrew CommanderThanks. This looks like a real solution if I may.