Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Document Set URL too long

$
0
0

I have a farm solution that automatically creates a Document Set for users. In SP2010 it created a nice, compact URL, but now that I've refactored the code for 2013 the URLs it is creating are over 350 chars! Is there any way to shorten up this URL without third party tools?

Example URL 

2007 (224 char): http://sharepoint2010/sites/fraudTest/Investigations/Forms/FraudReporting%20-%20InvestigationDocs/docsethomepage.aspx?ID=2&List=b28305ee-f9ef-4433-909f-8d68642e3703&RootFolder=%2Fsites%2FfraudTest%2FInvestigations%2TestItem

2013 (357 char): http ://sp2013devlab/sites/fraud/Investigations/Forms/FraudReporting%20-%20InvestigationDocs/docsethomepage.aspx?ID=18&FolderCTID=0x0120D52000D589F197729F40F3B5B1D204F120C620009347A1D0A336BA43A37DA87E15DCE446&List=3e8d2387-886e-49ab-b954-e29ebfa864a7&RootFolder=%2Fsites%2Ffraud%2FInvestigations%2Fcxvbxcvb&RecSrc=%2Fsites%2Ffraud%2FInvestigations%2TestItem

Why does it have to include both the content type name and ID? This just seems ridiculous. 


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>