Login
1
Binding
1.1. Force Chrome Headless PDF
1.2. Set MIME by code
1.3. SetCulture date og number format
1.4. Simple binding
1.5. Binding arrays
2
Date and time
2.1. Get todays date
2.2. Compare date field with todays date
3
For loops
3.1. Array examples
3.2. For Loop Examples
3.3. For loop (basic)
3.4. List folders (for)
3.5. Recursive function
4
Linking images and files
5
Custom API
5.1. Create custom API functions
5.2. Create custom JWT login
5.3. Send mail from API function
5.4. DIAGRAM - Static and dynamic sites.pdf
5.5. Auto reload page if cached and outdated
5.6. Calling external APIs
5.7. Sending SMS through BulkSMS gateway from Docly JS API
6
Files and folders
6.1. GetFiles and Folders - examples
6.2. Show document tags
6.3. Get extension of filename
6.4. Show file sizes with text and suffix
7
Security
8
String examples
8.1. Joining and splitting strings
9
Websites
9.1. Documentation integration example
9.2. Breadcrumb example
9.3. Sending forms by e-mail
9.4. Linking images and files in hash
9.5. Menu with active class (hash)
9.6. Using published folder search
9.7. Prevent Docly changing HREF and SRC
9.8. How to make JS and CSS bundles
9.9. Redirect to a page or site
9.10. Example of dynamic sitemap.xml file
9.11. Setting and adding meta tags to head
9.12. Request variables and edit links - example
9.13. Implementing caching in an API function
10
Data
10.1. Save data to Docly from API-function
10.2. Load data from other documents
10.3. Load data from Excel (XLSX)
10.4. Import data to Docly from Excel (XLSX)
Home
javascript examples
string examples
String examples
Joining and splitting strings
How to join text strings into one and split back to many strings.