Skip to content

legalesign/ls-document-viewer-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Sample HTML for Legalesign Document Viewer

The following is a simple use case for the COMPOSE mode of the Legalesign Document Viewer.

Setup

You'll need to generate an authentication token, a templateid and run the page through a service like (Live Server)[https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer].

Get Token

We suggest running the node code legalesign-graphql-tutorial or checking one of the samples in (https://apidocs.legalesign.com/docs/graphql/oauth2/setup/).

Get a Template ID

Sign into Legalesign Console (https://console.legalesign.com/) and upload a PDF to use as a template, edit the template and note the ID in the URL:

https://console.legalesign.com/template/XHBsMWRjNWJmMzUtNTVjZS0xMWYwLWJiYjUtMDZlNDc2YTA3NTY/edit

where XHBsMWRjNWJmMzUtNTVjZS0xMWYwLWJiYjUtMDZlNDc2YTA3NTY would be the template ID you need. If you're more familiar with the GraphQL API you can easily list the templates and their ids directly.

About

Example vanilla/javascript version of Document Viewer UI component.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages