I'm working on a Visual Studio Add-in to edit files in SharePoint. From this Add-in I would like to be able to open SharePoint Designer with a specific SharePoint site.
Finding the application is no problem, its folder is in registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\SharePoint Designer\InstallRoot, and the application is called SPDesign.exe.
I could only find a command-line switch to open a page (see http://office.microsoft.com/en-us/sharepointdesigner/HA101487151033.aspx), not to open a site.
If I open a page like spdesign.exe /n http://myserver/pages/default.aspx, the page is opened with a name Untitled_1.aspx, and at the left side you don't see the site explorer.
Any ideas on how to automate the opening of a site, and if possible also the opening of a page in the site, with the site navigator on the left side and the actual page opened.
I think to open a site, you just pass in the URL of the site with with no switch.
spdesign.exe http://My_server/My_site
Related
When you browse a list of files in Sharepoint using IE and attempt to download the file, you get the option of opening it in read-only or edit mode. When you open the document, Office knows that the file exists in Sharepoint so when you save, it is updated in Sharepoint without the user having to re-upload the file.
I'd like to have this same functionality in a custom website. I have access to Sharepoint and the file list so I'm using the same URL that Sharepoint is to download the file but there's something else happening in Sharepoint that tells the computer to not download a copy of the file but to open it in Office from the Sharepoint URL.
Does anyone know how to mimic this same behavior so I can get a file to be opened in Office from Sharepoint to it can save directly back to Sharepoint?
The special thing about this, is the link:
It's not just http://example.com/document.docx . It's ms-word:ofe|u|http://example.com/document.docx .
Just add ms-word:ofe|u| in front of the link for letting the browser know to open the link with an other Application.
There are other strings for other links.
Open a OneNote-File with:
onenote:http://example.com/document.one
And Excel-Files with
ms-excel:ofv|u|http://example.com/document.xlsx
And just for fun a TeamSpeak Link:
ts3server://example.com
Create URL for MS Office 2010 (and higher) to:
open document in view mode:
ms-excel:ofv|u|http://server.com/path/filename.xlsx
open document in edit mode:
ms-excel:ofe|u|http://server.com/path/filename.xlsx
List of MS Office apps URL scheme names:
ms-word:
ms-powerpoint:
ms-excel:
ms-visio:
ms-access:
ms-project:
ms-publisher:
ms-spd:
ms-infopath:
MS has a good page with explanation:
MS Office Dev Center > Office URI Schemes
Not able to edit the home page of sharepoint2013 but we are able to edit all the site pages,
when trying to edit the home page it shows loading and not able to edit the page.Please advice.
Try to use Sharepoint designer (download from : http://www.microsoft.com/en-us/download/details.aspx?id=35491) then pointing at the home page file (could be at /sitepages/home.aspx if activate publishing site, or /pages/default.aspx if using default team site) then click Advanced Mode at ribbon.
Hope this help.
The page is checked out by another user - just check it in and discard the other users changes (or find that other user and get them to check it in). You'll then see the full edit mode.
i download sharepoint 2007 designer to my local machine, i want this to connect with sharepoint 2007 server which is on other machine. IS any one can help me how to start with it, i am new to share point.
Y i need this?
some in past build share point site using 2007. i am taking over this project, but i have no idea where to start.
help will be appreciated.
Thanks,
Try these:
1.
Open SharePoint Designer. Click Windows Start -> Programs -> Microsoft Office -> Microsoft Office SharePoint Designer.
2.
Click File in the menu near the top of the SharePoint Designer screen and select Open Site.
3.
Enter the URL of your SharePoint site in the Site name field near the bottom of the Open Site dialog box. Click the Open button.
4.
Choose your editing option. Depending on the configuration of your SharePoint site, you can choose to edit the live site, or edit a local copy and publish that copy to the server at a later time. Click the button next to your desired option and select OK.
5.
Enter your username and password if prompted and click OK.
SharePoint Designer is now connected with your SharePoint Server site.
Someone put a hyperlink to a document stored in SharePoint, in the All Links tab of a TFS task.
When I double click it, it opens up in a new browser tab in VS2010, then asks whether to download it ("Open/Save" dialog).
The result is that the file is downloaded and then opened as a local copy.
What I want to do is to open the document directly from the URL of the SharePoint site so editing will be done directly.
Is this possible?
Thanks!
I would asume that if you select "Open" that it would open off the sharepoint server. If this is not the case, then you would need to navigate to that document in Team Explorer or on the Sharepoint site and open it from there.
I would like to use Sharepoint Designer 2007 as an html editor. I have a web site with a lot of files in a folder on my hard drive. I do not want Sharepoint Designer to make a web site out of this. I just want to use Sharepoint Designer to edit the html files, locally.
If I ever make a mistake and click on a tool for Sites, such as summary or report, Sharepoint Designer will decide that my folder is now a web site. From that point on, Sharepoint Designer is painfully slow whenever I open a file contained in the folder that Sharepoint decided is my web site, instead of being instantaneous like it was before.
I can resolve this situation by renaming the folder containing my web site -- everything gets fast again. I can also fix it by uninstalling and reinstalling Sharepoint Designer. Neither of these is a good solution. Is there a place in Sharepoint Designer, or in application data or the registry that I can kill off the Sharepoint Designer web site that's associated with a folder on my hard drive?
I'm not certain this will fix your issues (as I can't easily recreate the situation you describe). But I do know where SharePoint Designer tucks away metadata about the websites you open and edit.
The next time SPD converts your folder to a web, shut down SPD and delete the contents of the following folders:
WebsiteCache:
XP: C:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\WebsiteCache
Vista/7: C:\Users\<username>\AppData\Local\Microsoft\WebsiteCache
There is one file in WebsiteCache you may wish to keep, which is Websites.xml. This contains the "shortcuts" you see when you go to File > Open Site...
Web Server Extensions:
XP: C:\Documents and Settings\<username>\Application Data\Microsoft\Web Server Extensions\Cache
Vista/7: C:\Users\<username>\AppData\Roaming\Microsoft\Web Server Extensions\Cache
Whenever SPD gets wonky about reporting which files are checked out/in, really slow to open, or just generally weird, we clean out these folders and things return to "normal".
Hope this helps!