Is there a way to automate a Notepad Document Creation ? like right now a single notepad document can be created at the same time, can multiple docs be generated at a time or there’s a workaround ?
Hi Shay, are you looking to generate multiple copies of the exact same document (i.e., using the same template and the same template inputs), or generate multiple documents with different contents (i.e., using the same template and different template inputs)?
Could you explain a bit more about your use case?
You could explore potential workarounds using:
- Automate - an application for setting up business automation. The Automate application allows users to define conditions and effects. Conditions are checked continuously, and effects are executed automatically when the specified conditions were met. For example, you may specify a time and send out weekly reports to a predefined list of recipients.
- You can explore creating a longer document using section generators in your template in place of multiple documents.
I have the same query and believe what Shay is asking:
- We have multiple notepad templates.
- We are a single object (or set of objects) that populate those templates.
From there we want to have a series of checkboxes (doc 1 / doc 2 / doc 3) to select which documents we want to create.
Finally a button click would generate one or more documents from templates 1/2/3 respectively based on what is checked.
From what I can tell, that is currently not available in native notepad / workshop functionality and I cannot yet find a way to create this function within Python / Typescript.
Would love to know if there is a workaround for this.
Hey @ianferre, you can explore a workaround using internal APIs for generating documents from Notepad templates. Since we don’t have any publicly supported APIs, I’m unable to provide any hints here, but roughly this involves poking around in the browser developer console to figure out these API endpoints as well as figuring out how to call the internal API from a function / webhook (similar to what is suggested in this thread).
I will strongly cavaet that Palantir does not endorse or support using these internal APIs. The only APIs that get versioned and which we make any guarantees about stability or not breaking are those in the Foundry API. So if you do proceed with this, make sure to keep it in mind; you won’t get any notice if the Notepad team decides to change the way these endpoints work or remove them entirely and you won’t get any support (except probably from other people here on the community) if you run into issues.