[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-760207-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-760207-en":130,"doc-similar-760207":160},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","intro-to-javascript-in-revu-practical-interactivity-and-how-ai-can-help","Intro to JavaScript in Revu - Practical Interactivity and How AI Can Help","","Guide to using JavaScript in Bluebeam Revu to turn static PDFs into interactive, automated documents. Covers why JavaScript adds “smarts” such as buttons, shortcuts, and workflow improvements, with examples like photo insertion, automated bookmarks, and smarter approval stamps. Includes live demo focus areas, debugging techniques, and practical coding approaches such as regular expressions for pattern-based field selection and using the JavaScript console for rapid testing.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/intro-to-javascript-in-revu-practical-interactivity-and-how-ai-can-help/760207/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/intro-to-javascript-in-revu-practical-interactivity-and-how-ai-can-help/760207.png","ImageObject",300,407,{"name":42,"@type":43},"Noah","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-11-28",true,{"@type":52,"interactionType":53,"userInteractionCount":22},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is JavaScript in the context of Bluebeam Revu?","Question",{"text":62,"@type":63},"JavaScript is a lightweight, flexible coding language used to add interactivity and automation to PDFs, such as buttons and responsive actions.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Where can JavaScript be added in Revu?",{"text":67,"@type":63},"JavaScript can be added in Bluebeam Revu by attaching code to form fields within the Actions section of the field properties.",{"name":69,"@type":60,"acceptedAnswer":70},"How do regular expressions help when writing JavaScript for form fields?",{"text":71,"@type":63},"Regular expressions act like a pattern-based search filter, letting you capture groups of fields (for example, Amount fields) in a single line rather than typing each field name manually.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},760207,1795899016,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":22,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":33,"preview_urls":145},8796095462418,"https://ap-avatar.wpscdn.com/avatar/80000253c1241d02b47?x-image-process=image/resize,m_fixed,w_180,h_180&k=1778826106357471780","Intro to JavaScript in Revu  \nPractical Interactivity and How AI Can Help  \nGlynis DeMoneLiz Larsen  \n# A Tale of Two Coders\n\n© 2025 Bluebeam  \nAgenda  \n• What is JavaScript  \n• Why use JavaScript in Bluebeam Revu?  \n• Where to Add JavaScript in Revu  \n• Live demos: Creating interactive buttons with code and AI tools  \n• Techniques for Debugging Code  \n• Next steps, Resources, and Q&A  \n# What is JavaScript?\n\nJavaScript is a lightweight, flexible coding language.  \nTransforms something staticinto something that responds  \n- Add buttons  \n- Fill outfields automatically  \n- Respond to clicks  \nLearning to code is like  \nlearning a new language.  \n- Has its own vocabulary andgrammar  \n- Practice builds fluency  \nUse AI as your translator  \n- You don’t have to be fluent toget some simple interactivity inRevu  \n- You describe what you want,and AI helps your write the code  \n© 2025 Bluebeam  \n# Why use JavaScript?\n\nJavaScript adds “smarts” to your PDFs — buttons, automation, and shortcuts.  \n## Examples you could build:\n\n• Field reports made easier  \n• Add a button that lets you insert a photo directly into the report.  \n• Reusing content  \n• Import pages from another PDF with one click (e.g. , safety sheets, cover pages) .  \n• Smarter form fields  \n• Auto-fill names, dates, or job numbers.  \n• Update all related fields at once instead of typing the same info repeatedly.  \n• Bookmarks that keep up  \n• Create or update bookmarks automatically when documents change.  \n• Consistent approvals  \n• Add approval stamps that calculate totals or fill in project info automatically.  \n© 2025 Bluebeam  \n# Resources\n\nImportant FREE resources to get you started:  \n• Bluebeam JavaScript documentation  \n•  https://support.bluebeam.com/developer/javascript/javascript.html  \n•  PDFscripting.com – lots of examples, some of them may be outdated  \n• Sublime Text or Notepad++  \n• Good free text editors that highlight your code to make it easier to read and format  \n•  FreeCodeCamp.org – learn JavaScript  \n• Course name: JavaScript Algorithms and Data Structures  \n• Necessary: Basic JavaScript, Basic Algorithm Scripting  \n• Optional: Regular Expressions, Intermediate Algorithm Scripting  \n• JavaScript Syntax Checker - jshint.com  \n• [Optional] Regular expression checker - regex101.com  \n• [Optional] JavaScript beautifier - beautifier.io  \n© 2025 Bluebeam  \n© 2025 Bluebeam  \n# Regular Expressions (regex)\n\nThe basics (for more attend Advanced JavaScript!)  \n• Regular expressions are just a formula for patternrecognition  \n• Think of it as a search filter on steroids: instead of onlylooking for exact matches, regex lets you describe ruleslike“starts with a number,”“contains a dash,”or “lookslike an email address.”  \n• In JavaScript inside Bluebeam,form fields often have systematicnames:  \nJob   1, Job   2, …CostCode  1, CostCode  2, …Amount   1, Amount   2, …  \n• If you want to grab all the Amountfields without typing them one byone, regex makes it one line.  \n# Writing JavaScript in the Console\n\nThe console is useful for trying out individual lines of code to see how they work  \n• Show JavaScript Console with keyboard shortcut CTRL+J.  \n• Run the code by hitting CTRL+ENTER.  \n• Code is applied immediately.  \n• Code is not saved within the document.  \n• Example: how to change the fill color  \n• this.getField(“Button1\") .fillColor = color.red;  \n• Other properties you can change or lookup:  \n• textColor , textSize, textFont, type, value , editable  \n• See documentation for additional information  \n© 2025 Bluebeam  \nCode Level  \nGlobal vs local  \n## Document Level (Global)\n\n• Executes when the document is opened or when called by local code  \n• Can pull external data into dropdown boxes  \n• Can change or manipulate other form fields  \n## Object Level (Local)\n\n• Attached to a specific form field  \n• Trigger is specified by the user in the form field settings (mouse up,mouse enter, etc …)  \n• Can change or manipulate other form fields  \n© 2025 Bluebeam  \n# Form ","cbCaiiJRsfpOdrcv","https://ap.wps.com/l/cbCaiiJRsfpOdrcv","pdf",1997338,26,"English","# A Tale of Two Coders\n# What is JavaScript?\n# Why use JavaScript?\n## Examples you could build:\n# Resources\n# Regular Expressions (regex)\n# Writing JavaScript in the Console\n## Document Level (Global)\n## Object Level (Local)\n# Form Field Basics","[{\"question\":\"What is JavaScript in the context of Bluebeam Revu?\",\"answer\":\"JavaScript is a lightweight, flexible coding language used to add interactivity and automation to PDFs, such as buttons and responsive actions.\"},{\"question\":\"Where can JavaScript be added in Revu?\",\"answer\":\"JavaScript can be added in Bluebeam Revu by attaching code to form fields within the Actions section of the field properties.\"},{\"question\":\"How do regular expressions help when writing JavaScript for form fields?\",\"answer\":\"Regular expressions act like a pattern-based search filter, letting you capture groups of fields (for example, Amount fields) in a single line rather than typing each field name manually.\"}]","Intro to JavaScript in Revu - Practical Interactivity and How AI Can Help | PDF",66,[146,150,153,157],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/f14a279c2eba6a524f308c0cfacb3e32.webp",983,552,{"page_no":26,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/b9ee132275a2ca4d2bd05eed0cfc3cb0.webp",982,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/3ccec535aab0ce03d614231107b26ea5.webp",981,551,{"page_no":33,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/c206092c08ff33890c5ffcc96db17ce7.webp",980,{"list":161,"token":11},[162,168,174,180,186,192,199,206,213,220],{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":115,"category_name":29,"create_tm":167},664111,"Bluebeam Revu 2016 - Basics Guide - Rev 1 - Page Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981800335/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=O%2BDXVi1A2FU7yLlNPZIOojKtz5Y%3D","bluebeam-revu-2016-basics-guide-rev-1-page-guide",1793239706,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":105,"category_name":29,"create_tm":173},688128,"THE REVU TOOL KIT - Helpful Tips, Tricks & Shortcuts for Bluebeam Revu","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001268984/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=Fw7rsyBsphJnLVbiNZ1wrOZeGIo%3D","the-revu-tool-kit-helpful-tips-tricks-shortcuts-for-bluebeam-revu",1794086455,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":33,"category_name":29,"create_tm":179},688132,"Bluebeam Revu Default Keyboard Shortcuts Cheat Sheet - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001268988/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=Km2yE1YPuK6sQhPUkfg6V8f8cM0%3D","bluebeam-revu-default-keyboard-shortcuts-cheat-sheet-quick-reference",1794086464,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":30,"category_name":29,"create_tm":185},688139,"Revu iPad - v 3.8 - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001269002/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=C8NMD0uhIzJD1gOsSVzsrjk2T4M%3D","revu-ipad-v-38-user-guide",1794086476,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":96,"category_name":29,"create_tm":191},663730,"Bluebeam and ESTmep - How to Use Revu for Spec Review, Takeoff Cleaning, and Data Search","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981631327/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=K1FXpFoVSX1esmLjgHdVw6wya3g%3D","bluebeam-and-estmep-how-to-use-revu-for-spec-review-takeoff-cleaning-and-data-search",1793230698,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":29,"create_tm":198},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=17egVcJsgu74fD8Ut09Rma%2FauCg%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",913,1785472614,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":29,"create_tm":205},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=%2BHag3LLU9Bhzuk6RGFHL5j0%2FyBc%3D","xnx-universal-transmitter-installation-manual",855,1776135954,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":29,"create_tm":212},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=2usywsySlg9Ch%2FW8wBKZIBxgxms%3D","the-candlestick-trading-bible-trading-guide",804,1789767270,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":29,"create_tm":219},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=xKq6mP9cLzR5Yik%2B%2FuOfLe5acZg%3D","free-fire-proxy-server",565,1776135932,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":29,"create_tm":226},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=9oJ%2FCTxdZ5IZR7kG4iSQY1xL5OE%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",498,1786012506]