how to find Sharepoint Guid of a list - sharepoint-2007

I am new to Sharepoint 2007 and I have done some google to find guid of a list which I want to use for outlook synchronization of my sharepoint project using stssync.
Can somebody please help me finding out guid of a list in sharepoint 2007.
Thanks in advance.

The simplest way is to go the list settings.
The id of the list will be in the url.
For example:
https://someserver/sites/somesite/_layouts/15/listedit.aspx?List=%7B263FE49C%2D7FB3%2D4247%2D93CD%2D4AAB9770EF97%7D
Extract the list argument:
%7B263FE49C%2D7FB3%2D4247%2D93CD%2D4AAB9770EF97%7D
And then url decode it:
{263FE49C-7FB3-4247-93CD-4AAB9770EF97}
That's easy, and works with all version of SharePoint (actually, no SP2007 to test, but I'm confident)

Tired of doing this in notepad, just paste URL into here:
List ID Calculator, View ID Calculator
http://www.surfpointtech.com/2013/10/14/sharepoint-list-id-and-view-id-calculator/

You can use Sharepoint Manager 2007 to find GUID via GUI
Download here http://spm.codeplex.com/releases/view/22762

Related

How to share the folder with ms word in ios?

I need to integrate work with ms office in my application. I use the article https://msdn.microsoft.com/EN-US/library/office/dn911482.aspx, but when you send a file to url, ms word can not access it :(
For send I use: canOpenUrl/openUrl. Url string is:
ms-word:ofe|u|/var/mobile/Containers/Data/Application/85D7E895-0F0D-4BBF-B83A-41122B6A73E4/Documents/documents/doc_0_148856.docx|p|app_ms_return|c|doc_148856
So I tried to implicitly and explicitly specify the protocol:
ms-word:ofe|u|file:///var/mobile/Containers/Data/Application/85D7E895-0F0D-4BBF-B83A-41122B6A73E4/Documents/documents/doc_0_148856.docx|p|app_ms_return|c|doc_148856
I think that MS Word does not have access to file, but I do not know how to give it to him :(
Help pls :)
P.S.
There may be some other solution for transmission of file in MS Word, in addition to opening up access?
This kind of integration only works with files hosted in SharePoint or OneDrive. From that URL:
You can enable users who are running Office on an iOS device to open
and edit files stored in SharePoint or OneDrive from any application (...)

Get the Id of Office365 for the file API from SharePoint REST API

I'm working on an iOS app using the Office365 iOS SDK.
I'm also using the SharePoint REST API to search for files in the Office 365 SharePoint/OneDrive files. The search call looks like this:
.../search/query?querytext='myQuery'&SelectProperties='UniqueId,Title,Path,Size,Author'
The search works fine and gives me results. Now I want to download files from the search results. For this I am using the Office iOS SDK. To download a file, I need the ID of the file, as described here: https://msdn.microsoft.com/office/office365/APi/files-rest-operations#FileoperationsDownloadafileREST
In the iOS SDK, there's this corresponding method:
spClient.getfiles().getById(fileID)
The problem is, how do I get this fileID from the search REST API? I tried UniqueID but that doesn't work. Is there any way to get this ID?
UniqueId isn't a property of a File/Folder object. Selecting Id will return what you want. For reference, here are the properties of a File/Folder object.
EDIT: Here's the request I made to test this. GET /_api/v1.0/me/files?$select=id,name,size HTTP/1.1. Without pasting the entire response, I'll say I got what's expected, an array of File/Folder items with the ID, name, and size properties. Please let me know if you need more help!

Umbraco Database Query

I want to add a property for a document type in Umbraco. After that, I want to add content using the newly edited document type. Finally, I want to edit the property value of the content and save it into the database. I want to do this using a SQL command in SQL Server Management Studio, given that I have installed Umbraco and I can access the Umbraco database.
You shouldn't do these things directly in the database with Umbraco. In fact, part of your requirements (adding content) wouldn't display on the front end if you did it in the database, as doing so would not fire the events needed to add your new content to the site XML cache.
Ideally you should be doing this in code, using the API. You don't mention which version of Umbraco you're using, so I'll assume the latest (7). That being the case, you ca use the various service APIs to accomplish your requirements. You'd use the ContentType Service to create your new Document Type, and the Content Service to add the content of your new type.
For more information, refer to the Umbraco services reference page: here
As Tim says it's not a good idea to do this with SQL, an alternative solution is to do it with a package. An Umbraco package contains an XML document, it is also possible there to make an adjustment in the XML (if the goal is a generated change)

How can I retrieve a uploaded file's direct URL?

Hellu
Everything is in the title. The user of my program can upload files to a SharePoint server, how can I provide him a link to open this file? Meaning, how can I get the URL to put in the link?
Thanks in advance.
Edit: Just to clarify, the File item I get after the upload only contains a ServerRelativeUrl propertie, which won't work for subsites.
Try:
System.Diagnostics.Process.Start("Your SharePoint Site here" +"/"+ "ServerRelativeUrl");

Export Sharepoint 2007 Custom List as RSS File

Here's our scenario:
We've created a sharepoint 2007 calendar on our intranet site
We want to run a daily job to export a subset of the events to an rss file
Another job will move the rss file to our public web site
We have some funny restrictions where we can't simply publish the rss feed to the public. We have to go this export route.
I'm not clear on how to accomplish step 2. Ideally, we wouldn't have to write a lot of custom code to accomplish this.
Thanks.
And the answer is - Use SQL Server Integration Services with the SharePoint List Source and Destination widget from CodePlex
Hope this helps someone else out there.

Resources