Shortens all URLs in provided text.
Returns the same text with all URLs shortened by the specified shortener.
If shortener is URLShortenerTypeEnum.None, original inputText is returned.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- inputText
- Type: System String
Input text
- shortener
- Type: CMS.SocialMarketing URLShortenerTypeEnum
Shortener of your choice
- siteIdentifier
- Type: CMS.DataEngine SiteInfoIdentifier
Site name used to get URLShortener settings, since they are site-specific.
Return Value
Type: StringSee Also