toolbar button to upload to Netsuite? (in Aptana Studio 3) - aptana

I have Aptana Studio 3, build: 3.0.9.201202141038
I'm using it to edit some Netsuite client scripts (javascript). The netsuite plugin lets me upload scripts to netsuite, which is great, but I have to right click on the filename in the project explorer, pick "Netsuite" and then "Upload"... too many clicks.
What I want is one button to stick on the toolbar that will do the upload. Is this customization possible? Not that I'm lazy but when debugging it becomes a pain to do so much right-clicking.

In Eclipse/Aptana, the "Project Explorer" can do this. If you select a project and/or file within that project, the "Upload" buttons are made available IF you have set up a remote connection to that project.
I am not certain if your uploads/pushes to Netsuite are via FTP but, if they are, just add your remote connection to the project. To do this, expand your project folder the project in the Project Explorer view and then right-click on the Connections icon to add a new (FTP) connection.Once this is setup, any file selected in the Project Explorer can be uploaded with a simply button click from this view.
Not sure if that is exactly what you want but, in the meantime, might get you closer to it!

Hit ctrl+shift+; and the file will save and upload.

Related

VS2012 not showing images uploaded by controller

I created a page for uploading images,it works good,but when I want to show that uploaded image in a view I can't.
My images are stored in Images/products/{product name}/
In view I wrote
#Foreach(var item in product.images){
<img src="~/images/products/{productname}/#item.name" />
}
//my name spell are correct
In debug src has correct value but doesn't show image,
But when I give an URL from content folder it shows that image,
Even in solution explorer. VS doesn't show uploaded images and created folders by controller codes,
you might need to add permission to Images/products{productName} folder.
Open IIS Manager
Click on the web site or application that serves the images
Click the "Basic Settings link on the right - take note of the App
Pool name and cancel that dialog.
Click on Application Pools in the server tree on left In the list of
app pools - note the identity for the app pool with the name you
noted in step 3
Now in Windows Explorer, you can right click the image folders,
choose properties, and click the click the security tab. Find the
user associated with the identity used by the app pool. If it's not
there then there's no permissions If it's there, click on it and
look in the permissions pane to make sure "Read" is checked (or write/modify or even full control if you need).
you will need to repeat the step if you add sub folder manually on the Images folder
It's a best practice to save image on Content file since it by default already have read access. or another way is you could save your file on App_Data or hosting the file on cloud (with time limit to show for better security).

Search inside sharepoint designer

I'm using SharePoint designer and trying to find the "search in files option" throw all SharePoint project, something like in visual studio "search and replace".
Is such simple option available in visual designer 2010?
That option is not available in Sharepoint Designer.
Search in files option searches on files in your file system.
Sharepoint designer runs on your computer but it extracts data from the server using web services no files are actually on your computer so that feature is obviously not implemented.
It could be implemented on the server side and provided as a service. But bear in mind that data is also not stored on the file system in sharepoint but in the database.
Luis answer is not correct, at least not for Sharepoint Designer 2013. Click on "Site Pages", choose any page, press control + f to bring up find. Sharepoint Designer 2013 will pull down all the files associated with your site and begin searching them. You will need appropriate permissions.
The "All Pages" option will search your entire SharePoint site. I don't recommend it, it can be quite time-consuming and give you a lot of false positives.
Unfortunately, the only way to search multiple files is brute force:
Close all open tabs.
In the Navigation Pane, open the folder you want to search (such as "Site Assets").
Right-click each file you want to search, and click "Edit in Advanced Mode".
Repeat for each folder.
Open the Find dialog.
Click "Open page(s)" under "Find where:"
Your search will include all open tabs.

How to manually set the "default download" file in a Sourceforge project?

When I update some files on my Sourceforge projects, the last uploaded file is always automatically offered on the download page as the "Looking for the latest version? Download..." and it becomes the default download from the project's front page.
My problem is that, on one project, there is the main source tarball but I also have some optional code components that I want to add to the site. Whenever I add such optional component they become the "latest verison" of my app.
Is there a way to force a file to become the "latest version" of the app so that it stays the default download on the main project page?
If the wrong file is linked to Download button, you can change it by:
Click Files
Browse through the folders until you find your preferred file
Click the "i" icon at the right of the file's entry in the table of files
In the pop-up window, under the Default download for: heading, click Select All
Press Save
Give it a few minutes, refresh your project page and check the link

Uploaded pictures not included in project

I have upload control on my asp.net page. I upload pictures in folder cars and they show in windows explorer when I open that folder (cars), but in Visual Sudio they act like they not include in project ( that is the reason why they don't show on image control which point to some of them. What did I make wrong ?
Uploading the images in the web application will never make any changes to your project. You will have to add them manually if you'll need them there. But generally these are pictures added by your user so the would just be in the file system - not really part of the solution, are they?
If you have choosen a webSITE then it will allow this, but not if a webPROJECT is selected.
I didn't find this on net, but I had two projects, and the one which was allowing me to show uploaded files was a website.
You have to click the refresh button at the top of the solution explorer in Visual Studio for it to show changes to the files.
You have to click Refresh button. Also ensure that "Show all files" icon is selected. And finally, you will have to right click on the files and select Include in Project. That way it would become part of your project.
If I may ask, what exactly are you trying to achieve in your application? The reason I ask is, if there is an upload happening in your application, you shouldn't need to include the files in your project to refer to it from code.

System.Data.Sqlconnection

in my application when i type sqlconnection it is not showing any intellisence, i added the namespace System.Data.Sqlclient not only sqlconnection even i am not getting Page calss can u help me.
actually i am sharing this application from my company server.
in our company previously there was .net 2.0 frame work when this project was developed(one year back).
yesterday our company installed 3.0 .net frame work is this any problem for previous project which are developed in 2.0 how can i go through this problem
You should check if your intellisense works at all first. You can try :-
1) Start your visual studio using the following :-
devenv.exe /resetskippkgs
2) Go to Tools > Option > Text Editor > All Languages . Make sure all the checkbox related to "Statement Completion" are "checked" (not just filled).
3) Close Visual Studio, delete the .suo (user option file) which is located at teh same directory as your solution file. Note that that file might be hidden. Open Visual Studio again and check for intellisense.
EDIT :- To see the hidden .suo file (or any other hidden files), follow below steps:-
1.Open My Computer.
2.From the Tools menu, choose Folder Options....
3.Click on the View tab in the Folder Options window.
4.In the Advanced settings: text area, locate the Hidden files and folders category.
Note: The Hidden files and folders category should be viewable at the bottom of the Advanced settings: text area without scrolling down. You'll see two options under the folder.
5.Choose the Show hidden files and folders radio button under the Hidden files and folders category.
6.Click OK at the bottom of the Folder Options window.

Resources