My Stuff
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
Comments
-
You can place a beforeLoad function that captures the 'print' action and nlapiRequestURL() of a suitelet that uses xml to pdf to render your page. Note to self: RTFM
-
Ok. Next Question. I have my function built out, but I am stuck again. In the help file it says to do this: // set content type, file name, and content-disposition (inline means display in browser) response.setContentType('PDF','Pricing List.pdf', 'inline'); // write response to the client response.write (file.getValue()…
-
How do you capture the 'print' action?
-
If you are calling your restlet from a browser then you should probably be using a suitelet instead. You can POST to another domain only if you are posting the whole page -- you can't cross domain POST as any sort of XMLHttp call. Try using $.getJSON to make cross domain calls as GET requests and check out using JSONP as…
-
Well, I was playing around with using the JIRA SDK and when/if I build an integration for us I would definitely wouldn't be calling a restlet from client code (for that application). I was trying to build a plugin and just call an already working restlet as a proof of concept and ended up spending a lot of time figuring…
-
Thanks, I appreciate it.
-
I am interested in knowing how you plan on building the client access part of this; I want to do the same. Are you just sticking with iPhone or are you going to deploy across multiple mobile os's.
-
Sometimes, I feel like a complete idiot. Thanks Olivier, that is super easy.
-
You can set the restlet to run as admin.
-
We use one on our customer facing site built in DNN and it is working like a charm. I can only get them working with server side code, however. So much for the HTML JavaScript revolution.
-
Actually, switching to Firefox, I was able to get the response from the server. What I was getting was the HTML for the error page in NS that states 'You are not allowed to navigate directly to this page.' Setting the Suitelet to released worked.
-
Yeah, I see what you are saying, and that would be fine, I guess. Seems limiting, though.
-
The first is always the whole match and the subsequent ones are any capturing groups. HTH Is that a feature of the replace function or, if anonymous functions are in a parameter list, is the previous parameter always passed into the function? I have been wanting that book and Crockford's for a while. I guess it's time for…
-
Hmm, that might be something to look into. I hadn't thought about Google API. Is it possible to load Google scripts in a custom workflow action? I bet I could if I downloaded it and stored it in the document library. I might play around with that if I get a chance. Still, I would rather use inherent NS capabilities. I…
-
I ordered both book last Friday. Thanks again for your help.
-
That's a pretty slick script, Brett and your function addTranFields answers my earlier question about adding inline scripts with the comment. Ok, I get what the anonymous function is doing in the body.replace, but I don't get how. And, it is one of the mental blocks I have with JavaScript in general. Can you explain how…
-
Yes, but that is still just getting information on a record related to the main record. I would like to be able to pull any information in the system and sort of game the process and merge that information into my template.
-
I am glad to see an NS blogger. I know of only a couple and would really like to find others. Does anyone else know any besides the fine folks at ERP Guru? When I first started working with NS I was having a hard time finding resources. Of course, once I found this user group and started utilizing the online help most of…
-
Good resource for using nlapiXMLToPDF is the BFO User Guide. Page 17 talks about page breaks.
-
We are looking into this to see if it is easy to add. Enhancement 199234 tracks this request. I can't believe there are only two votes, including mine for this.
-
Lol V, I just refreshed the other screen and saw that someone else had voted. That was quick. Ok, only 200 more for some action :p I would like to hear back from Elham if it was easy or not.
-
I will look into that. Thank you.
-
I had thought that might be the case after I looked again at the URL for the suitelet and it had the same parameter. Thanks.
-
Brett, That is exactly what I was looking for and works perfectly. Thank you. Every corner I turn here in Netsuite land I realize there is more, much more that I don't know yet.
-
I guess what I am confused on is why would I create a dynamic group if I am just going to call on the saved search (that's in the dynamic group) from script? Seems like an extra step. Why wouldn't I just use the search? And, really, I could have done that at first, but what I really want is a static group of contacts that…
-
Ok, I voted on all the enhancements I found that concerned campaign subscriptions. It wouldn't be so bad if I had script access to the subscription sublist. It is frustrating trying to track and sync preferences through 3 or 4 places. We use NS for some emails and another company for others and a third for surveys. Then,…
-
I ended up creating a saved contact search and filtering on names. I can add a new name when I want to add to the search list. It's an inelegant hack but it works. I am doing my level best to keep from adding any more fields to contacts. It feels like when this product was rolled out here fields were just thrown at…
-
I am not sure I am following. If I call a saved search from script, what is the type I use? I have tried 'contact' and 'contact group'. The first returns no such saved search and the second is not a valid type.
-
We ended up doing it with web services as we were mainly looking to sync up preferences across our customer facing sites and services.
-
Turns out this is an enhancement. :( I can tell already that that response is going to be my bane.