Google App Maker - Creating a contract. Methods to use?

北慕城南 提交于 2019-12-21 22:42:29

问题


I am trying to make a contract in Google App Maker. This contract features text boxes for people to enter their names. The issue I ran into is that it's not enough to just add the person to a SQL database, but there needs to be solid digital evidence of the person signing the contract.

Using 'ctrl' + 'p' on the appmaker script messes up the formatting of the page.

I see that there is an appmaker sample of how to create a PDF, however, this just creates a new document and then adds text to it. There is a lot of text in the contract and it is specifically formatted, so typing that up in a Google Doc through javascript would take hours.

Does anyone with experience with appmaker know of an easier method? Or is the one I found really the best?


回答1:


Here is what I ended up doing...

  1. Create a template google document with a certain identifier {} in places where information must be loaded into (ex. name, address, phone number...)

  2. In appmaker, create a script which read the contract and filled out all the identifiers {} with the relevant information

  3. In appmaker, there run the command to turn a google document into a pdf

  4. In appmaker, email that pdf to the relevant person



来源:https://stackoverflow.com/questions/52919137/google-app-maker-creating-a-contract-methods-to-use

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!