My Stuff
Comments
-
Support has marked this a defect. Of course :P
-
Does giving your restlet login role the Web Services Only check work for you? I haven't tried it yet but I was thinking about it for when we get our plus license.
-
Hey Joe, I would like to have that object. Can you email with it? If you still have my email.
-
I haven't tried this yet but I would like to. It would solve some of our issues in our support department. I am currently setting an initial response time client side to respect the users time zone and unless the case gets saved immediately this number may not be accurate.
-
Hi Corey. My approach is very VERY primitive. It's simply JSON containing timezone key such as EST, PST and subtraction values from EST perspective. For example EST:0, PST:-3 and so forth. This only works for non-day light savings. I'm still struggling with how to do dynamic. Ah, I was hoping you had made an exhaustive…
-
We've tried to hack that several times but no luck. I don't think NetSuite will be giving us the key for the hash. It would make it easier to customize customer specific things like communication preferences....
-
Try nlapiCreateFile and save it to a PLAINTEXT type. There are all sorts of online XML validators you can use. Since it's only happening on random files and the rest of the xml var looks good just save the strName to a file and validate that. I think Lorne is probably correct, though in that you might have a some value…
-
My suggestion would be to save your generated xml string out to a file and validate it. I bet your getting some parsing wackiness.
-
For my own curiosity will you post back what you find? It's an interesting question.
-
Or you could check for the existence of the Ext object and if not found load a copy from the file cabinet. But yeah, what Olivier said. I am waiting for NS to upgrade to the ExtJS 4 and above. There is some neat MVC stuff they are doing and Sencha Designer works very well. Too expensive to buy without it being useful for…
-
You can make calls to the ExtJS that is already included. I have successfully made some little apps in Portlets using it. The version NS uses is 3.3.1.
-
Just inspecting a small Suitelet I have and it's not showing Ext as included. Are you sure it is there in your Suitelet? If you created a form on a Suitelet and showed the navbar then you would have access to Ext, otherwise I don't think it's there. Which would explain your undefined error.
-
I'm not sure if this is exactly related to this thread, but I'll post here because I think what I want to do might be chaining user event scripts. I'd like to do the following: During an after submit user event for cases, there are some situations where I want to create a sales opportunity. I was thinking of then using an…
-
Evan is right. Workflows make it easy to create a project. I am using a series of workflows and WF Actions Scripts to track information between proposals in NetSuite and Projects in OpenAir. I create a new project (in NS) on save of a new proposal and use that project as a data shuttle to OA. If you plan on doing anything…
-
I am not sure. I have only used it for seeing if an employee is a member. If I had to guess I would think that it would.
-
Hi, Does any know how I could return all the contacts (ids) that have been assigned to a Target Group of a specific campaign? There seems to be nothing in the Record Browser about Groups. There isn't a lot of info but it (group) is exposed to scripting. I use this search to check if a given employee is in a group: //…
-
I'm not sure about %'s; I was using set widths, most of the time. I was also using tables, because it seemed easier for the column layout, but BFO has support for div's and, I believe most of CSS 2, so you should be able set whatever you need. You will have to play around with it, though. They (BFO) mention in their docs…
-
Sorry to hijack this thread, but I wasn't aware you can script to pdf. Can someone point in the right direction on which nlapi functions to use or provide me with sample scripts? Thanks, Ken Do a search for nlapiXMLToPDF and you will find posts about it. Also read the BFO documentation. This is the back end engine used to…
-
Are you using the API function (nlapiXMLToPDF)to create a PDF? If so, you can try using the attributes page-break-[inside/before/after] = "avoid" in your XML to force elements (tables/div/p) to play together, but I think that the BFO tool is defaulted to continuing elements on multiple pages. If you are talking about the…
-
Possibly. We were trying to move our web services licenses away from having the admin role but we ran into a roadblock with another restlet, also calling issues. I can revert it back to 3 and see.
-
I am getting the same error when trying to update an issue from a restlet. Did you ever get a resolution to this?
-
And, if you have an Authorization header, remove it completely. I believe the JSESSIONID in the Cookie header you set is used to identify the account information. If you specify an Authorization header, this triggers the invalid host error. This would have been nice to know.
-
Hi Andy, I really hope that Netsuite will give us more flexible CRMSDK fields and or support to use a good WYSIWYG editor I will second that. Especially the editor. I would really love an editor that I could paste screenshots into and have it work correctly.
-
A bit off topic, but the best IDE for javascript is JetBrains WebStorm, hands down. It is so much better than anything else I've been tempted to write a NetSuite file upload/download plugin for it. Post back if you do. I'd be interested.
-
What was the one deal breaking issue for you?
-
It's called cross site scripting and it is a browser restriction (all browsers). You cannot make an AJAX call to a different domain. See my post above on how NS could allow for it. If you were say, developing a mobile HTML/JS app, and you wanted to test the call in a regular browser you could use Chrome and disable the web…
-
I had to go to Project -> clean to have it pick up the ignore list. Check this post.
-
Instead of making a Suitelet to call a RESTlet, I would just make another Suitelet to grab the data. It's a pain, I know. I have talked with Elham and others at SuiteWorld about it. Kinda limits what you can do with RESTlets, other than call them from code behind.
-
Cross domain AJAX calls to Restlets most definitely do not work. You can use JSONP with a Suitelet. NetSuite could make browsers accept cross domain AJAX calls: see Access-Control-Allow-Origin. If they enabled forms. and system. then you could at least call them in a Portlet or a Suitelet. Still, unless you are building a…
-
I have a few questions: [LIST=1] [*]"then rebuilt the repository with Subclipse" - I'm not 100% clear on what you mean here and as I'm sure you've experienced at least once, a botched restructuring of SVN can wreak havoc so I don't want to misunderstand what you are saying. Are you saying that you pulled down the project…