[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-693081-105":59,"doc-detail-693081-en":130,"doc-similar-693081":182},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","scripting-developers-guide-about-this-scripting-developers-guide-scripting-and-search-conventions","Scripting Developer's Guide - About This Scripting Developer's Guide - Scripting and search conventions","","Guide for using the LineRate Scripting system, covering where scripts fit in the data path and how script execution and changes take effect. Provides best practices, guidance on common script errors, and methods for testing, debugging, and troubleshooting, including diagnosing abnormal behavior. Includes instructions for searching the guide effectively (relevance, operators, and term modifiers), plus conventions for commands, placeholders, optional options, and formatting symbols, notes, cautions, and tips.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/scripting-developers-guide-about-this-scripting-developers-guide-scripting-and-search-conventions/693081/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/scripting-developers-guide-about-this-scripting-developers-guide-scripting-and-search-conventions/693081.png","ImageObject",300,407,{"name":92,"@type":93},"Putri","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-27","2026-11-09",true,{"@type":102,"interactionType":103,"userInteractionCount":81},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Who is this guide intended for?","Question",{"text":112,"@type":113},"It is intended for experienced network administrators and network architects who understand the organization’s existing TCP/IP network and need to write scripts to customize how LineRate works.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the guide search determine relevance?",{"text":117,"@type":113},"Relevance is determined by a weighting algorithm using page title, content, tags, and attachments, then adjusted by page rating (thumb up/down) and how often users choose the page for similar searches.",{"name":119,"@type":110,"acceptedAnswer":120},"What conventions does the guide use for commands and placeholders?",{"text":121,"@type":113},"It uses monospaced bold for commands typed exactly as shown, angle-bracket placeholders for what you must type, square brackets for optional options, monospaced text for system output, and specific symbols for cautions, notes, and tips.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},693081,1794248372,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":81,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":44,"preview_urls":145},962085571259,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Scripting Developer's Guide  \n• Scripting Developer's Guide  \n• About This Scripting Developer's Guide  \n• Development Resources  \n• Creating Scripts  \n• Where Scripts Fit into the Data Path  \n• Understanding Script Execution  \n• When Script Changes Take Effect  \n• Best Practices  \n• Script Errors  \n• Testing, Debugging, and Troubleshooting Scripts  \n• Diagnosing Strange Script Behavior  \n• A Variable Is Unset That I Know I Set  \n• External Services Only Work Intermittently from a Script  \n• My Compression Streams Never Complete  \n• My Request Handler Is Only Called Sometimes  \n• My Script Can Only Forward New Requests Sometimes  \n• User Sessions Are Spuriously Deleted  \n• Managing Scripts Using the REST API  \nScripting Developer's Guide  \nOverview  \nThis guide describes the how to use the LineRate Scripting, best practices, debugging, and troubleshooting, as well as examples. This guide and the Scripting API Reference Guide describe the latest version of the LineRate Scripting, with current updates. Your version may be slightly different.  \nTo access the LineRate Scripting reference information for the version you are running, access this REST API node on your system:  \n[https://\u003Cip_address>:8443/doc/scripting/api](https://\u003Cip_address>:8443/doc/scripting/api)  \nContents  \nThe guide is broken into the following sections:  \n• About This Scripting Developer's Guide  \n• Development Resources  \n• Creating Scripts  \n• Where Scripts Fit into the Data Path  \n• Understanding Script Execution  \n• When Script Changes Take Effect  \n• Best Practices  \n• Testing, Debugging, and Troubleshooting Scripts  \n• Diagnosing Strange Script Behavior  \n• Managing Scripts Using the REST API  \n| About This Scripting Developer's Guide\u003Cbr>1. Overview\u003Cbr>2. Audience\u003Cbr>3. Conventions\u003Cbr>4. Searching the Guide\u003Cbr>4.1. Relevance Level\u003Cbr>4.2. Limiting a Search to Specific Tree\u003Cbr>4.3. Term Modifiers\u003Cbr>4.3.1. Wildcard Searches\u003Cbr>4.3.2. Fuzzy Searches\u003Cbr>4.3.3. Proximity Searches\u003Cbr>4.3.4. Boosting a Term\u003Cbr>4.4. Boolean Operators\u003Cbr>4.4.1. OR\u003Cbr>4.4.2. AND\u003Cbr>4.4.3. +\u003Cbr>4.4.4. NOT\u003Cbr>4.5. Grouping\u003Cbr>4.6. Escaping Special Characters\u003Cbr>5. Example IP Addresses\u003Cbr>6. Legal Notices\u003Cbr>6.1. Copyright\u003Cbr>6.2. Trademarks |\n| --- |\n| Overview\u003Cbr>This About page contains general information about this guide, including the audience, typographic conventions, and how to search the content. |\n\nAudience  \nThis guide is intended for experienced network administrators and network architects who understand your organization's existing TCP/IP network and who need to write scripts to customize how LineRate works in specific situations.  \nConventions  \nThis guide uses the following symbols and typographic conventions.  \n\n| Convention | Definition |\n| --- | --- |\n| Monospaced bold | Text in a monospaced bold font represents commands or other text that you type exactly as you see it. |\n| \u003Cangle\u003Cbr>brackets=\"brackets\"> | Text in a monospaced bold font inside angle brackets represents a placeholder that describes what you must type. |\n| [square brackets] | Text in a monospaced bold font inside square brackets represents an optional command or option. |\n| Monospaced | Text in a monospaced font represents output or results the system displays. |\n| Bold | Text in bold shows keys to press and items to select or click, such as menu items or buttons. |\n| | Shows the beginning of a procedure. |\n| Caution | Cautions contain critical information about configuring your system or data. |\n| Note | Notes contain important information that may affect how you install or configure your system. |\n| Tip | Tips contain best practices or useful information to help you when configuring your system. |\n| | Shows that the content is for advanced users. |\n\nSearching the Guide  \nThe search box at the top-right of each page lets you enter a term or phrase to search for. By default, the system searches all pages in the LineRate content. Searches are not case sensitive. By default, searches find plurals an","cbCairh6sCWkz19p","https://ap.wps.com/l/cbCairh6sCWkz19p","pdf",954920,83,"English","# About This Scripting Developer's Guide\n## Overview\n## Audience\n## Conventions\n## Searching the Guide\n## Relevance Level\n## Limiting a Search to Specific Tree\n## Term Modifiers\n## Boolean Operators","[{\"question\":\"Who is this guide intended for?\",\"answer\":\"It is intended for experienced network administrators and network architects who understand the organization’s existing TCP/IP network and need to write scripts to customize how LineRate works.\"},{\"question\":\"How does the guide search determine relevance?\",\"answer\":\"Relevance is determined by a weighting algorithm using page title, content, tags, and attachments, then adjusted by page rating (thumb up/down) and how often users choose the page for similar searches.\"},{\"question\":\"What conventions does the guide use for commands and placeholders?\",\"answer\":\"It uses monospaced bold for commands typed exactly as shown, angle-bracket placeholders for what you must type, square brackets for optional options, monospaced text for system output, and specific symbols for cautions, notes, and tips.\"}]","Scripting Developer's Guide - About This Scripting Developer's Guide - Scripting and search conventions | PDF",209,[146,150,154,158,162,166,170,174,178],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9bcfb27a6341cc7fa44f7b5ec607e3cc.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bfff5650e0a6f6aa57192a7e40babdac.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/78a28a6090d5809b93c6d7016311d6df.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/abaefa0af07f67e07042d2ddd6157c93.webp",980,1268,{"page_no":24,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/4310c6759ab1c560a313cdb7841fb91d.webp",979,1267,{"page_no":29,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7433115c7a4c4d38821899ceec17d547.webp",978,1265,{"page_no":34,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b5324e173a3c571a6ea91d1bbf09618b.webp",977,1264,{"page_no":39,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/cbe4a30a06a91f0eaa680c1975e1bd96.webp",976,1263,{"page_no":44,"url":179,"width":180,"height":181},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c39a43a9d40f65ed4bc1e858626adebc.webp",975,1261,{"list":183,"token":66},[184,191,197,203,209,215,221,227,233,239],{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":30,"create_tm":190},689083,"Scripting in Mechanical Guide - Release 2026 R1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000678733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=HyqEFHwBghJLi4gOmL4GtX%2F2rLI%3D","scripting-in-mechanical-guide-release-2026-r1",11,1794095514,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":81,"category_name":30,"create_tm":196},689075,"Scripting in Mechanical Guide - Release 2025 R1 - January 2025","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001504099/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=tIypbzz3iEpn8F74Dw1VxVEIBTI%3D","scripting-in-mechanical-guide-release-2025-r1-january-2025",1794095478,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":34,"category_name":30,"create_tm":202},699571,"BashGuide - About This Guide - Understanding Bash","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010750079/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=EgaTFW0z820YF1YniFesfzKUi7k%3D","bashguide-about-this-guide-understanding-bash",1794479404,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":81,"category_name":30,"create_tm":208},687515,"Identify for Microchip Debugging Environment for Microchip Reference Manual - read online free","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001261948/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=O8xTNEVM%2FeavLxrRYuixh6WOfEo%3D","identify-for-microchip-debugging-environment-for-microchip-reference-manual-read-online-free",1794083970,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":34,"category_name":30,"create_tm":214},687848,"AutomationInterface Configurator - DaVinci Configurator Development Documentation - Release Version Alignment 6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000651021/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=qKMpJkSazsWbdSMixCSB0HyDTJc%3D","automationinterface-configurator-davinci-configurator-development-documentation-release-version-alignment-6",1794085232,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":52,"category_name":30,"create_tm":220},686834,"Spyder Keyboard Shortcuts Editor - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001155105/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=GM0L17QyzGvAi9qDVzst67Zqp2s%3D","spyder-keyboard-shortcuts-editor-quick-reference",1794067076,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":81,"category_name":30,"create_tm":226},699569,"Take Control of the Mac Command Line with Terminal - 3rd Edition - Table of Contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011312561/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=kSnHYGtSIWw2hTxdL9E83vaMW7o%3D","take-control-of-the-mac-command-line-with-terminal-3rd-edition-table-of-contents",1794479400,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":19,"category_name":30,"create_tm":232},687723,"Photoshop Keyboard Shortcuts Guide - Must-Know Keyboard Shortcuts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000650342/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=E%2B0P9pzpOSbdJG%2FBhWNPqmV1wHU%3D","photoshop-keyboard-shortcuts-guide-must-know-keyboard-shortcuts",1794084797,{"doc_id":234,"doc_title":235,"file_type":137,"home_preview_img_url":236,"slug":237,"view_count":24,"category_name":30,"create_tm":238},687542,"Eclipse Shortcuts - Keyboard Shortcuts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262166/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=ZDTG2eR%2F0rmunu3jgvbZpqasYOw%3D","eclipse-shortcuts-keyboard-shortcuts",1794084048,{"doc_id":240,"doc_title":241,"file_type":137,"home_preview_img_url":242,"slug":243,"view_count":244,"category_name":30,"create_tm":245},348349,"Visual Studio Shortcuts 2021 - keyboard shortcuts guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911610966/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=Xl%2BLtB1ehsyf8KPitCdh1PEG4Cs%3D","visual-studio-shortcuts-2021-keyboard-shortcuts-guide",18,1790072538]