My Stuff
Comments
-
I'm aware of the Sandbox email restriction. I was testing this in a developer account, which to my understanding, should work like a production account? I guess the question is: Can I send an email from an external Suitelet with Suitescript 2.0? The email "To" is pulling an employee email address, if that matters.
-
I think that will work. Thanks for the help.
-
When you setup the Online Custom Form there is a tab for Set Up Workflow. You can try messing with the "Redirect to URL" field. Another option to explore is preventing the default submit on your webpage. I've done something similar with jQuery before but it was posting to a suitelet rather than an online form: [PHP]…
-
Yes I am posting directly to the external URL. Also tried submitting the deploy/script/h as post params.
-
Thanks for the advice but I'm using a suitelet. Basically, I'm trying to get all the custom fields on a record then group them by the subtab they are assigned to. Is there some hidden way to load a form using the form id and rectype id?
-
Thanks, it works with the time formatted to AM/PM. Submitted Case# 1691031.
-
Thanks Frédéric, I already went that route after Netsuite Support changed my case to an RFE.
-
Thanks, that worked. Doesn't look like I can pass the file across steps as part of a session object though.
-
Looks like you handle the event with the "jump" action: if (assistant.getLastStep().getName() == "fieldname" && (assistant.getLastAction() == "next" || assistant.getLastAction() == "jump" )) { doStuff(); }
-
Thanks, that works for me.
-
The verified field is on a custom record in Netsuite. The response from the phone call is actually a completely separate suitelet that updates Netsuite.
-
There are a number of moving pieces, 1 web form, 2 custom records and 4 suitelets. The end goal is to update a record based off the customer submission to the web form. A) Customer specific record B) Record that tells if the access code has been entered correctly C) The web form displays an access code via jquery, submits…
-
So apparently I should be able to get the necessary results using the name() function. However, these xpaths results in an unexpected error: name(child::node()) name(child::*)
-
Well...I figured out a way return the name of the Nodes returned from nlapSelectNodes but if anyone happens to see a better solution please let me know. Turns out node.nodeName returns the value of the name. Here is my function: function buildNodeNameArray(nodeOrXml,xpath){ var arrNodes = nlapiSelectNodes(nodeOrXml,xpath);…
-
I can check the response code from an nlapiRequestURL if using SuiteScript. I'm more wondering if there is a way specifically with ping/curl/wget outside of using suitescript. I tried messing with posting the necessary parameters in a wget and curl but it doesn't seem to work appropriately.
-
I have confirmed through the debugger that the javascript is setting the correct date/time in the variable. I have also confirmed that 'created' is in fact the correct filter. The record is actually a custom record. When I create a saved search and include the relative time the search works just fine. When I try the search…
-
From Netsuite Support: It is currently not possible to create a Saved Search for Saved Searches, but you can do a global search with keywords: search: <keywords>, but you cannot set a criteria to the global search. From Script you can do a global search using: nlapiSearchGlobal.
-
There is an example in the Help with nlapiSearchGlobal that should give you what you need: var searchresults = nlapiSearchGlobal( 'keyword' ); for ( var i = 0; i < searchresults.length; i++ ) { var searchresult = searchresults[ i ]; <strong>var record = searchresult.<span style="color:'"Red"'">getId</span>( );</strong>…
-
So now that we can search saved searches, is there a way to batch update 'owner'? And is there a way to do this through suitescript? For instance, whenever an employee is made inactive, change all searches they own to their supervisor?
-
It's an nlapiCreateForm() and I have an inlinehtml field with a lot of customization.
-
Thanks for the advice. Unfortunately I have already tried the random time generated stamp and it doesn't seem to be working. I've also confirmed that the no-cache header is appropriately set. The behavior seems to be limited to Netsuite as the caching works fine on other platforms. Anyone else ran into this before?
-
function copyImg(toImgId){ var fileToImg = nlapiLoadFile(toImgId); var fileImgName = fileToImg.getName(); var fileImgValue = fileToImg.getValue(); var newImgFile = nlapiCreateFile(fileImgName, 'PJPGIMAGE', fileImgValue); var imagesFolderId = idOfFolder; newImgFile.setFolder(imagesFolderId); var imgFileId =…
-
Scratch that. Was able to figure it out: var departmentName = nlapiLookupField('department', departmentId, 'name'); fldDepartment.setDefaultValue(departmentName);
-
I tried <%=getCurrentAttribute('customer','entityID','Guest')%> as it states in the Netsuite Help but it just returns a string "Guest". I'm assuming that getting the current viewer won't work because their is no login for the site.
-
You hit the nail on the head. Turns out I had an extra template.xml that was messing things up. I think I accidentally imported twice or something along those lines. I deleted the file and everything is good again.
-
Found what I was looking for in under Setting SuiteCloud IDE Code Template Preferences in Netsuite Help.
-
Scratch that, found the problem. The 3rd party form was missing a number of hidden values on the NetSuite form.
-
Looks like an html line break tag <br> works for help text but NOT for labels. Anyone found a way to do this?
-
I'm trying to right a scheduling tool that sends out outlook meeting invites. The sticky part is getting the .ics file headers correct. As far as I can tell, the Netsuite API will only allow the .ics as an attachment. So, I built a PHP script that will populate the .ics header appropriately. The problem is that I would…
-
Hello Frank, You can use suitelets to do this. There is a sample on our help documentation. Here is the LINK Thanks, Anyone have an updated link to the example documentation?