Hi everyone, I am the developer of a popular Chro...
# suitescript
m
Hi everyone, I am the developer of a popular Chrome Extension for NetSuite, and I am now developing a new project. The extension is a Chatbot for NetSuite that is intended to improve the Global Search. It allows, for example, to find a record by the Internal Id (the global search does not do it). In addition, it allows to return some additional fields and also other commands, such as SuiteAnswers, Record Browser, run a SuiteQL query, etc. Some examples of supported commands: "<record type> <internal id>" Ie: "customer 1000" Find customer with Internal Id 1000 "<record type> <internal id> <fields>" Ie: "supportcase 101579 title,casenumber" Find support case with internal id 101579 and returns the fields title and casenumber - separate fields by comma "script <script id>" Ie: "script customscript_test" Find script with id customscript_test "suiteanswers <text to search>" Ie: "suiteanswers suitescript 2" Go to SuiteAnswers and find specific text "recordbrowser <record type>" Ie: "recordbrowser salesorder" (Go to Record Browser for Sales Orders) "suiteql <suiteql command>" Ie: "suiteql SELECT customer.id, customer.entityid, customer.email FROM customer where email='test@gmail.com' (Run a SuiteQL instruction to return customers that have a specific email address) For other commands, it will internally run the native Global Search and return those results. This extension is secure, as everything runs entirely in the extension and does NOT send any data to a 3rd party server. Currently the extension only does keywords matching, but I am thinking to implement natural language processing in the future. The extension is published here: https://chrome.google.com/webstore/detail/netsuite-chatbot/bbkkcfgbicnedhnenepifpnbagcfaenh?hl=en&amp;authuser=0 If someone has a chance, I'd love to hear feedback (is this extension helpful?) and some ideas for improvements. :) Please ensure that this is a prototype to try some possibilities, so feel free to uninstall if that does not help. I am posting in this channel because I think at this point this would be more helpful for developers. Thank you!
d
Change?
m
It does not change any data. I will look at the manifest file and see how to keep as read only.
v
Hi Marcel. I have used your previous extensions and they are really good. I'm not sure if I am doing something wrong, but it doesn't actually open the record when I enter the following command
d
already using this, and it's great! I especially love the ability to lookup a script by it's script id! Saves heaps of time
@Vernita you should see an 'open' hyperlink in the chat bot's response like this:
@darrenhillconsulting, pretty straight forward source code, I've gone through it. it uses the activeTab, declarativeContent, and scripting permissions. Scripting permission is used (in this case) to inject the necessary chatbot functions that utilize SS1.0 (in browser) to search for records, etc. I'm certain it's the scripting permission that causes the 'can read or change' warning, as you could inject a multitude of things
if you wanted to have a read of the code, look for the extension id
bbkkcfgbicnedhnenepifpnbagcfaenh
in your extension folder (you'll need to put it through a formatter)
m
@David B I really appreciate your feedback! Thank you for reviewing the source code and let everybody know about that. I decided to make the code public, so it's available in my Github repository. I'm looking forward to other developers contributions and I am sure it has potential to be a helpful tool for the NetSuite community. 🙂 https://github.com/marcelpestana/NSChatbot
😲 1