For example, if you go to a Document Library and click on the Actions Menu, you can see the Connect to Outlook option:
If you click on that option, it will generate a Uri that will be understood by the Outlook:
If, by any means, you need to create this Uri programmatically, no problem. It's just a simple Uri with some basic querystring parameters.
- stssync://sts/?ver=1.1&type=documents&cmd=add-folder&base-url=[URI WITH URL ENCODE]&list-url=[LIST URI WITH URL ENCODE]&guid=[DOCUMENT LIBRARY GUID WITH URL ENCODE]&site-name=[SITE NAME WITH URL ENCODING]&list-name=[LIBRARY NAME WITH URL ENCODING]
Example:
- stssync://sts/?ver=1.1&type=documents&cmd=add-folder&base-url=http%3A%2F%2Fmy.site.com%26list-url=%2FDocuments%2F&guid=%7Bb83d3dff-7d6e-41c1-83de-3e3c9a831f98%7D&site-name=My%20Site&list-name=Documents
Good Luck.
HD
No comments:
Post a Comment