Shortens URLs in given text using selected URL shortener. Throws an exception if shortener is not available for the given site.
            
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- text
 - Type: 
System String
Text in that all URLs will be shortened. 
- shortener
 - Type: CMS.SocialMarketing URLShortenerTypeEnum
Shortener that will be used for shortening. 
- siteIdentifier
 - Type: CMS.DataEngine SiteInfoIdentifier
Determines which site's URL shortener settings are used. Provide null to use global settings. 
Return Value
Type:Text with shortened URLs.
Exceptions
| Exception | Condition | 
|---|---|
| Shortener is not available for the given site. | 
See Also