![]() ![]() If a Genie Gave Me Three Wishes, I'd Use Them All to "Fix" Scope Upgrading From Express to Enterprise: What's Missing Improving Performance on Older Instances with Table Rotation JournalRedactor - Easily Redact or Delete Journal Entries in ServiceNow!Īdmin Duty Separation with a Single Account How to do Massive, Slow Database Operations Efficiently With Event-Driven Recursionīroken Queries & Query Business Rules in ServiceNow GlideFilter is Broken - Free Tool: “BetterGlideFilter”Īsynchronous onSubmit Catalog/Client Scripts in ServiceNow Outlook for Android Breaks Email Approvals (+Solution) Set Catalog Variables from URL Params (Free tool) Using Custom Search Engines in Chrome to Quickly Navigate ServiceNow Handling 'text/plain' and Other Unsupported Content Types in ServiceNow Scripted REST APIs Getting Help from the ServiceNow CommunityĬan ServiceNow Script Includes Use the "current" Variable? "Processors", SRAPIs, and How to Run a Script and Redirect a User From a URL in ServiceNowīetter ServiceNow Notifications (& Another FREE Tool!)ĭebugging Client & Catalog Client Scripts in ServiceNow Use Automated Tests to Validate "Guided Setup" Completion & Functionality. How to return a CSV file from a Scripted REST API (SRAPI) in ServiceNowĪdding a Guided Setup to Your ServiceNow Application How to Set or Change ServiceNow Application's Repository URL, Credentials, or SSH Key New tool: Get Latest Version of ServiceNow Docs Page How to Get and Parse ServiceNow Journal Entries as Strings/HTML addJoinQuery() & How to Query Records with Attachments in ServiceNowįree, Simple URL Shortener for ServiceNow Nerds (snc.guru) Your ACLs and Business Rules are Broken (Here's How to Fix Them)Ī Faster, More Efficient Client-side GlideRecord (Free tool!)Īnimated Loading Message & Collapsible Details on ServiceNow Form or Field (Client-side) If you find this as annoying as I do, open a HI ticket and let them know, or post your suggestion to fix it in the community.ĥ Ways to Check your ServiceNow Instance for DANGEROUS CODE in Less Than 5 minutes This is a rare and specific use-case, but if you’re trying to integrate between ServiceNow and something like Chargify’s webhooks for example, you won’t be able to do signature-based verification of those messages without the original message body in its original serialized characters. That’s a little bit annoying, but now that we know that, we know how to access the body of REST messages using the application/x-Unfortunately, there is no way (that I’ve yet been able to find) to access the exact, original text of the body of the message, which means that signature-based message verification would not be possible. In this case, ServiceNow treats the body of the message as though the data were URL/query parameters. Unfortunately, if we use the new RESTPlainTextUtil().getTextBody(request) method to get the contents of requests of this type, we will always get a blank string even when the request method is POST, and the body is not blank! There is another Content-type which triggers the error mentioned above: application/x-Service error: attempt to access request body is not allowed when request method is GET or DELETE So I created a file called 'getLatest.json' and uploaded it to an 'api' subfolder of my site.Special case: application/x-www-form-urlencoded I was able to create a button that could forward them to a specific link, but I want to create a script that will always forward them to the newest page. I decided that I would keep all of my blog posts on new pages and then create a landing page that would somehow determine the newest post and forward users there after they clicked an enter button or something like that. Upon sharing it with friends, I realized that when I would update it via FTP, it would be cached already by their browsers. I started a blog recently and coded it by hand.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |